ffprobe:frame_rate
This is an old revision of the document!
ffprobe - Frame Rate
Get the average frame rate for the first video stream.
ffprobe -v error -select_streams v:0 -show_entries stream=avg_frame_rate -of default=noprint_wrappers=1:nokey=1 input.mp4
returns:
24000/1001
NOTE: For a NTSC-film video
returns:
25/1
NOTE: For a PAL video
NOTE:
- Some files can contain multiple video streams.
- Some streams may be variable frame rate.
ffprobe/frame_rate.1748335405.txt.gz · Last modified: 2025/05/27 08:43 by peter