Bug 13763

Summary: After libav packages update, VLC cannot handle extended AC3 streams
Product: Mageia Reporter: René Poisson <poisson.rene>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Normal    
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:
Attachments: Vlc logs when problem occurs

Description René Poisson 2014-07-18 15:59:56 CEST
Created attachment 5299 [details]
Vlc logs when problem occurs

Description of problem:
After updating ffmpeg and libav packages, VLC is no longer able to handle E-AC3 streams.
In France, DTTV on HD channels is encoded in extented AC3 format, while Satellite HD channels use AC3. Streams captured on Sat are still readable while those captured on Terrestrial are now crashing VLC.

The problem occured after upgrading the following packages:
ffmpeg-2.3-1.mga5.tainted.x86_64              Thu 17 Jul 2014 11:25:09 PM CEST
lib64swscaler2-2.3-1.mga5.tainted.x86_64      Thu 17 Jul 2014 11:25:08 PM CEST
lib64avformat55-2.3-1.mga5.tainted.x86_64     Thu 17 Jul 2014 11:25:08 PM CEST
lib64avfilter4-2.3-1.mga5.tainted.x86_64      Thu 17 Jul 2014 11:25:08 PM CEST
lib64postproc52-2.3-1.mga5.tainted.x86_64     Thu 17 Jul 2014 11:25:07 PM CEST
lib64avcodec55-2.3-1.mga5.tainted.x86_64      Thu 17 Jul 2014 11:25:07 PM CEST
lib64swresample0-2.3-1.mga5.tainted.x86_64    Thu 17 Jul 2014 11:25:06 PM CEST
lib64avutil52-2.3-1.mga5.tainted.x86_64       Thu 17 Jul 2014 11:25:05 PM CEST


How reproducible:
Direct play of french DTTV HD channel form capture card crashes vlc
File reading of french DTTV HD capture crashes VLC (log included)

Steps to Reproduce:
1. start vlc from konsole in verbose mode 
2. Open capture device in VLC. 
3. Select HD DTTV channel
4. vlc crashes

Or 
1. start vlc from konsole in verbose mode 
2. Open HD DTTV channel capture file
3. vlc crashes

Two examples of 10s capture files will be included after bug submission (AC3 and E-AC3)
Comment 1 René Poisson 2014-07-18 16:13:21 CEST
The following drop box link contains an archive of two capture files, one with AC3 audio, the other with E-AC3 audio:

https://www.dropbox.com/s/23lmw5vru3816sa/streams.tar.xz
Comment 2 David Walser 2014-07-18 17:52:58 CEST
There's not likely to be much that we can do about this, unless it's worked around by the VLC developers or fixed in FFmpeg.  From what I understand, FFmpeg 2.3 is ABI compatible and shouldn't cause issues, but it sounds like it is (I suspect it's responsible for the gstreamer problems that have been discussed on the dev mailing list as well).

You could report it to FFmpeg (they have a trac bug tracker and also #ffmpeg on Freenode) and if that doesn't result in a favorable output, report it to VLC, if you want to speed up the process.
Comment 3 David Walser 2014-07-18 18:02:42 CEST
*Maybe* rebuilding VLC and gstreamer1.0-libav will help, but that would still indicate a problem in FFmpeg.  We can try it, though.
Comment 4 David Walser 2014-07-18 18:42:14 CEST
vlc-2.1.5-2.mga5 submitted for Cauldron.

Please let us know if it helps.
Comment 5 René Poisson 2014-07-19 01:39:34 CEST
Yeap, problem solved, I can read *AC3 audio.

Nice job. Thank you so much.
Comment 6 David Walser 2014-07-19 12:17:34 CEST
Thanks for the report!  I'll try rebuilding the gstreamer ffmpeg/libav packages too.

Status: NEW => RESOLVED
Resolution: (none) => FIXED