On 04/07/2024 23.07, Srikanth Kotagiri wrote:
On Fri, Jul 5, 2024 at 4:49 AM Mark Filipak <markfilipak.i...@gmail.com> wrote:

Has anyone figured out how to discern IDR frames v non-IDR frames in either 
FFmpeg or FFprobe?

ffprobe -select_streams v -show_frames -print_format json sample.mp4
2>/dev/null | jq '.frames[] | select( .key_frame == 1)'

Thank you, Srikanth.

You think key_frame means IDR? Nope. I've asked many times what "key_frame" means but no one has offered an answer. But it definitely does not mean IDR. I have videos with frames reported as key_frames that are definitely non-IDR. It was considerate of you to reply, though.

I'm running Windows, but I understand your script.

--Mark.

_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to