[FFmpeg-user] ffprobe -show_frames values

Werner Robitza werner.robitza at gmail.com
Thu Apr 30 10:24:36 CEST 2015

On Wed, Apr 29, 2015 at 8:36 PM, Joel Lopez <badassmexican at gmail.com> wrote:
> Hi,
> I'm trying to decipher what the values are in the info presented.  I need
> to determine how far apart the keyframes are.  3 seconds is what I hear
> they should be for adaptive bitrate switching.

Anything between 2 and 10 seconds is reasonable.

> Are these miliseconds and bytes?

PTS_time and DTS_time are in seconds. The size is in Bytes.

But this won't tell you how far the keyframes are apart. For that,
you'll need to check the "pict_type" field of the -show_frames option.
Or, when your container is an MPEG-2 Transport Stream, check the
"flags" field of the -show_packets option.

More information about the ffmpeg-user mailing list