Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
3rd December 2021, 21:59 | #1 | Link |
Registered User
Join Date: Aug 2018
Posts: 8
|
Find IDR frames in HVEC?
How can I get a list of IDR frames from an HVEC stream? With h264 streams I would convert to raw h264 and then use framecounter to produce a text file of each frame and it's type. I tried that with an HVEC stream (converted to raw h265 with ffmpeg) but framecounter wouldn't accept the 265 file as input.
Thanks in advance. |
3rd December 2021, 22:04 | #2 | Link |
Registered User
Join Date: Nov 2004
Location: Poland
Posts: 2,843
|
ffprobe -v error -skip_frame nokey -show_entries frame=pkt_pts_time -select_streams v -of csv=p=0 input
0.000000 2.502000 3.795000 6.131000 10.344000 I assume frame=pkt_pts_time could be change to give you eg. frame number instead of time. other ways are there as well using ffmpeg itself: https://superuser.com/questions/1345...-ffmpeg-python |
4th December 2021, 09:08 | #4 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
As a side note: Code patches for FrameCounter to not only count hevc frame but also output their frame type are welcome.
|
4th December 2021, 18:42 | #5 | Link | |
Registered User
Join Date: Aug 2018
Posts: 8
|
Quote:
|
|
4th December 2021, 18:44 | #7 | Link | |
Registered User
Join Date: Aug 2018
Posts: 8
|
Quote:
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|