News:

--

Main Menu

Trouble with WMAPRO audio

Started by John Hagan, March 17, 2019, 09:31:05 PM

Previous topic - Next topic

John Hagan

Here's a link to a short test WMV file with WMAPRO audio that plays with no sound in Avidemux 2.7.2 - Release:

https://1drv.ms/u/s!AtRWanx5i6MM9xLRCtti5CzaVbdu

I've also noticed on larger / longer WMV files employing WMAPRO audio that, although they scrub perfectly, when pressing play from any position, Avidemux freezes until forced close. If before attempting to play the same file, all WMAPRO audio tracks are first unchecked (that is, not enabled), the file can be scrubbed and played normally (although without any audio, of course).

eumagga0x2a

#1
Thank you very much for the sample, now it might be possible to develop a fix. The freeze is a self-DOS due to enormous amount of debug output which is written to the Avidemux log when decoding of audio packets by the internal libavcodec fails (one line PER BYTE).

eumagga0x2a

Please give 2.7.3 a try with WMAPRO audio.

John Hagan

Looks--and more importantly, sounds--great! Every test file I throw at 2.7.3 with WMAPRO plays correctly.

Thanks!

eumagga0x2a

Glad that it helped. Moving from the old libavcodec decoding API to avcodec_send_packet / avcodec_receive_frame was the key to success.