Adding new encoding scripts and the template file.
[public/talk-scripts.git] / make-flv.sh
1 V_BIT_RATE=768kb
2 A_BIT_RATE=128kb
3
4 LOG="timings/$2-flv.log"
5 TIC=`date +%s`
6
7 ffmpeg -i "$1" -v -1 -y \
8        -f flv -b "$V_BIT_RATE" \
9        -ac 1 -ab "$A_BIT_RATE" -ar 22050 \
10        "encodes/$2.flv" 2> /dev/null
11
12 TOC=`date +%s`
13
14 echo "`expr $TOC - $TIC`" >> $LOG