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