5 echo "Usage: $0 <filename>"
9 echo "-> Encoding $1 to flash video format..."
13 echo "-E- Unable to find file to encode: $1"
18 output=`echo $1 | sed -e 's/\..*$/\.flv/'`
21 ffmpeg -y -i $1 -s 320x240 -pass 1 -acodec copy $output
24 ffmpeg -y -i $1 -s 320x240 -pass 2 -acodec copy $output