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

Andrey Utkin andrey.krieger.utkin at gmail.com
Tue Jan 28 16:19:53 CET 2014


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


More information about the ffmpeg-devel mailing list