summaryrefslogtreecommitdiff
path: root/musictomp3
diff options
context:
space:
mode:
Diffstat (limited to 'musictomp3')
-rwxr-xr-xmusictomp36
1 files changed, 5 insertions, 1 deletions
diff --git a/musictomp3 b/musictomp3
index 08e59c8..f7efda4 100755
--- a/musictomp3
+++ b/musictomp3
@@ -72,7 +72,7 @@ def convert_to_mp3(input_root, output_root, filename):
make_dirs_for_file(output_path)
tempname = mktemp(output_path)
- argv = ['gst-launch',
+ argv = ['gst-launch-0.10',
'-q',
'filesrc',
'location=%s' % input_path,
@@ -80,6 +80,10 @@ def convert_to_mp3(input_root, output_root, filename):
'decodebin',
'!',
'lame',
+ 'quality=2',
+ 'vbr=4',
+ 'vbr-max-bitrate=128',
+ 'vbr-quality=9',
'!',
'filesink',
'location=%s' % tempname]