[Ffmpeg-devel] [PATCH] fix swf demuxing

Michael Niedermayer michaelni
Sun Mar 4 20:38:37 CET 2007


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

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is dangerous to be right in matters on which the established authorities
are wrong. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070304/66771f56/attachment.pgp>



More information about the ffmpeg-devel mailing list