]> git.sesse.net Git - ffmpeg/commit
avfilter/cropdetect: add option for initial skip
authorGyan Doshi <ffmpeg@gyani.pro>
Tue, 8 Dec 2020 13:22:37 +0000 (18:52 +0530)
committerGyan Doshi <ffmpeg@gyani.pro>
Wed, 9 Dec 2020 07:22:09 +0000 (12:52 +0530)
commit7777e5119ad3377e2c4cb20a7aff56448d035b55
treebbb5e43ecc210704f3cfac80dcca24a67534e7f3
parentb9b719fedc532ebc6bbde711d60985e8cb5957b2
avfilter/cropdetect: add option for initial skip

The cropdetect filter, at present, skips the first two frames. This
behaviour is hardcoded.

New option 'skip' allows users to change this. Convenient for when
input is a single image or a trimmed video stream.

Default is kept at 2 to preserve current behaviour.
doc/filters.texi
libavfilter/vf_cropdetect.c