Skip to content

Instantly share code, notes, and snippets.

@jonatasleon
Created May 15, 2019 20:07
Show Gist options
  • Save jonatasleon/a42f80ea000365981f6c5c071bbf52c3 to your computer and use it in GitHub Desktop.
Save jonatasleon/a42f80ea000365981f6c5c071bbf52c3 to your computer and use it in GitHub Desktop.
#!/bin/sh
PLAYLIST=$1
DIR_OUTPUT=$2
mkdir -p $DIR_OUTPUT/out/
youtube-dl -f mp4 -o "$DIR_OUTPUT/%(title)s.%(ext)s" $PLAYLIST
cd $DIR_OUTPUT
for f in *; do
../jumpcutter.py --input_file "$f" --sounded_speed 1.6 --silent_speed 8 --output_file "../out/$f"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment