[Ffmpeg-devel] How to calculate a packet's duration in milliseconds for VOB format video?
Thu Jan 11 12:13:07 CET 2007
Nico Sabbi wrote:
> Michel Bardiaux wrote:
>> Sean wrote:
>>> Can anyone help me on how to calculate each packet's
>>> duration in milliseconds for VOB format video?
>> There is no such thing as the 'duration' of a particular packet. You
>> will have to reformulate your question using correct technical terms.
> assuming mpeg1video the duration of a frame is 1/framerate;
> as for mpeg2, when the various telecining flags are set the duration may
> be modified from 1/framerate up to 3/framerate in 0.5/framerate steps.
> see mplayer/libmpdemux/mpeg_hdr.c for more details
Of course. But the OP said 'packet', not frame...
T +32  2 790 29 41
F +32  2 790 29 02
E mailto:mbardiaux at mediaxim.be
Vorstlaan 191 Boulevard du Souverain
Brussel 1160 Bruxelles
More information about the ffmpeg-devel