diff TOOLS/aconvert @ 17912:86d341ecb3bc

use mencoder directly for mp3lame encoding instead of lavc
author jonas
date Wed, 22 Mar 2006 11:26:27 +0000
parents 433494f162a9
children 37feaaf7b7b4
line wrap: on
line diff
--- 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