ffmpeg:video:frame:count_number_of_frames
ffmpeg - Video - Frame - Count number of frames
ffmpeg -i input.mp4 -map 0:v:0 -c copy -f null -
NOTE: This loops through the video file but does not decode any frames.
- It only increments the counter, thus it is very fast.
This works on any video file.
ffmpeg/video/frame/count_number_of_frames.txt · Last modified: 2025/05/27 09:10 by peter