[Ffmpeg-devel] [PATCH] fix swf demuxing

Baptiste Coudurier baptiste.coudurier
Fri Jan 5 15:21:36 CET 2007


Michael Niedermayer wrote:
> Hi
> On Mon, Dec 18, 2006 at 12:32:13PM +0100, Baptiste Coudurier wrote:
>> Hi
>> This patch fix swf demuxing of ffmpeg own created files.
>> Don't skip too many bytes if tag is STREAMHEAD2 and mp3. Generic skip of
>>  non read bytes.
>> How to reproduce:
>> ffmpeg -i <file> test.swf, with mp3 audio and video track.
>> ffmpeg -i test.swf will only see mp3 track.
>> Cannot confirm if original bug is not reappearing since no broken file
>> was supplied, that fix seems generic though.
> the swf muxer is broken, the demuxer too ...
> a long time ago i tried to clean it up but was to lazy to finish, my half
> finished work (assuming i found the right patch) is attached (ill try to
> apply some parts of it, feel free to finish it in case i give up again if 
> you like), it also changes the code you change, but differently, dunno
> which solution is correcter ...

Ok, Applied all demuxer changes. Will check muxer changes.

Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312

More information about the ffmpeg-devel mailing list