LAME encoder bit rate?

Author
Skyline_UK
Max Output Level: -54 dBFS
  • Total Posts : 2133
  • Joined: 2004/04/15 17:55:09
  • Location: Midlands, UK
  • Status: offline
2012/04/06 13:36:17 (permalink)

LAME encoder bit rate?

I was just looking at my command line for LAME in "External Encoder Configuration", and I've always had:-
lame %I -b 192 -m s -h -c -V 1 -B 320 %O
 
I know the 192 after '-b' denotes bit rate and I was wondering whether I should increase that, having read Ian Corbett's article "What Data Compression Does To Your Music" in this month's Sound On Sound:
http://www.soundonsound.com/sos/apr12/articles/lost-in-translation.htm  (You'll need a sub to view the whole article.)
Basically, after a lot of technical ins and outs he advises at the end "The bottom line is that higher bit rates produce better-sounding encoded files".  Which seems obvious really.  I was wondering whether to change the 192 to 256 or 320?  Looking at my command line I may have got it screwed anyway: I have -b 192 and later on -B 320, or are these two parameters different?

My stuff
 
Intel Sandy Bridge i7 2600 @ 3.4GHz, 4 cores, 8 threads, 16GB RAM.
OS & Programs drive: 240GB SSD
Data drives: 1 x 1TB drive RAID mirrored, plus extra 1TB data drive 
Windows 10 Home 64 bit
Cakewalk by BandLab 64 bit, Studio One 3, 
Band In A Box 2016, Ozone 8
+ too many other plugins
BandLab page
#1

