[Ffmpeg-devel] Interleaving audio and video
Baptiste Coudurier
baptiste.coudurier
Sun Feb 4 14:24:09 CET 2007
Michael Niedermayer wrote:
> Hi
>
> On Sat, Feb 03, 2007 at 09:57:19PM -0800, Roman Shaposhnik wrote:
> [...]
>> So, where I was driving at was a sort of solution where somehow
>> muxers like DV and GXF would *mandate* usage of
>> av_interleaved_write_frame().
>>
>> An alternative (at least for DV and GXF) would be an actual
>> packetizer.
>
> both rejected, the muxer can if it likes, check if the packets are
> correctly interleaved and sized but it cannot insist on redundant
> repacking to be performed
>
> also we can add a flag to indicate if standard dts ordering is
> sufficient if you like ...
Actually GXF muxer should work if packet containing 65536 samples
and correct dts are supplied, though Im concerned about the mandatory
aspect.
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.
--
Baptiste COUDURIER GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A. http://www.smartjog.com
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312
More information about the ffmpeg-devel
mailing list