changeset 17912:86d341ecb3bc

use mencoder directly for mp3lame encoding instead of lavc
author jonas
date Wed, 22 Mar 2006 11:26:27 +0000
parents 52f95509cd05
children f000129a16b3
files TOOLS/aconvert
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
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