# HG changeset patch # User jonas # Date 1143026787 0 # Node ID 86d341ecb3bcc31e6f347ab646abb8cdfeae0ee2 # Parent 52f95509cd0541d3266157866e528506cf03b37c use mencoder directly for mp3lame encoding instead of lavc diff -r 52f95509cd05 -r 86d341ecb3bc TOOLS/aconvert --- a/TOOLS/aconvert Wed Mar 22 00:19:02 2006 +0000 +++ b/TOOLS/aconvert Wed Mar 22 11:26:27 2006 +0000 @@ -8,10 +8,6 @@ exit 0 fi -if [[ $3 == "" ]]; then - options="-oac lavc -lavcopts acodec=mp3:abitrate=192" -else - options=$3 -fi +options=${3:-"-oac mp3lame"} mencoder -demuxer rawvideo -rawvideo w=1:h=1 -ovc copy -of rawaudio -endpos `mplayer -identify $1 -frames 0 2>&1 | grep ID_LENGTH | cut -d "=" -f 2` -audiofile $1 -o $2 $options $1