[Ffmpeg-devel] Interleaving audio and video

Roman Shaposhnik rvs
Sun Feb 4 23:35:22 CET 2007


On Sun, 2007-02-04 at 22:46 +0100, Michael Niedermayer wrote:
> Hi
> 
> On Sun, Feb 04, 2007 at 12:37:57PM -0800, Roman Shaposhnik wrote:
> > On Sun, 2007-02-04 at 14:24 +0100, Baptiste Coudurier wrote:
> > > Now Im thinking that PES packetizer should be made generic to get a
> > > correct TS muxer, and maybe having some sort of mechanism could be
> > > usefull, and IIRC h264 in TS (PS ?) needs strict packetization, maybe
> > > vc-1 will too, and it could avoid bloating TS muxer with special cases.
> > 
> >   It would be good to do that. But it seems that in his previous reply
> > Michael didn't like the idea of a generic packetizer. Or did I
> > misunderstand him ?
> 
> common code between MPEG-PS and TS should of course be shared
> but missusing interleave_packet() is not acceptable

  Hm. In that case personally I don't know of any place I would
logically extract this code to. So unless you or Baptiste can
take a lead on figuring this out, I guess I would have
to keep all of the packetizer code in dvenc.c. I actually
have what seems to be a reasonable patch for it to get
rid of Fifo and make code faster. Its just that it'll be
premature to commit it if we can agree on a common place
for such code to be in for all the muxers that require it.
All in all, I think I'll wait a couple of days.

Thanks,
Roman.





More information about the ffmpeg-devel mailing list