Collection of ffprobe output examples
Posted: Wed May 18, 2016 4:45 am
Here I'll collect some use-case and parameter examples for FFmpeg's "ffprobe" command.
Mainly it's for myself, because I'm too bad at remembering the right arguments to use
And most of them are taken from "FFprobeTips" article on FFmpeg's wiki.
(But I like backup copies )
Plain "name=value" output:
Output the duration of the video in a timecode format: "h:mm:ss.xxxxxx"
Output the framerate of the first video stream:
Mainly it's for myself, because I'm too bad at remembering the right arguments to use
And most of them are taken from "FFprobeTips" article on FFmpeg's wiki.
(But I like backup copies )
Plain "name=value" output:
Code: Select all
$ ffprobe -v error -show_format -show_streams $VIDEO_FILE
Code: Select all
$ ffprobe_git -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 -sexagesimal $VIDEO_FILE
Code: Select all
$ ffprobe -v error -select_streams v:0 -show_entries stream=avg_frame_rate -of default=noprint_wrappers=1:nokey=1 $VIDEO_FILE