Context Navigation

ffprobe is a simple multimedia stream analyzer. You can use it to output all kinds of information about an input including duration, frame rate, frame size, etc. It is also useful for gathering specific information about an input to be used in a script.

Usage

ffprobe [OPTIONS] [INPUT_FILE]

Show help

Refer to the manual:

man ffprobe

or show the included help:

ffprobe -h

Scroll to the top of the console output and refer to "Main options" for the most important options.

Stream duration

Get duration by decoding

You can also use ffmpeg to get the duration by fully decoding the file. The null muxer is used so no output file is created. Refer to time= in the next-to-last line of the console output. In this example the input has a duration of 00:57:28.87.