[FFmpeg-user] Use cropdetect only every xth frame

Gerion Entrup gerion.entrup at t-online.de
Sat Oct 12 12:00:28 CEST 2013


Am Samstag, 12. Oktober 2013, 06:37:39 schrieb Carl Eugen Hoyos:
> Gerion Entrup <gerion.entrup <at> t-online.de> writes:
> > > You can use -skip_frame (see the documentation).
> > 
> > Does not change that much:
> Depending on your use-case, this is impossible.
> (It of course cannot help for intra-only codecs)
Don't get what you mean. I was wondering, too, that the time was more less the 
same.
> 
> > $ time ffmpeg -skip_frame nokey -i test.mp4 -filter:v
> > select='not(mod(n\,10))',cropdetect
> > -filter:a volumedetect -map 0 -f null
> > /dev/null 2>/dev/null
> 
> Complete, uncut console output missing.
$ ffmpeg -skip_frame nokey -i test.mp4 -filter:v 
select='not(mod(n\,10))',cropdetect -filter:a volumedetect -map 0 -f null 
/dev/null 2>&1 | wc -l
9939

Very much ;). See http://pastebin.kde.org/phwvakpgq for the complete output or 
shall I include it in the mail?

Gerion



More information about the ffmpeg-user mailing list