[FFmpeg-devel] About guess_correct_pts / AVFrame.best_effort_timestamp

Måns Rullgård mans
Wed Feb 16 22:41:48 CET 2011


Baptiste Coudurier <baptiste.coudurier at gmail.com> writes:

> On 2/16/11 8:21 AM, M?ns Rullg?rd wrote:
>> Nicolas George <nicolas.george at normalesup.org> writes:
>> 
>>> L'octidi 28 pluvi?se, an CCXIX, M?ns Rullg?rd a ?crit :
>>>> How did you obtain those timestamps?
>>>
>>> The transcode line I pasted plus ffprobe, plus awk to keep only the
>>> timestamps in the output of ffprobe.
>> 
>> So you're looking at lavf-mangled values.  You need to look at the raw
>> values from the file itself.  You cannot use any ffmpeg-based tools to
>> do that.  Use a hex viewer if you have nothing better.
>
> Wrong, read_packet returns what's in the container, at least for PS and TS.

ffprobe uses av_read_frame(), which does mangle timestamps.

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



More information about the ffmpeg-devel mailing list