[FFmpeg-devel] About guess_correct_pts / AVFrame.best_effort_timestamp

Baptiste Coudurier baptiste.coudurier
Wed Feb 16 22:50:24 CET 2011

On 2/16/11 1:41 PM, M?ns Rullg?rd wrote:
> 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.

-fdebug ts

Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer                                  http://www.ffmpeg.org

More information about the ffmpeg-devel mailing list