Maybe as fallout from recent vorbis-related commits, the sound in the webm video https://www.youtube.com/watch?v=2-QbUQUaB24 (https://www.youtube.com/watch?v=2-QbUQUaB24) with format code 43 has become garbled on playback. ffprobe reports for the file:
Input #0, matroska,webm, from 'a_dog_and_a_parrot.webm':
Metadata:
encoder : google
Duration: 00:00:24.50, start: 0.000000, bitrate: 900 kb/s
Stream #0:0: Video: vp8, yuv420p, 480x360, SAR 1:1 DAR 4:3, 30 fps, 30 tbr, 1k tbn, 1k tbc (default)
Stream #0:1: Audio: vorbis, 44100 Hz, mono, fltp (default)
Works ok here, but i have a stereo sound track
?
Yeah, Google has ruined the testcase... I used this video retrieved four years ago with mono. Trying to identify the first bad commit now.
The first bad commit is [lavcodec/audio] Enable vorbis decoder (https://github.com/mean00/avidemux2/commit/4841380a932af84b57be96d47c21de8ea0a9c2d8).
I attach the first 100K of the audio track demonstrating the issue.
Here comes the second chunk...
...and the last one.
A better, minimal test case. The sound should be silent, but is garbled noise in Avidemux. ffprobe reports:
Input #0, matroska,webm, from 'frame800x640-with-mono-sound.mkv':
Metadata:
ENCODER : Lavf57.25.100
Duration: 00:00:05.16, start: 0.000000, bitrate: 62 kb/s
Stream #0:0: Video: h264 (High), yuv420p, 800x640, SAR 1:1 DAR 5:4, 25 fps, 25 tbr, 1k tbn, 50 tbc (default)
Metadata:
ENCODER : Lavc57.24.102 libx264
DURATION : 00:00:05.163000000
Stream #0:1: Audio: vorbis, 48000 Hz, mono, fltp (default)
Metadata:
ENCODER : Lavc57.24.102 libvorbis
DURATION : 00:00:05.007000000
If you delete the ad_lav_xxx.so, it will pick up the libvorbis one
Is the sound ok with the libvorbis one ?
ok, can reproduce i think
thanks
Quote from: mean on October 19, 2016, 07:39:47 PM
If you delete the ad_lav_xxx.so, it will pick up the libvorbis one
Is the sound ok with the libvorbis one ?
Yes, it works fine with libADM_ad_lav.so moved.
Should work now
Confirming fixed by [AudioDecoder/ff] Fix decoding to float (obvious for mono streams) (https://github.com/mean00/avidemux2/commit/86da6684f4c3340a90f434e77da046058f70d142), thanks! Do we have everything for a release then, a couple of editor bits and regeneration of .ts files + a couple of translations outstanding?
Some sierra + win32 stuff
Thanks, I just mind the looming release of Fedora 25 in 2 or 3 weeks (if they delay), it would be nice to bring the rpmfusion.org Avidemux package maintainers off the old 2.6.12 release with Qt4 in time for Fedora 25 release.