[FFmpeg-devel] About guess_correct_pts / AVFrame.best_effort_timestamp

Måns Rullgård mans
Wed Feb 16 14:45:58 CET 2011


Luca Barbato <lu_zero at gentoo.org> writes:

> On 02/16/2011 01:26 PM, Nicolas George wrote:
>> 2. A field in AVFrame, set at the same time as the rest of the structure.
>>    Exporting the underlying logic is ok, but only if there is a need for it.
>> 
>> 3. The current algorithm seems fine to me for a start,
>>    but I do not insist on it if someone proposes something better.
>>    There have been hints of problems in the timestamp logic, but nothing
>>    precise that could be actually pinned on this algorithm.
>
> The current algorithm and all the heuristics present in libavfilter
> should be consolidated and made optional. We have too many workarounds
> that might solve something breaking something else (e.g. the mpegts
> produced by some old vlc fed by an axis camera are wrongly workarounded
> as I recently discovered).

More importantly, it breaks h264 in mkv, despite the container being
complete and correct.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list