snippets/cutAndShrinkVideo

15 lines
241 B
Bash
Executable File

#!/bin/bash
if [ "$#" -ne 3 ]; then
echo "USAGE: $0 FILE START END"
exit 1
fi
fullpath="$1"
source fileextensions
outfile="$dir/$filename""CutShrunk.mp4"
echo "$outfile"
ffmpeg -y -ss "$2" -to "$3" -i "$fullpath" -s vga "$outfile"