snippets/shrinkVideo
2020-05-02 11:16:05 +02:00

16 lines
257 B
Bash
Executable File

#!/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 -y -i "$fullpath" -s ega "$outfile"