Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Finding the best Vorbis q for MP3 transcoding (Read 7018 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Finding the best Vorbis q for MP3 transcoding

Hello all,

I have a whole lotta MP3s which I want to transcode into Vorbis. Yes, I know it will further degrade the quality... but the amount of space I predict I will save is quite significant...

Well anyways  , my plan is to make a table such as this one:
Code: [Select]
           Vorbis Lancer 20051121 q value
        +--------------------------------------------------
Sample   |  -2      -1     0  1  2  3  4  5  6  7  8  9  10
---------+--------------------------------------------------
S01 c112 | 12/12 | 11/12 | ...
S02 c128 | 12/12 | 11/12 | ...
S03 c160 | 12/12 | 11/12 | ...
S04 v4   | 12/12 | 11/12 | ...
S05 v4   | 12/12 | 11/12 | ...
S05 c320 | 12/12 | 11/12 | ...
S05 c256 | 12/12 | 11/12 | ...
S05 c224 | 12/12 | 11/12 | ...
S05 c192 | 12/12 | 11/12 | ...
S05 c160 | 12/12 | 11/12 | ...
S05 c128 | 12/12 | 11/12 | ...
S05 c112 | 12/12 | 11/12 | ...
S05 c96  | 12/12 | 11/12 | ...


Plus another table comparing the file sizes.

The only limitation is that I have severely limited CD collection, so only some samples I can test with multiple MP3 bitrates. Others I have only the MP3s, and for these I test only the MP3's bitrate.

The process is like this:

(original wav) --> [LAME 3.97b2] --> (mp3) --> [LAME 3.97b2] --> (decoded mp3 wav) --> [oggdropXPd Lancer 20051121] --> (vorbis) --> [oggdropXPd Lancer 20051121] --> (decoded ogg wav)

Then I ABX-es the (decoded mp3 wav) and (decoded ogg wav).

Any input?

Finding the best Vorbis q for MP3 transcoding

Reply #1
Quote
Any input?
[a href="index.php?act=findpost&pid=346819"][{POST_SNAPBACK}][/a]

Yes.

Why bother having the decoded WAVs to compare between MP3 and Vorbis?
Just transcode the MP3 to Vorbis, and ABX them.
Decoding them to WAV to be compared seems like a waste of time and h/d space for me...

And if you plan to rip straight from an Audio-CD, try q 2.
It's quite space saving, and sounds great on noisy environs, even w/ earphones.

Finding the best Vorbis q for MP3 transcoding

Reply #2
Quote
Why bother having the decoded WAVs to compare between MP3 and Vorbis?

Foobar automatically does this (preparing files for ABX) for you.  He's just replacing foobar (maybe he uses another script)

It's necessary to do this in order to not have timing / synch problems between the different format files.

As for suggested quality, It depends on your original bitrate and how much smaller you want to go.. but try -q 4, or -q 2 if you really need space.

I heard a -q 1.5 file today which I couldnt ABX to its original, as could not many other people on this forum;  Try that setting if you like.

Peace,
Tristan.

Finding the best Vorbis q for MP3 transcoding

Reply #3
Quote
It's necessary to do this in order to not have timing / synch problems between the different format files.

Hmm...didn't know about that.
Though I still prefer comparing between the 'original' files in MP3 and Vorbis format.
Because, after all, those are what I'm going to hear to anyway, not the decoded WAVs.
But hey, if that statement's flammable then flame it.

Quote
I heard a -q 1.5 file today which I couldnt ABX to its original, as could not many other people on this forum; ...

Yup, I agree w/ you.
The last 80kbps test w/ previous aoTuV by guru at least'd give some ideas about the quality at that nominal bitrate.

Finding the best Vorbis q for MP3 transcoding

Reply #4
-q 1.5 ... ha I didn't think of that. So, the q settings I will actually test goes like: -2, -1, 0, 1, 1.5, 2, 3, 4, 5, 6.  I don't think above 6 is necessary... or should I also test them?

The reason I decode the MP3 to WAV is for my script to generate automatically all necessary .ogg files in one go. I save a lot of time decoding MP3 only once. The reason for decoding the .ogg files is to make it faster to compare between the q's... I think...

And yes I have been using q 2 for straight-from-CD-ripping... sounds real great even on the desktop (some artifacts sometimes show up, they are minor, and I can live with them  )

Finding the best Vorbis q for MP3 transcoding

Reply #5
Seems like u're easy enough to please. =)
In fact, -q 4 for transcoding from MP3 is probably enough for you.

But, you might wanna try this (not so) simple test.
Rip an Audio CD track into two MP3 files w/ different -V setting.
Say, -V 2 and -V 5 for around 256kbps and 128kbps, respectively.
Then transcode those two to Vorbis w/ -q 4 for each file, and ABX them.

If it's hard to ABX them, then -q 4 is probably your 'safe margin' for all of your transcode.

Just a thought.

Finding the best Vorbis q for MP3 transcoding

Reply #6
In my superficial ABX tests on some killer samples some years ago, I found I had to use -q 6.0 before I failed to ABX against the original MP3. Sorry for the little details. I am not interested in transcoding any more.