-
-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gaupol freezes when loading audio file (loading video ok!) #153
Comments
Yes, the Load Video feature is designed to load video, not audio. Given the current implementation, supporting audio sounds hard – it's probably more convenient to just pack the audio in a video container with some dummy video stream. What are you even doing? Do you not have video at all? If not, where are you going to display the subtitles? If yes, why would you make subtitles without seeing the video? |
No, I don't have video at all, I assumed that audio-only files could also have subtitles (selecting "All files" from the dropdown). I'm close to 100% sure that this worked fine when I did it with gaupol before, I just can't say which version it was, it was a different machine. If it's not supposed to work any more, that's fine too I guess, I can use a still frame as a workaround, as I wrote earlier. But if that's the case then I'd suggest that a suitable error message ("incorrect file type" or something) would be better than a freeze if the user selects a file of an unsupported type. |
I don't think audio files have ever worked, at least not intentionally. The "all files" option is for some obscure video formats that are not recognized as video, but will actually open, and also Windows, where the file type detection might not work at all. You're right about the error message, I'll look into that at some point. |
OK, that's great, thanks a lot for the very quick reply! |
Short version: Gaupol can load a video file but freezes when loading an audio file. Perhaps I'm just missing a required package?
This is on Debian Buster with Gnome using these packages:
How to reproduce:
Firstly get a valid video file (which Gaupol will be able to load ok), then convert this to mp3 (which Gaupol will fail to load properly):
wget https://download.blender.org/durian/trailer/sintel_trailer-480p.mp4
This gives a 4.2 MB video file looking like this:
VLC can of course play this video no problem.
Start gaupol from the command line, "File -> New", "Video -> Load Video" and select the downloaded file "sintel_trailer-480p.mp4". Video starts playing immediately. Great.
Close gaupol.
Convert this video file to mp3 using VLC's "Media -> Convert / Save", using the profile "Audio - MP3". This gives an 812 KB mp3 file "sintel_trailer.mp3". Again, VLC is able to play this mp3 audio file.
Start gaupol from the command line, "File -> New", "Video -> Load Video" and this time select the audio file "sintel_trailer.mp3". Gaupol appears to freeze, doesn't show video and doesn't respond to menu commands any more. "top" reports gaupol only using around 1% of CPU but the window doesn't respond. After some time a popup says "Gaupol is not responding" with two buttons, "Force Quit" or "Wait". Nothing is shown on the console apart from "Killed".
Workaround:
Converting the audio to ogg or aac makes no difference, the only workaround I've found is to use ffmpeg to convert the mp3 back into a video file using a still image, and then gaupol is able to load the video as before.
The text was updated successfully, but these errors were encountered: