summaryrefslogtreecommitdiffstats
path: root/TOOLS
diff options
context:
space:
mode:
Diffstat (limited to 'TOOLS')
-rwxr-xr-xTOOLS/aconvert6
1 files changed, 1 insertions, 5 deletions
diff --git a/TOOLS/aconvert b/TOOLS/aconvert
index bbaef5523e..bb5e714892 100755
--- a/TOOLS/aconvert
+++ b/TOOLS/aconvert
@@ -8,10 +8,6 @@ if [[ $1 == "" ]]; then
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