[Ffmpeg-devel] Question on h263 decoder
Mon Sep 19 16:05:11 CEST 2005
Francis Labonte said:
> how can the PTS be a frame number? I think you should multiply the picture
> number by some time unit (num/denum x TimeUnit) to make it a timestamp...
> s->picture_number= (s->picture_number&~0xFF) + i;
That's correct. The time_base is set to the frame rate, so the PTS is equal
to the frame number.
mru at inprovide.com
More information about the ffmpeg-devel