Add README file with documentation for using scripts
[public/csc-media.git] / make-avi.sh
1 V_BIT_RATE=768k
2 A_BIT_RATE=128k
3
4 LOG="timings/$2-avi.log"
5 TIC=`date +%s`
6
7 $ffmpeg -i $1 $ffmpegopts -v -1 -y \
8        -vcodec libxvid -b "$V_BIT_RATE" \
9        -acodec libmp3lame -ac 1 -ab "$A_BIT_RATE" \
10        "encodes/$2.avi"
11
12 TOC=`date +%s`
13
14 echo "`expr $TOC - $TIC`" >> $LOG
15