Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 953 Bytes

docuchop.sh.md

File metadata and controls

21 lines (16 loc) · 953 Bytes

docuchop.sh

An automated chopper for documentary videos. The script automatically detects intermittent blackening points between scenes and splits video on them. Because most modern formats use some form of keyframes, the first few seconds of each chunk (from the desired chop-point until the next keyframe) have to be re-encoded.

Requirements

  • ffmpeg/ffprobe: Used for analyzing input video, producing output chunks.
  • pv: For displaying the progress of the input analysis.
  • jq: For extracting information from json files.
  • printf: For formatting the jq query.