FFprobe outputs nonsense DTS/PTS for streams with reordered frames
|Reported by:||dbuitenh||Owned by:|
|Version:||git-master||Keywords:||pts dts mpeg2video|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
Summary of the bug:
FFprobe outputs PTS/DTS that make no sense on streams with reordered frames, like MPEG-2. You'll notice PTS==DTS, which is IMPOSSIBLE when coded order is not the same as display order. This makes providing PTS and DTS separately entirely useless.
How to reproduce:
% ffprobe -of json -show_frames input.ts > out.json
Attached example output.
Example input here: http://chromashift.org/kyoani_cm_mechagirl.ts