[FFmpeg-trac] #11055(undetermined:new): "showinfo", "-show_frames": bad PTS, where "framecrc" had expected; plus inconsistent playback
FFmpeg
trac at avcodec.org
Sun Jun 16 03:22:59 EEST 2024
#11055: "showinfo", "-show_frames": bad PTS, where "framecrc" had expected; plus
inconsistent playback
-------------------------------------+-------------------------------------
Reporter: markfilipak | Owner: (none)
Type: defect | Status: new
Priority: important | Component:
| undetermined
Version: git-master | Resolution:
Keywords: vf_showinfo | Blocked By:
ffprobe -show_frames OGOP |
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Changes (by MasterQuestionable):
* Attachment "Ticket_11055.m2ts.xml" added.
͏
https://streams.videolan.org/ffmpeg/incoming/11055/Ticket_11055.m2ts\\
͏ (~ 14.77 MiB; M2TS: H.264 (AVC) video, 4.129 s, 23.976 FPS VFR (avg:
12.836, min: 0.499, max: 23.981), 1920x1080, YUV 4:2:0, ~ 13.58 MiB; DTS-
HD MA audio, Mono, 4.085 s, 48,000 Hz, 24-Bit, ~ 525.41 KiB; ... ~ 691.57
KiB)\\
\\
͏ `ffprobe -v warning -hide_banner -threads 0 -show_entries "frame"
-select_streams v:0 -of "xml" "Ticket_11055.m2ts" -o
"Ticket_11055.m2ts.xml"`\\
\\
͏ Note:\\
[[
{{{#!xml
<tags>
<tag key="timecode" value="01:00:14:22"/>
</tags>
<side_data_list>
<side_data type="SMPTE 12-1 timecode">
<side_datum key="side_data_type" value="SMPTE 12-1
timecode"/>
<timecodes>
<timecode value="01:00:14:22"/>
</timecodes>
</side_data>
</side_data_list>
}}}
]]\\
͏ [/attachment/ticket/11055/Ticket_11055.m2ts.xml#L279 Alike] repeating
for each frame. [/attachment/ticket/11055/Ticket_11055.m2ts.xml#ref-1
"[1]"]\\
\\
͏ Area of interest starts from
[/attachment/ticket/11055/Ticket_11055.m2ts.xml#L227 Line 227]. (Frame
[/attachment/ticket/11055/Ticket_11055.m2ts.xml#L225 #18], ts:
5602.235667)\\
\\
͏ The video has bad timestamps:\\
͏ |1| Frame [/attachment/ticket/11055/Ticket_11055.m2ts.xml#L264 #21]
(ts: 5602.360789): would last ~ 2 s due to the next frame's PTS. (frames
intermediate undetected due OGOP?)\\
͏ |2| Frame [/attachment/ticket/11055/Ticket_11055.m2ts.xml#L641 #50]
(ts: 5605.405489) onward: timestamps format unexpectedly changed, leading
to interpreted PTS overlap.\\
\\
͏ Points of interest:\\
͏ |1| For Frame [/attachment/ticket/11055/Ticket_11055.m2ts.xml#L4 #1]
- [/attachment/ticket/11055/Ticket_11055.m2ts.xml#L628 #49]: all have both
PTS, DTS present. ([/attachment/ticket/11055/Ticket_11055.m2ts.xml#L641
#50] - [/attachment/ticket/11055/Ticket_11055.m2ts.xml#L680 #53] only
PTS)\\
͏ |2| Frame [/attachment/ticket/11055/Ticket_11055.m2ts.xml#L277 #22]
(ts: 5604.362778) has DTS, PTS identical.\\
͏ |3| The last frame
([/attachment/ticket/11055/Ticket_11055.m2ts.xml#L342 #27], ts:
5604.571322) of [/ticket/11055#comment:48 exceptional] DTS-PTS time
difference is I-frame.\\
͏ |4| 5604.362778 - 5602.360789 ≈ 1/23.976 * (99 - 53 + 2)\\
͏ |5| 5605.4889 - 5605.405489 ≈ 1/23.976 * 2\\
\\
͏ Among the detected frames there was no sign of OGOP (Open GOP).\\
͏ (all !`pict_type="I"` have !`key_frame="1"`; nor any H.264 (AVC)
recovery point SEI side data present)\\
͏ See also:
https://www.google.com/search?hl=en&gl=ca&num=10&q=%22Open+GOP%22+detect\\
\\
[ [1][=#ref-1]\\
͏ Brilliant example of bulky engineering and unnecessary sophistry...\\
͏ https://edlmax.com/SMPTETimeCodeConversion.htm ("Text Formats")\\
͏ .\\
͏ That whose existence cannot be justified: let which exist not. ]
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11055>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list