Support Head-Fi.org by starting all of your Amazon.com shopping by clicking here.
____________________________________________________________________
Today's Featured Head-Fi Blog:  Jude's Blog
____________________________________________________________________
Please help support Head-Fi by becoming a Contributing Member  CLICK HERE

-- Contributing Members, thank you for your generous support! --
Head-Fi Is Sponsored By:
Register FAQ Blogs Members List Calendar Mark Forums Read Today's Posts Search
 

Head-Fi's Sponsors
(Premier Sponsors bolded)

Featured

2008 International
Head-Fi Meet
(Can Jam '08)
Impressions,
Reviews, Photos


Can Jam '08 graphic
courtesy of Edwood

Click on the links below
for Can Jam '08 photos,
impressions and reviews:


NightWoundsTime
lan
agile_one
wavoman
crappyjones123
Luke G
bperboy
jimaxp

 


Can Jam '08 Logo
T-Shirts For Sale


Head-Fi Blogs
and Facebook

Check out Head-Fi's new
Blogs section.

Featured Head-Fi Blogs:

Jude's "Take My Word"

 From Japan - by Sasaki

(
Start your own Blog!)

Attention
Facebook Users



Join the official
Head-Fi.org
Facebook Group


Head-Fi's Sponsors
(Premier Sponsors bolded)

Featured


Go Back   Head-Fi: Covering Headphones, Earphones and Portable Audio > Equipment Forums > Computer Audio

Computer Audio Discussion of computers as source components, sound cards, USB DACs, media servers, etc.

TTVJ Millett Portable Amp & The Most Recent Sponsored Threads

Sales to Benefit Head-Fi (TTVJ Millett Portable Amp)




 
Reply
 
Thread Tools Display Modes
Old 08-01-2008, 12:13 AM   #1 (permalink)
500+ Head-Fi'er
 
rhymesgalore's Avatar

Profile
Join Date: Oct 2005
Location: The big black-red-yellow
Posts: 814
Default Need help in a technical "320cbr vs. v0 MP3"-discussion

No, this is no thread about what actually sounds better (well, still kind of), but more about the inner workings of cbr and vbr encoding.

I'm debating with a user on another forum, if 320cbr is the best setting for a MP3. I - and the wiki on hydrogenaudio - think that it is, since it is the maximum sample rate that one is able to achive with MP3. He says, that v0 is better than 320cbr.

His argumentation about the working of mp3 goes like this: If you work with 320cbr you use 160kbps to save one channel, and the other 160kbps to save the difference between the other channel. But it will never be more than 160kbps per channel. So he says with VBR this restriction doesn't exist. So if the channels are pretty much the same it uses more than 160kbps for one channel, and the rest to encode the difference between the two.

In my understanding he's doing some mixup between vbr and joint stereo...

My question now is, how does the encoding in cbr or vbr really work? As far as i understand 320cbr would give you 160 per channel on every sample. Is vbr really able to give one channel more than 160kbps? And wouldn't joint stereo affect the two methods in the same way?
__________________
"They that give up essential liberty to obtain a little temporary safety deserve neither liberty or safety." Ben Franklin, 1759

Last edited by rhymesgalore; 08-01-2008 at 06:47 AM..
rhymesgalore is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
Old 08-01-2008, 12:46 AM   #2 (permalink)
500+ Head-Fi'er

Profile
Join Date: Feb 2008
Location: Christchurch, New Zealand
Posts: 826
Default

the audible difference between 320 kbps mp3 and VBR -v0 mp3 are none except that VBR uses less room.

While 320 kbps mp3 gives 160 kbps each channel all the time, VBR only gives the bitrate needed for that channel at that time.
Audible different = zero. Both ar eone and the same but VBR's better as it uses less filespace.

I'd, if you can, encode in Ogg Vorbis tbh as it's a much much better true VBR algorithim and sounds better at lower bitrates. What I mean is Vorbis -q6 (@~192 kbps) sound sbetter than 320kbps mp3.
chinesekiwi is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
Old 08-01-2008, 01:11 AM   #3 (permalink)
100+ Head-Fi'er
 
vegaman's Avatar

Profile
Join Date: Dec 2006
Location: New Zealand
Posts: 223
Default

Originally Posted by chinesekiwi View Post
the audible difference between 320 kbps mp3 and VBR -v0 mp3 are none except that VBR uses less room.

While 320 kbps mp3 gives 160 kbps each channel all the time, VBR only gives the bitrate needed for that channel at that time.
Audible different = zero. Both ar eone and the same but VBR's better as it uses less filespace.

I'd, if you can, encode in Ogg Vorbis tbh as it's a much much better true VBR algorithim and sounds better at lower bitrates. What I mean is Vorbis -q6 (@~192 kbps) sound sbetter than 320kbps mp3.
You forget to mention that this is all in your experience and opinion.

I do prefer v0, for filespace savings and I personally haven't ABX'd it from a 320cbr version yet (though I personally use FLAC, for archival purposes). But I would not try to suggest that it is of exactly the same quality as 320kbps cbr. v0 averages only around 225kbps (can't remember the exact figure), i.e. it cannot store the same amount of detail.
vegaman is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
Old 08-01-2008, 02:12 AM   #4 (permalink)
500+ Head-Fi'er

Profile
Join Date: Feb 2008
Location: Christchurch, New Zealand
Posts: 826
Default

Originally Posted by vegaman View Post
You forget to mention that this is all in your experience and opinion.

I do prefer v0, for filespace savings and I personally haven't ABX'd it from a 320cbr version yet (though I personally use FLAC, for archival purposes). But I would not try to suggest that it is of exactly the same quality as 320kbps cbr. v0 averages only around 225kbps (can't remember the exact figure), i.e. it cannot store the same amount of detail.
See a couple of threads down 'LAME vs. Vorbis @ 210-250 kbps VBR' for opinions aobut Vorbis and how it's better than LAME mp3.
Anyway, it's ~245 kbps and is exactly the same as 320. I've encoded -v0 mp3 with 95% of time, the bitrate is 250 kbps+ (Public Enemy's 'Welcome To The Terrordome').

The '~' rating doesn't mean too much with VBR mp3 while in Vorbis, it's more exact.

Last edited by chinesekiwi; 08-01-2008 at 02:14 AM..
chinesekiwi is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
Old 08-01-2008, 06:47 AM   #5 (permalink)
500+ Head-Fi'er
 
rhymesgalore's Avatar

Profile
Join Date: Oct 2005
Location: The big black-red-yellow
Posts: 814
Default

Thanks for the answers so far. But this is not strictly about the audible difference, or what format to use. This is really more about the technical differences when encoding in 320cbr or v0.

Sadly i haven't found any documentation on that...
__________________
"They that give up essential liberty to obtain a little temporary safety deserve neither liberty or safety." Ben Franklin, 1759
rhymesgalore is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
Old 08-01-2008, 07:07 AM   #6 (permalink)
500+ Head-Fi'er
 
Publius's Avatar

Profile
Join Date: Nov 2003
Location: Austin, TX
Posts: 625

IM Contacts
Send a message via ICQ to Publius
Default

Don't waste your time asking here. Ask on HA.
Publius is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
Old 08-01-2008, 08:02 AM   #7 (permalink)
500+ Head-Fi'er
 
rhymesgalore's Avatar

Profile
Join Date: Oct 2005
Location: The big black-red-yellow
Posts: 814
Default

Originally Posted by Publius View Post
Don't waste your time asking here. Ask on HA.
My first idea as well . But i wasn't registered there before, and now i have to wait 5 days before i can post, since I registerd with a free email account.

So i thought in the meanwhile i could as well try it here...
__________________
"They that give up essential liberty to obtain a little temporary safety deserve neither liberty or safety." Ben Franklin, 1759
rhymesgalore is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
Old 08-01-2008, 09:03 AM   #8 (permalink)
100+ Head-Fi'er

Profile
Join Date: Apr 2007
Location: Newcastle, Australia
Posts: 232
Default

With the new versions of LAME, a 320kbps file will actually use as much of that 320kbps as it can. There will be silent and non-complicated parts where it obviously won't need the whole 320kbps, which is where VBR comes in to play. Another thing that LAME will do is make full use of the bit reservoir.

Conceptually, it works like this:

A B C D*

Where D is *really* complex, it will use frames A B and C before it to store that 'extra' information for part D. This is how you can get one frame of an MP3 using up MORE than 320kbps. If you are encoding at CBR 320, it will have more space available for those extra complicated bits. The VBR encodings will probably take advantage of the bit reservoir as well, but, as there is less room to move, you might not get as much quality.

But yeah, ask at HA
__________________
Home: XMMS -> Phase 26 USB -> [[SPDIF Coax -> DJM-800] -> NAD C372] -> Sennheiser HD-25 | Krix Equinox 5" speakers

Portable 1: Nokia N78 -> FiiO E3 -> Yuin PK1
Portable 2: Nokia N78 -> Crossroads MylarOne Bijou 2 | ATH-ESW9

Work: Acer Aspire One Netbook w/Ubuntu -> Amarok -> iBasso D2 Boa -> Denon AHD1001K | ATH-ESW9

Feedback thread
psyllium is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
Old 08-02-2008, 02:56 PM   #9 (permalink)
100+ Head-Fi'er
 
E.B.M.Head's Avatar

Profile
Join Date: Feb 2005
Location: Brunswick, Germany
Posts: 350
Default

Well you should keep in mind that LAME normaly uses "Joint-Stereo", unless you force to use a fixed stereo profile (Left/Right Coding, Mid/Side Coding or Intensity Stereo) - but that would be in most cases not very smart. "Joint-Stereo" decides automaticaly which encoding profile to use for a frame. In most cases it will use Mid/Side coding as left and right channel are often very identical in most music. This way you have the main "mono" channel and stereo difference in the second channel. As the stereo differences usually don't need much encoding space, you have more left for the main channel: e.g. 64 kbps for stereo differences and 256 kbps for the main channel. If the music is very different in left and right channel, then LAME uses the left/right encoding and in this case you are limited to 160 kbps left and 160 kbps right.
Intensity stereo is only used at very low bitrate CBR encoding. This downmixes the the channels to one mono channel and the stereo differences for the midrange and high frequency range. The encoding is not phase correct.
Intesity Stereo is in MP1 and Mp2 also called "Joint Stereo" and therefore lots of Audio Noobs think that the LAME "Joint Stereo" is inferior to Left/Right Stereo. In fact it's just a bad name choosen and "Joint Stereo" is the best you could do to your music if you encode it to MP3.
If you think that 320 kbps ain't enough, there is also the Free Format switch in LAMe that gives you up to 640 kbps in CBR mode. But beware: Lots of Players refuse to play anything above 320 kbps (MAD.lib based players are one exception) and you could also reach bitrates with efficent lossless encoders around 600 kbps like Monkey Audio (APE), OptimFrog, True Audio (TTA), TAK or WavPack. For WavPack, Monkey Audio and TTA there are even hardware players like the Cowon D2 or Cowon A3. FLAC and Apple Lossless usually compress worse (around 800 kbps), but are less demanding on the hardware.
__________________
Current personal headphone ranking:
STAX SR Lambda Pro Classic, STAX SR-5 Gold, STAX SR-001, beyerdynamic)))) DJX-1, beyerdynamic)))) DT 990 Pro (250 Ohm), AKG K-501, AKG K-340, beyerdynamic)))) DTX 50, Cowon A3 Buds, beyerdynamic)))) DTX 20, AKG K-14P, Sennheiser Unipolar 2000

