Scripts related to creating and distributing talks and media files
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
talk-scripts/make-avi.sh

15 lines
283 B

V_BIT_RATE=768kb
A_BIT_RATE=128kb
LOG="timings/$2-avi.log"
TIC=`date +%s`
ffmpeg -i $1 -v -1 -y \
-vcodec libxvid -b "$V_BIT_RATE" \
-acodec libmp3lame -ac 1 -ab "$A_BIT_RATE" \
"encodes/$2.avi" 2> /dev/null
TOC=`date +%s`
echo "`expr $TOC - $TIC`" >> $LOG