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.
|
V_BIT_RATE=768kb
|
|
A_BIT_RATE=128kb
|
|
|
|
LOG="timings/$2-mpg.log"
|
|
TIC=`date +%s`
|
|
|
|
ffmpeg -i "$1" -v -1 -y \
|
|
-vcodec mpeg2video -b "$V_BIT_RATE" \
|
|
-acodec mp2 -ac 1 -ab "$A_BIT_RATE" \
|
|
"encodes/$2.mpg" 2> /dev/null
|
|
|
|
TOC=`date +%s`
|
|
|
|
echo "`expr $TOC - $TIC`" >> $LOG
|
|
|
|
|