Subject say it all. Looking at the source I found the problem, it's in "avidemux/ADM_audiodevice/ADM_deviceALSA.cpp" --> alsaAudioDevice::play() Basically it's writing to the output device but it doesn't handle partial writes correctly (did't advance the data buffer pointer, so it keeps writing old data). I've done the obvious fix and now it works perfectly. Patch attached, should be reported upstream since it's still in 2.4-preview1 (reported here to save me another Bugzilla subscription ;). Reproducible: Always
Created attachment 120195 [details, diff] Fix alsa output handling of partial writes
(In reply to comment #0) > > I've done the obvious fix and now it works perfectly. Well.. perfectly is a big word. After a little more testing it seems that there are still problems. Anyway it goes mush better with this patch. Opening a video and playing it works perfectly (while it doesn't before) but stopping/seeking/playing can still produce bad audio output. All this goes away with a different audio output (ARTS) so these problems are specific to ALSA output.
(In reply to comment #2) > All this goes away with a different audio output (ARTS) so these problems are > specific to ALSA output. I'm having the same problem but in my opinion it doesn't completely go away with ARTS but it's a bit better with ARTS than with ALSA.
Still a problem with avidemux-2.4_pre3?
(In reply to comment #4) > Still a problem with avidemux-2.4_pre3? > No, they fixed it :)