[FFmpeg-user] How to drop every Nth frame?

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Sep 23 15:11:16 CEST 2013


Andrey Aleksandrovich <andrey.aleksandrovich <at> googlemail.com> writes:

> I am sorry but it doesn't cut any frames at all.
> ffmpeg -y -i original-5614-frames.avi -filter:v "select='mod(n,24)'" out.avi
> 
> The original video is 5614 frames and the output 
> video is 5614 ones. I expect that output must be 
> 5381 frames (I need to cut/drop 233 frames - 
> every 24th from 5614).

Then you are probably searching for -vf fps 
(this was not entirely clear from your 
original post but I had already suggested it).

Please do not top-post here, it is considered 
rude.

Carl Eugen



More information about the ffmpeg-user mailing list