[Ffmpeg-devel] Interleaving audio and video

Michael Niedermayer michaelni
Sun Feb 4 22:40:29 CET 2007


Hi

On Sun, Feb 04, 2007 at 12:53:54PM -0800, Roman Shaposhnik wrote:
> Hi
> 
> On Sun, 2007-02-04 at 10:42 +0100, Michael Niedermayer wrote:
> > >   As I pointed out in my previous email -- it seems that the 
> > > current implementation of the GXF would generate incorrect results 
> > > if av_write_frame() gets used. Even for the incoming stream of 
> > > packets with the perfect interleave.
> > > 
> > >   I think we should fix this. Your thoughts ?
> > 
> > either allow interleave_packet() to repack PCM packets or change the gxf
> > muxer to not repack them in interleave_packet()
> 
>   Here I don't quite follow. The problem in my opinion is to make 
> client use interleave_packet() in the first place. Of course

NO! of course not, if the client needs interleave_packet then it MUST
call av_interleaved_write_frame() that is the purpose of the function
you remove the possibility of muxing correcly interleaved packets with
low delay and no memcpy and duplicate the existing interleaving system,
please read the code it seems you dont understand it at all, what you 
propose makes no sense

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

Breaking DRM is a little like attempting to break through a door even
though the window is wide open and the only thing in the house is a bunch
of things you dont want and which you would get tomorrow for free anyway
-------------- 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/20070204/6f726d44/attachment.pgp>



More information about the ffmpeg-devel mailing list