[Ffmpeg-devel] [PATCH] fix swf demuxing

Baptiste Coudurier baptiste.coudurier
Sun Mar 4 23:32:03 CET 2007

Michael Niedermayer wrote:
> Hi
> On Sun, Mar 04, 2007 at 03:03:35PM +0100, Baptiste Coudurier wrote:
>> Hi
>> Baptiste Coudurier wrote:
>>> Hi
>>> 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.
>> Ok here is cleaner patch for swf muxer, only supports mp3 for now,
>> enc->frame_size is mandatory to mux correctly, and since swf needs mp3
>> frames packed to fit one video frame, it uses some fifo.
> looks ok


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