snippets/shrinkVideo

15 lines
253 B
Plaintext
Raw Normal View History

2020-05-02 11:08:32 +02:00
#!/bin/bash
if [ "$#" -ne 1 ]; then
echo "USAGE: $0 FILE"
fi
fullpath="$1"
dir=`dirname $fullpath`
filename=`basename $fullpath`
filename="${filename%.*}"
outfile="$dir/$filename""Shrunk.mp4"
echo "$outfile"
ffmpeg -i "$fullpath" -s ega "$outfile"