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-flv.sh

14 lines
266 B

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