[MPlayer-cvslog] CVS: main/TOOLS aconvert,1.2,1.3

Jonas Jermann CVS syncmail at mplayerhq.hu
Wed Mar 22 12:26:29 CET 2006


CVS change done by Jonas Jermann CVS

Update of /cvsroot/mplayer/main/TOOLS
In directory mail:/var2/tmp/cvs-serv32659

Modified Files:
	aconvert 
Log Message:
use mencoder directly for mp3lame encoding instead of lavc

Index: aconvert
===================================================================
RCS file: /cvsroot/mplayer/main/TOOLS/aconvert,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- aconvert	21 Mar 2006 06:09:32 -0000	1.2
+++ aconvert	22 Mar 2006 11:26:27 -0000	1.3
@@ -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




More information about the MPlayer-cvslog mailing list