[FFmpeg-devel] [PATCH] fix swf playback with bad audio track

Michael Niedermayer michaelni
Sun Sep 16 17:47:35 CEST 2007


On Sun, Sep 16, 2007 at 05:31:53PM +0200, Aurelien Jacobs wrote:
> > Now concerning the sample, it uses DEFINESOUND tag which is a block a
> > sound data, ie all mp3 frames are in one block, so demuxer must
> > interleave those frames with video frames. This is not supported atm.
> Second attached patch implement support for DEFINESOUND.
> Audio packetizing and interleaving is ugly, but at least it
> works for the sample mentioned in this tread.

what are you guys doing? dont tell me you split variable size mp3 packets
with the assumtation that they are not variable (CBR mp3 has variable sized
packets yes, they differ by +-1 byte to achive the exact bitrate)
and secondly which is more important, we have an AVParser which when
activated (see needs_parsing) will split the packets for you

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I hate to see young programmers poisoned by the kind of thinking
Ulrich Drepper puts forward since it is simply too narrow -- Roman Shaposhnik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070916/bc6ab899/attachment.pgp>

More information about the ffmpeg-devel mailing list