Ffprobe Installation On A Debian, Ubuntu, Alpine, Arch, Kali, Raspbian And MacOS

Ffprobe Installation On A Debian, Ubuntu, Alpine, Arch, Kali, Raspbian And MacOS

ffprobe

Multimedia stream analyzer.

Maintainer: Debian Multimedia Maintainers



Section: video

Install ffprobe

  • Debian apt-get install ffmpeg Click to copy
  • Ubuntu apt-get install ffmpeg Click to copy
  • Alpine OS apk add ffmpeg Click to copy
  • Arch Linux pacman -S ffmpeg Click to copy
  • Kali Linux apt-get install ffmpeg Click to copy
  • Raspbian apt-get install ffmpeg Click to copy
  • macOS brew install ffmpeg Click to copy

Multimedia stream analyzer.

How to use ffprobe?

Below are few example commands for ffprobe that you can use in the terminal.

Display all available stream info for a media file:
ffprobe -v error -show_entries input.mp4Click to copy
Display media duration:
ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 input.mp4Click to copy
Display the frame rate of a video:
ffprobe -v error -select_streams v:0 -show_entries stream=avg_frame_rate -of default=noprint_wrappers=1:nokey=1 input.mp4Click to copy
Display the width or height of a video:
ffprobe -v error -select_streams v:0 -show_entries stream=width|height -of default=noprint_wrappers=1:nokey=1 input.mp4Click to copy
Display the average bit rate of a video:
ffprobe -v error -select_streams v:0 -show_entries stream=bit_rate -of default=noprint_wrappers=1:nokey=1 input.mp4Click to copy
Installation of latest ffprobe command is available for Debian, Ubuntu, Alpine, Arch, Kali, Raspbian and macOS. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.