Detect black margins of one or several video files
$ ffmpeg-cropdetect [OPTION]... INFILE...
This script detects black margins of one or several video files.
-
-s
,--skip
valueSet the number of seconds skipped from the beginning. The default of value is 2 percent of the total duration of the video.
-
-t
,--time
valueSet the number of seconds to be scanned. The default of value is 5 percent of the total duration of the video.
-
-c
,--cropdetect
limit:round:skip:resetSet the
cropdetect
filter of FFmpeg (default:24:16:2:0
).
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.