8 Replies Related Threads

    Lanceindastudio
    Max Output Level: -29 dBFS
    • Total Posts : 4604
    • Joined: 2004/01/22 02:28:30
    • Status: offline
    Re:LAME encoder bit rate? 2012/04/06 14:11:14 (permalink)
    I like 320 all day - it is worth the file being 9mb or so-

    Lance

    Asus P8Z77-V LE PLUS Motherboard   
    i7 3770k CPU
    32 gigs RAM
    Presonus AudioBox iTwo
    Windows 10 64 bit, SONAR PLATINUM 64 bit
    Lots of plugins and softsynths and one shot samples, loops
    Gauge ECM-87, MCA SP-1, Alesis AM51
    Presonus Eureka
    Mackie HR824's and matching subwoofer
    #2
    Jonbouy
    Max Output Level: 0 dBFS
    • Total Posts : 22562
    • Joined: 2008/04/14 13:47:39
    • Location: England's Sunshine South Coast
    • Status: offline
    Re:LAME encoder bit rate? 2012/04/06 14:26:44 (permalink)
    The only reason I find to use mp3 these days is for web streaming services such as Soundcloud, Soundclick etc in which case unless you are using a premuim service the playback rate is likely to be 128kb.

    For those I normally encode at 192kb as most of these services re-encode after upload anyway and my experience has shown that they seem to me to be less mangled by doing that.

    If I need a high quality file for transfer I don't use mp3 anyway I use a lossless codec instead, which one will depend on where the file is going but for storage at my end I use Flac.

    So to sum up, encode as per the destinations requirement.

    IIRC Lame's -b parameter is not case sensitive i.e. -b -B are the same thing. (but by all means check, I'm just going from memory here)
    post edited by Jonbouy - 2012/04/06 15:11:19

    "We can't do anything to change the world until capitalism crumbles.
    In the meantime we should all go shopping to console ourselves" - Banksy
    #3
    Jind
    Max Output Level: -73 dBFS
    • Total Posts : 878
    • Joined: 2007/09/08 16:14:48
    • Status: offline
    Re:LAME encoder bit rate? 2012/04/06 14:41:39 (permalink)
    I use 320 for all Lame encoding.  Even thought I find it hard or almost impossible to tell the difference between 256 and 320, anything less is usually noticeable so I just keep it set to 320.

    Jind
     
    Sonar X2 PE, Cakewalk V Studio 100; Intel i7 w/ 16 GB Ram, MS Windows 8.1
    #4
    Jonbouy
    Max Output Level: 0 dBFS
    • Total Posts : 22562
    • Joined: 2008/04/14 13:47:39
    • Location: England's Sunshine South Coast
    • Status: offline
    Re:LAME encoder bit rate? 2012/04/06 15:14:28 (permalink)
    Jind


    I use 320 for all Lame encoding.  Even thought I find it hard or almost impossible to tell the difference between 256 and 320, anything less is usually noticeable so I just keep it set to 320.


    Regardless of the destination requirement?

    I'm curious to find out if there is some benefit of doing that if the destination is a 128kbs streaming site, I haven't found that to be the case but I'd be interested to learn of something I hadn't considered.

    "We can't do anything to change the world until capitalism crumbles.
    In the meantime we should all go shopping to console ourselves" - Banksy
    #5
    Jind
    Max Output Level: -73 dBFS
    • Total Posts : 878
    • Joined: 2007/09/08 16:14:48
    • Status: offline
    Re:LAME encoder bit rate? 2012/04/06 15:46:51 (permalink)
    Jonbouy


    Jind


    I use 320 for all Lame encoding.  Even thought I find it hard or almost impossible to tell the difference between 256 and 320, anything less is usually noticeable so I just keep it set to 320.


    Regardless of the destination requirement?

    I'm curious to find out if there is some benefit of doing that if the destination is a 128kbs streaming site, I haven't found that to be the case but I'd be interested to learn of something I hadn't considered.
    While I'm unsure of the technicalities, if given the option to upload at the highest possible bit rate even if the destination is just going to covert it for use, doesn't it seem logical to choose the highest bit rate possible.  I suppose if you know what a site uses for encoding you could tailor your conversion to match theirs, but if not, I'd provide them with the best possible medium to down convert - if WAV is an option go with that, if MP3 I'd rather provide them the highest possible encode even if they plan to drop down the bit rate for steaming.  As I said, it just seems somewhat logical to me.  I'm sure more knowledgeable types will correct my misgivings if I'm mistaken and I welcome it.


    Jind
     
    Sonar X2 PE, Cakewalk V Studio 100; Intel i7 w/ 16 GB Ram, MS Windows 8.1
    #6
    daveny5
    Max Output Level: 0 dBFS
    • Total Posts : 16934
    • Joined: 2003/11/06 09:54:36
    • Location: North Carolina
    • Status: offline
    Re:LAME encoder bit rate? 2012/04/06 21:20:43 (permalink)
    Its a question of size vs quality. If you need a smaller file, then use 128 or 192. If you don't care about the size and want the better quality, then go with 256 or 320. 

    Dave
    Computer: Intel i7, ASROCK H170M, 16GB/5TB+, Windows 10 Pro 64-bit, Sonar Platinum, TASCAM US-16x08, Cakewalk UM-3G MIDI I/F
    Instruments: SL-880 Keyboard controller, Korg 05R/W, Korg N1R, KORG Wavestation EX
    Axes: Fender Stratocaster, Line6 Variax 300, Ovation Acoustic, Takamine Nylon Acoustic, Behringer GX212 amp, Shure SM-58 mic, Rode NT1 condenser mic.
    Outboard: Mackie 1402-VLZ mixer, TC Helicon VoiceLive 2, Digitech Vocalist WS EX, PODXTLive, various stompboxes and stuff. 
    Controllers: Korg nanoKONTROL, Wacom Bamboo Touchpad
    #7
    bitflipper
    01100010 01101001 01110100 01100110 01101100 01101
    • Total Posts : 26036
    • Joined: 2006/09/17 11:23:23
    • Location: Everett, WA USA
    • Status: offline
    Re:LAME encoder bit rate? 2012/04/06 21:30:59 (permalink)
    Different requirements for different applications. 

    If I'm transferring a work in progress to my MP3 player to evaluate offsite, it'll be 320kb/s. Can I tell the difference between 256 and 320? Hell, no. But filesize doesn't matter, so what the heck.

    If I'm sending a part for a song via email, so the mixer can try it and see if it fits the song, I'll send it at 192Kb/s to reduce the file size.

    If I'm uploading to SoundClick, I know they're going to re-encode it to 128kb/s and degrade the sound (even if I send it to them at 128kb/s!). Experimentation has shown that the higher the quality I send them, the less degradation there is when they re-encode it. But they have a 10MB file size limit, so I have to send them the highest bitrate that still comes in under 10MB. That might be 192Kb/s or it might be 320kb/s, depending on the length of the song.

    Then you've got variable bit rate as another possibility. With VBR each block can be encoded at a different bitrate. This can improve fidelity in sections that have a lot of high-frequency content while reducing the average bitrate and overall file size. For example, I have a longish song (~7 minutes) that will only compact to under SoundClick's 10MB size limit by using VBR. To do it with constant bitrate (CBR) I'd have to drop down to 128kb/s, which is unacceptable. With VBR, the bitrate will vary between 150 and 240 kb/s. That's not as big a compromise as it may seem.

    What follows is just my opinion: 192Kb/s is the minimum acceptable rate, 224kb/s is good enough for emailing to friends and sending to SoundClick, 256 kb/s is indistinguishable from a CD (check the bit rates of songs you've bought online - most are 256; most music distributed to radio stations is equivalent to 256), and 320kb/s is an indulgence for when file size and file transfer times are irrelevant.


    All else is in doubt, so this is the truth I cling to. 

    My Stuff
    #8
    Skyline_UK
    Max Output Level: -54 dBFS
    • Total Posts : 2133
    • Joined: 2004/04/15 17:55:09
    • Location: Midlands, UK
    • Status: offline
    Re:LAME encoder bit rate? 2012/04/07 08:01:20 (permalink)
    Thanks all, esp. bitflipper.
    I removed the '-B 320' from the command line I had.  According to the site below that lists the switch codes there is in fact a difference between -b and -B.  Lower case specifies bit rate and upper specifies 'max VBR/ABR bitrate', but at the bottom of that site page is says 'The use of -B is NOT RECOMMENDED' (followed by impenatrable explanation!)
    http://lame.cvs.sourceforge.net/viewvc/lame/lame/doc/html/switchs.html
    I've added a new profile at 256 so when I export I can pick 192 or 256, depending.

    My stuff
     
    Intel Sandy Bridge i7 2600 @ 3.4GHz, 4 cores, 8 threads, 16GB RAM.
    OS & Programs drive: 240GB SSD
    Data drives: 1 x 1TB drive RAID mirrored, plus extra 1TB data drive 
    Windows 10 Home 64 bit
    Cakewalk by BandLab 64 bit, Studio One 3, 
    Band In A Box 2016, Ozone 8
    + too many other plugins
    BandLab page
    #9
    Jump to:
    © 2025 APG vNext Commercial Version 5.1