[FFmpeg-devel] Question about frame->pts, outlink->time_base, and outlink->frame_rate

Nicholas Robbins nickrobbins at yahoo.com
Tue Jan 28 22:42:27 CET 2014

> On Tuesday, January 28, 2014 3:46 PM, Andrey Utkin <andrey.krieger.utkin at gmail.com> wrote:

> > 2014-01-28 Nicholas Robbins <nickrobbins at yahoo.com>:
>>  However, I really would like to make the timebase change stick, for less 
> rounding error. What do I do to get the timebase change to stick?
> Check AVStream.time_base, AVCodecContext.time_base values. If you set
> them, check if they get rewritten by remuxer and encoder.
> -- 
> Andrey Utkin

I can't seem to see how I can get access to these from the filter context. As far as I can tell no other filter is using this. (except vf_subtitle which is using it with a file opened from inside the filter.)

Nicholas Robbins

More information about the ffmpeg-devel mailing list