[Ffmpeg-devel] Interleaving audio and video

Roman Shaposhnik rvs
Thu Feb 1 05:10:28 CET 2007


While implementing an idea suggested by Michael for restructuring DV 
audio muxer I've come to realize that DV muxer currently expects a 
caller to take care of interleaving audio and video properly based
on PTS valued. Now we know that ffmpeg.c does it, but is it fair
to require that kind of behaviour in general of all users of 
libavformat ?

Or to put it differently, do I have to care about caller giving 
me the following pattern of DV audio/video packets:

   video1, video2, audio1, audio2

or even worse:
   
   video1, audio2, video2, audio1

Thanks,
Roman.





More information about the ffmpeg-devel mailing list