Skip to content

Latest commit

 

History

History
42 lines (20 loc) · 909 Bytes

ffmpeg-cropdetect.md

File metadata and controls

42 lines (20 loc) · 909 Bytes

ffmpeg-cropdetect

Detect black margins of one or several video files

Synopsis

$ ffmpeg-cropdetect [OPTION]... INFILE...

Description

This script detects black margins of one or several video files.

Options

  • -s, --skip value

    Set the number of seconds skipped from the beginning. The default of value is 2 percent of the total duration of the video.

  • -t, --time value

    Set 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:reset

    Set the cropdetect filter of FFmpeg (default: 24:16:2:0).

Contributing

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.

License

MIT