Low-bitrate RM to MP3 128—how to minimise size/waste but keep quality?, Was: help making decision/advice about converting mass amount of files |
![]() ![]() |
Low-bitrate RM to MP3 128—how to minimise size/waste but keep quality?, Was: help making decision/advice about converting mass amount of files |
Jan 7 2012, 23:50
Post
#1
|
|
|
Group: Members Posts: 3 Joined: 7-January 12 Member No.: 96295 |
Hello,
i have about 30000 real media (*.rm) files with different bit rates.. and i have to convert them to mp3 i decided that the max bitrate will be 128 but, as this files is already rm files with low bitrates i think i will lose a lot of space and bandwidth by resampling the files to a higher sample-rate so whats the solution to convert this files with the same quality, and lowest possible file sizes. this is the commands i use to convert rm to wav with mplayer CODE $config[path_mplayer] rmfile -ao pcm:file=wavfile then wav to mp3 with lame CODE $config[path_lame] -b 128 --resample 44.1 --id3v2-only --tt \"$title\" --ta \"$artist\" -h -p wavfile mp3file i use php exec to process this commands. This post has been edited by Ahmose: Jan 8 2012, 00:04 |
|
|
|
Jan 8 2012, 02:16
Post
#2
|
|
|
Group: Super Moderator Posts: 4483 Joined: 23-June 06 Member No.: 32180 |
i think i will lose a lot of space and bandwidth by resampling the files to a higher sample-rate Why are you doing it, then?QUOTE $config[path_lame] -b 128 --resample 44.1 --id3v2-only --tt \"$title\" --ta \"$artist\" -h -p wavfile mp3file I assume mplayer will output the WAV files at whichever sampling rate is appropriate, so I don’t see why you’re forcing LAME to resample them—especially when you say you want to get the maximum quality per unit file-size, something that is not promoted by unnecessarily resampling.As for the bitrate, I can’t speak for everyone else, but I suspect there will be no easy answer. Except, perhaps, to try and evaluate some different settings on a representative sample of tracks, perhaps with the aid of ABX tests if you want to find a level that achieves transparency. Even then, no one can guarantee that any one setting will be satisfactory for all of them; that’s why lossy-to-lossy transcoding is problematic and is advised against whenever it’s avoidable. |
|
|
|
Jan 8 2012, 03:05
Post
#3
|
|
![]() Group: Members Posts: 1516 Joined: 30-November 06 Member No.: 38207 |
i have about 30000 real media (*.rm) files with different bit rates.. and i have to convert them to mp3 I have very limited knowledge of the Real formats (avoided them as much as possible ...), but depending on the content, you might not have to transcode. There isn't mp3 content in Real media, but it might be AAC. Can you use mp4/m4a instead of mp3? Maybe you can use ffmpeg to merely reencapsulate without transcoding. -------------------- geocities.com/hydrogenaudio: http://goo.gl/tqYZj
|
|
|
|
Jan 8 2012, 03:08
Post
#4
|
|
|
Group: Members Posts: 3 Joined: 7-January 12 Member No.: 96295 |
i think i will lose a lot of space and bandwidth by resampling the files to a higher sample-rate Why are you doing it, then?QUOTE $config[path_lame] -b 128 --resample 44.1 --id3v2-only --tt \"$title\" --ta \"$artist\" -h -p wavfile mp3file I assume mplayer will output the WAV files at whichever sampling rate is appropriate, so I don’t see why you’re forcing LAME to resample them—especially when you say you want to get the maximum quality per unit file-size, something that is not promoted by unnecessarily resampling.As for the bitrate, I can’t speak for everyone else, but I suspect there will be no easy answer. Except, perhaps, to try and evaluate some different settings on a representative sample of tracks, perhaps with the aid of ABX tests if you want to find a level that achieves transparency. Even then, no one can guarantee that any one setting will be satisfactory for all of them; that’s why lossy-to-lossy transcoding is problematic and is advised against whenever it’s avoidable. i used the --resample 44.1 because i converted file once and the sound was faster than the original file.. but that was converting mp3 to mp3 sorry for that.. now what if i used the default settings QUOTE $config[path_lame] --id3v2-only --tt \"$title\" --ta \"$artist\" -h -p wavfile mp3file what would be the results ?! i don't know how lame choose the bitrate and sampling rate. |
|
|
|
Jan 8 2012, 04:37
Post
#5
|
|
|
Group: Members Posts: 4163 Joined: 2-September 02 Member No.: 3264 |
now what if i used the default settings QUOTE $config[path_lame] --id3v2-only --tt \"$title\" --ta \"$artist\" -h -p wavfile mp3file what would be the results ?! I believe its 128k CBR. You can look in your specific build using 'lame --help' i don't know how lame choose the bitrate and sampling rate. Sampling rate will be whatever your source audio is. |
|
|
|
Jan 8 2012, 05:05
Post
#6
|
|
|
Group: Members Posts: 3099 Joined: 1-September 05 From: SE Pennsylvania Member No.: 24233 |
i don't know how lame choose the bitrate and sampling rate. Sampling rate will be whatever your source audio is. That's not necessarily true. Under some circumstances lame will downsample the audio, but at cbr 128 and 44.1 kHz, the sample rate will not be changed. |
|
|
|
Jan 8 2012, 05:08
Post
#7
|
|
|
Group: Members Posts: 3 Joined: 7-January 12 Member No.: 96295 |
now what if i used the default settings QUOTE $config[path_lame] --id3v2-only --tt \"$title\" --ta \"$artist\" -h -p wavfile mp3file what would be the results ?! I believe its 128k CBR. You can look in your specific build using 'lame --help' i don't know how lame choose the bitrate and sampling rate. Sampling rate will be whatever your source audio is. ![]() its 128k as you said, and i think this is the max bitrate, because i tried to convert some of the files to test with the default settings results are lower than 128k and different from file to another.. i think i will convert with this settings.. i will update if there are any issues came up thanks every body for your help |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 19th June 2013 - 18:13 |