Skip to content

Instantly share code, notes, and snippets.

@MandarGogate
Created April 3, 2017 18:15
Show Gist options
  • Save MandarGogate/9020016fabe58d46e83b7268f3c7606b to your computer and use it in GitHub Desktop.
Save MandarGogate/9020016fabe58d46e83b7268f3c7606b to your computer and use it in GitHub Desktop.
How to find frames per second of any video file?
ffmpeg -i filename
#Input #0, matroska,webm, from 'somerandom.mkv':
# Duration: 01:16:10.90, start: 0.000000, bitrate: N/A
# Stream #0.0: Video: h264 (High), yuv420p, 720x344 [PAR 1:1 DAR 90:43], 25 fps, 25 tbr, 1k tbn, 50 tbc (default)
# Stream #0.1: Audio: aac, 48000 Hz, stereo, s16 (default)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment