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