Home Rig: iMac -> M-Audio Firewire -> SRD-X pro -> Lambda Pro Classic
Portable 1: WavPack -hhx6 -> Cowon A3 -> DTX 50
Portable 2: iTunes AAC 128 VBR -> iPod 4G -> Stax SR-001
E.B.M.Head is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
Old 08-03-2008, 07:03 AM   #10 (permalink)
100+ Head-Fi'er

Profile
Join Date: May 2008
Posts: 170

IM Contacts
Send a message via AIM to LnxPrgr3
Default

Originally Posted by rhymesgalore View Post
His argumentation about the working of mp3 goes like this: If you work with 320cbr you use 160kbps to save one channel, and the other 160kbps to save the difference between the other channel. But it will never be more than 160kbps per channel.
With CBR, the restriction doesn't exist either. The encoder is free to, say, allocate all 320kbps to the left channel (suppose the right channel is silent), or use mid/side coding and allocate everything to the mid channel (if the sound is completely monaural).

Well, unless you use dual-channel mode, but then you'd be insane

Last edited by LnxPrgr3; 08-03-2008 at 07:06 AM..
LnxPrgr3 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!Facebook it!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
REVIEW: Travagans "Green", "Red" and "White" with "Colors" thrown in for good measure. Update: Travagans Black HeadphoneAddict Headphone Amps (full-size) 117 10-11-2008 05:16 AM
"Identity" discussion (CONTAINS SPOILERS) raif Members' Lounge (General Discussion) 6 10-13-2003 08:29 AM
for fans of "the matrix", "lotr", "evil dead 2" and "the limey&qu redshifter Members' Lounge (General Discussion) 18 01-07-2003 10:59 AM
Competition for DVD? New "D-VHS" format discussion royboy2k Members' Lounge (General Discussion) 13 08-06-2002 04:45 AM



Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 Head-Fi.org
All times are GMT. The time now is 02:32 PM.