[FFmpeg-devel] question: why (pts < dts) is Invalid timestamps

Geek.Song ffmpeg at gmail.com
Fri Jan 6 09:57:22 CET 2012


2012/1/6 Maksym Veremeyenko <verem at m1stereo.tv>:
> 06.01.12 09:13, C Chatterjee написав(ла):
>
>>
>> pts<  dts means you are displaying video you have not decoded. Not
>> possible.
>>
>> Your PTS DTS numbers below are presentation and decoding order not
>> presentation and decoding time stamps.
>> These are:
>> Decoding order        0  3  1  2
>> Presentation Order      0  1   2   3
>
>
> assume we have a GOP IBBP with time base 1/1000000
>
> ORDER  TYPE       DTS      PTS
>    0     I         0        0
>    1     P     40000   120000
>    2     B     80000    40000
>    3     B    120000    80000
>
> what is wrong?
>

the DTS column is wrong, DTS  should start from negative value  such as

DTS

-80000
-40000
0
40000



-- 
-----------------------------------------------------------------------------------------
My key fingerprint: d1:03:f5:32:26:ff:d7:3c:e4:42:e3:51:ec:92:78:b2


More information about the ffmpeg-devel mailing list