[FFmpeg-user] How could I get fps number of the video

Christoph Gerstbauer christophgerstbauer at gmail.com
Fri May 16 12:32:20 CEST 2014


ffprobe -i <inputfile> -show_streams

Output will be like following
[STREAM]
index=0
codec_name=ffv1
codec_long_name=FFmpeg video codec #1
profile=unknown
codec_type=video
codec_time_base=1/25
codec_tag_string=FFV1
codec_tag=0x31564646
width=720
height=608
has_b_frames=0
sample_aspect_ratio=0:1
display_aspect_ratio=0:1
pix_fmt=yuv420p10le
level=-99
timecode=N/A
id=N/A
r_frame_rate=25/1
avg_frame_rate=0/0
time_base=1/25
start_pts=0

FPS = r_frame_rate=25/1


bg
Christoph


More information about the ffmpeg-user mailing list