[Ffmpeg-devel] How to calculate a packet's duration in milliseconds for VOB format video?
Nico Sabbi
nsabbi
Thu Jan 11 12:11:47 CET 2007
Michel Bardiaux wrote:
> Sean wrote:
>
>> Greetings,
>>
>> 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.
>
> Greetings,
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
--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f
Sponsor:
Grande Offerta di Benvenuto Cassine di Pietra:
* 36 bottiglie di ottimo vino veneto direttamente a casa tua!
*
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=3923&d=11-1
More information about the ffmpeg-devel
mailing list