-show_entries stream=avg_frame_rate tells FFmpeg to display the average frame rate (frames per second) in the format of -of default=noprint_wrappers=1:nokey=1.
-select_streams v:0 selects the video stream.-v error sets the verbosity level to error.The ffprobe component of FFmpeg can be used to find frames per second of a video file: $ ffprobe -v error -select_streams v:0 -show_entries stream=avg_frame_rate -of default=noprint_wrappers=1:nokey=1 big_buck_bunny_720p_2mb.mp4 We can use apt or snap to install FFmpeg on an Ubuntu or Debian machine: $ sudo apt install ffmpeg