2

The ffprobe show frames output shows the following details:

[FRAME]
media_type=video
key_frame=1
pkt_pts=42
pkt_pts_time=0:00:00.042000
pkt_dts=42
pkt_dts_time=0:00:00.042000
pkt_duration=N/A
pkt_duration_time=N/A
pkt_pos=799
width=1920
height=1080
pix_fmt=yuv420p
sample_aspect_ratio=1:1
pict_type=I
coded_picture_number=0
display_picture_number=0
interlaced_frame=0
top_field_first=0
repeat_pict=0
reference=3
[/FRAME]

I was reading this article and was wondering how to differentiate between the two types of frames from the above output.

7

Frames with key_frame 1 (will have picture type I) are IDR frames.

I frames with key_frame 0 are not.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.