/vwrt_py

Piecewise video-speed editing

Primary LanguageJupyter Notebook

Video Waste Reduction Tool in Python

Intro

This is a complete python rewrite of the C++ vwrt.

Dependencies

  • python3

  • numpy

  • ffmpeg

Usage

user$ python3 vwrt.py [-i INPUT] [-t SPEED] [-s SPEED] [-o OUTDIR]

Required Arguments

  • -i INPUT or --input INPUT: add input video[1]

  • -t SPEED or --talk-speed SPEED: set talk speed (aka speed when video is above volume threshold)[1]

  • -s SPEED or --silence-speed SPEED: set silence speed (aka speed when video is below volume threshold)[1]

  • -o OUTDIR or --outdir OUTDIR: set output directory

Optional Arguments

  • -h or --help: show this help message and exit

  • -v or --verbose: set verbose mode

  • -f or --add-frames: overlay timecode on video before processing

  • -d or --dry-run: skip video processing

  1. Supports multiple arguments of the same type. Value will cycle through given values, until there are no more inputs.