diff options
-rwxr-xr-x | musictomp3 | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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] |