[FFmpeg-devel] About guess_correct_pts / AVFrame.best_effort_timestamp
Wed Feb 16 17:32:36 CET 2011
On 02/16/2011 05:27 PM, Jean-Daniel Dupas wrote:
> Even with accurate timestamp, you have to handle the case where only
> dts is provided, only pts is provided, bot are provided, neither are provided.
> But I clearly understand that you decided that all clients writing
> the same code again and again and again it the right solution,
> and you don't want to talk about any solution that may improve this situation.
We said, since long ago pts interpolating/guess/mangling code should NOT
stay in libavcodec, MIGHT stay in libavformat, COULD land in libavutil.
Possibly just in a defined place, with a clean interface and properly
documented to understand what it does w/out having to follow random
if(condition) scattered around functions loosely related.
More information about the ffmpeg-devel