[FFmpeg-user] Encode in "intra-only"

Moritz Barsnick barsnick at gmx.net
Wed Mar 27 00:32:27 EET 2019


On Tue, Mar 26, 2019 at 21:41:38 +0100, Mohammed Bey Ahmed Khernache wrote:
> Can we check with *ffprobe/ffmpeg* whether a video sequence is encoded in
> intra-only?
>
> I didn't succeed to get such information using those tools.

You can show each frame's properties with "ffprobe -show_frames", e.g.
by looking at the pict_type and or key_frame entries:

$ ffprobe -show_frames -show_entries frame=key_frame,pict_type inputfile

With some parsing, you could avoid visual inspection of the complete
output.

Moritz


More information about the ffmpeg-user mailing list