[Ffmpeg-devel] Frame rates and time_base

Bill May wmay
Sat May 7 16:05:07 CEST 2005



Michael Niedermayer wrote:

>>pic_out.i_pts will be set to the correct PTS when there is a frame to
>>output.
>>
>>Is there a similiar function in ffmpeg ?
> 
> 
> the input pts is AVFrame.pts from the AVFrame you feed into 
> avcodec_encode_video, the output pts is in AVCodecContext->coded_frame->pts
> 
> [...]

Coolness.  Will be implementing this on Monday !

Thanks, Michael.

Bill





More information about the ffmpeg-devel mailing list