Slashdot Mirror


Non-MP3 Codecs?

Vanth Dreadstar asks: "While MP3 is okay, I have begun researching other codecs that would be suitable for my home music use. Lossy codecs such as Ogg Vorbis, AAC, and MPC all seem to have promise, not to mention the lossless codecs such as Shorten (otherwise known as .SHN), LPAC, and FLAC. I would like to know what non-MP3 codecs people are using out there, and why."

18 of 544 comments (clear)

  1. Vorbis and flac by Jeffrey+Baker · · Score: 5, Interesting
    I'm writing a new application and I have chosen the supported audio formats based on practical concerns: license, patent status, and API. MP3 is nice but technically you need to a license from the patent holder to make an encoder. Vorbis has no such limitation so I use it. I use flac for the same reason. Its license agrees with mine.

    Another consideration is the straightforwardness of the API for the library you intend to use. Vorbis has a somewhat reasonble API with a liberal addition of quirks. Also you can easily add metadata to Vorbis files. Ever tried adding metadata to an MP3 file? ID3v1.1 is trivial but ID3v2 has a 95,000 line reference implementation. Uh? UH?

    Any application has to support PCM audio also, since most music collections are primarily on CD.

  2. Re:.ogg by edwarddes · · Score: 2, Interesting

    i dont think hes going for smaller files, but better sound, therfore why not a format like AIFF or even... .wav, it may make huge files, but who cares?

  3. Re:Windows Media Format... by orbital3 · · Score: 5, Interesting

    I recently bought a Rio Volt MP3/WMA CD player, and compared WMA8 with VBR LAME, and LAME won hands down. Both encoders are set to come out around 128kbit, and while both of course have artifacts, the artifacts in WMA are MUCH more noticeable. I guess I'm just alot more sensitive to the type of artifacts WMA produces...

  4. Why are we seeing these boring Ask Slashdot topics by Anonymous Coward · · Score: 1, Interesting

    when Slashdot itself is failng to address the REAL ISSUES we are concerned about??

  5. Re:Ogg Vorbis by resonator · · Score: 2, Interesting

    Speaking of commercial audio players, that's one thing that will keep mp3's around for years to come. The format has had so much market penetration, it won't be easily replaced... plus with all these new-fangled hardware mp3 players (iPod), the infrastructure has kinda been set in stone, no?

  6. distribution by joehahn · · Score: 1, Interesting

    Being a musician and selling music online from our site, we are also trying to deal in electronically distributable compressed formats for $. I dont feel right distributing a Llossy compressed format for minimal $, but I know a lot of people dont really care one way or the other. Ideally, they would be able to melt a cd of the orig 16bit 44.1khz wavs and listen on thier gnarly audiophile system w/ some snacks, but doing this w/ mp3z could be a swarm of annoying artifacts and blorps. This doesnt really matter w/ headphones downtown or in a vehicle going 95mph. Maybe we should offer both lossy and lossless compressed k-rad, so people that care can have the real bits. Do we think enough people have fast enough connections to pay a couple bucks for 300MB of lossless k-rad sound and music?

    --
    *I used to be quite irreverent and ignorant. I am probably much smarter now. I seem to realize this every 45 days or so.
  7. If you have a G4... by 90XDoubleSide · · Score: 4, Interesting

    Sticking with MP3s is a no brainer unless you have to use open software for moral reasons, since Apple has enhanced MP3 encoding/decoding for AltiVec, and this is an area where those gigaFlops do wonders at quick, high-quality encodes and freeing up more CPU for your work (or the visualizer :) during playback.

    --
    "Reality is just a convenient measure of complexity" -Alvy Ray Smith
  8. ogg...but what we really need by crystalplague · · Score: 4, Interesting

    is a ftp database and crawler similar to audiogalaxy only for ogg. it would catch on in no time.

  9. Re:Ogg Vorbis by sahala · · Score: 3, Interesting
    The format has had so much market penetration, it won't be easily replaced...

    Yeah tell me about it...I produce my own tracks (mostly house music), I have a hard time sending out anything but .mp3 files. What's even worse is when people ask for stuff in RealAudio or WMA for streaming purposes. I lose so much quality (especially hi-hat loops and some portions of the basslines) that I have to re-do some of my tracks so you can actually hear certain portions.

  10. for home audio... by American+AC+in+Paris · · Score: 4, Interesting
    If you're looking to compress files for home audio use, then you may as well go ahead and use one of the lossless compression formats, as adding storage space to a home audio system is trivial and you'll be able to hear comparatively more garbage from lossy compression on your home system (rather than on an earpiece headset or cheapie speakers.)

    Bear in mind that the ~4x compression rate listed for lossless compression schemes is heavily reliant on the input. Don't be surprised if you get 1.5-2.5 compression a lot of the time, and remember that there's a good chance you'll get 1:1 (or worse) compression results with a 'random' enough song file.

    --

    Obliteracy: Words with explosions

  11. Which formats support simple batch manipulation? by vrmlguy · · Score: 4, Interesting
    I was going to submit this to "Ask Slashdot", but this seems like a good place to ask.

    JPEG users have available to them some command line utilities that permit simple alteration of images without loss of quality, for example, rotation and flipping. Are there any similar utilities available for any of the major audio compression formats?

    The reason I ask is that I have ripped a number of CDs and the volume levels vary noticibly. I like to listen to MP3s as I work, with the volume turned down far enough that I can hear the music, but any one that I'm on the phone with won't. Unfortuately, there doesn't seem to be a single setting for everything that I've ripped. While I could go back and re-rip, I'd much rather have a toolbox of useful batch utilities. Ideally, it would allow me to write, say, a Perl script that generates a histogram, checks the average and peak volume, and then tweaks a single number in the file header to force it in line with the rest of my collection.

    Is this sort of thing possible?

    --
    Nothing for 6-digit uids?
  12. Re:Why wouldn't I want to give up on mp3s? by 90XDoubleSide · · Score: 3, Interesting
    This does a good job pointing out some of the benefits of Ogg, but some of it makes no sense to me:

    In most cases, a 60kbps OGG file sounds as good as an 128k mp3. An 80k OGG is as good as 160k mp3 and half the size.

    Actually, Ogg only shaves off 30-40% (still respectable, just not revolutionary)

    If you have a portable player, you would appreciate the smaller size with high quality.

    If you have a portable player, you almost certainly can't use Ogg's :)

    If you make computer games, you have a high quality free way of adding a lot of music to your games. (possibly patents for mp3)

    If you want background music in a computer game, why would you want to use a format that eats drastically more processing power?

    You can do 44.1khz and 48 khz audio.

    So can MP3, what's your point?

    The encoder sounds good by default, so music traded on file sharing systems sounds good (unlike all those terrible 128k mp3s encoded by anything that isn't LAME).

    So "The Encoder" for MP3 is bad? If there was just one encoder this would be an argument. And I do hat those 128k bastards just as much as you :) At least iTunes defaults to 160k.

    Now the other points are very valid, but they probably won't get anyone to switch at this point. What we need is a format that gives at least 4x the compression of MP3 with the same quality (and reasonable CPU usage) to get people to switch. Hopefully it will be an open technology like Ogg.

    --
    "Reality is just a convenient measure of complexity" -Alvy Ray Smith
  13. Re:WMA 8 is the way by Venner · · Score: 2, Interesting

    Hrmmm... Actually, as part of my senior project, I did a listening test of some different codecs. WMA8/128kbps, Ogg (RC2) 128kbps, lame mp3 VBR nom. 128kbps. Additionally, I tossed in mp3/256kbps and ogg/256kbps, plus the original source wav.
    The subjects were allowed to listen to the reference wav at any time, and otherwise, only knew they were listening to "a variety of encoding schemes." They were asked to rate the sample on a scale of 1-10 vs the original and to comment on why they rated the way they did.
    The results: WMA came in dead last. mp3 & ogg at 128kbps were evenly matched, with ogg edging out mp3 by a few tenths. The highest rated samples were the mp3 and ogg at 256, although the ogg won by a significant lead - many times it was mistaken for the wave file.
    Here's the interesting bit. When broken into age groups, the majority of the testers (college students, 18-24 years old) were dead on the averages above. The other significant group in the study, people 35 and older, often *did* rate the WMA files as better than the mp3 and ogg. But then again, the range of scores they assigned to all of the samples was much tighter, and they reported hearing far fewer discrepencies between the files. Conclusion: young ears hear better. But then again, I'd hope you'd expect that.

    For those wondering, the samples used were taken from Peal Jam's Daughter, Fool's Garden's Lemon Tree, and John William's Duel of Fates, for their wide variety encoding nightmares :)

    --
    A preposition is a terrible thing to end a sentence with.
  14. Re:WMA 8 is the way by Anonymous Coward · · Score: 3, Interesting

    Ok, i'm just going to assume (based on this post by you and previous posts) that you work at microsoft.

    One thing you should know is that i make embedded digital audio players for a living. I have been doing this for years. I have personally worked with every codec except mp3pro, and i doubt mp3pro will ever mature to market viability. i have seen and ported the wma decoder source, in addition to a variety of other minor things i could mention to provide credibility here.

    * Much better than OGG and MP3

    This is quantitative; most listening tests i have read about state that high quality mp3 encoders (such as lame) and the ogg reference encoder produce better quality output than WMA or AAC. I would guess that this trend will continue; Microsoft makes fast, low quality encoders for their desktop applications so as to provide an enhanced initial user experience. This is evidenced with how WMP behaves - it encodes as fast as possible, but generates low quality (notable artifacts) output, even at bitrates of 96kbps and 128kbps. This definitely refutes the claim that WMAv7 64kbps sounds "as good" as MP3 128kbps.

    * Picture perfect at 128 kbit/s

    No offense, but are you in the marketing department at MS? My response has to be "I'll believe it when i see it." I dont have the golden ears, but i can still tell 128kbps from cd audio, and i dont see this as changing.

    * Supported by hardware (unlike ogg)

    This is a flat out lie. Microsoft has ported their WMA decoder to various embedded architectures, but has no actual hardware support. The support is all in software, running on embedded processors. As was mentioned in previous posts, Ogg has been ported to embedded devices just like WMA; it's just a matter of time before it's ported to all devices.

    * Next version (Corona) will sport 5.1 Dolby, 24 bit samples, 96khz sampling rate, better compression.

    That's nice, except most consumer audio hardware handles 16 bit 44kHz audio, which is what CD audio is. So supporting 96kHz audio might look great on paper, but it does absolutely nothing for you in reality. In terms of 5.1 Dolby, AAC supports multiple channels and look where it's gone - nowhere. Maybe you guys should focus on the features that actually matter?

    * Existing hardware will update firmware to support Corona

    For the love of jesus. Let me drop you a clue:

    * Existing hardware will update firmware to support OGG Vorbis 1.0

    Your blind faith in WMAv8 has converted me - i am now a true believer in alternate technologies. I will devote all my spare time to the proliferation of disruptive technology.

    Thank you for your support.

  15. Re:WMA is about 2x as compact as MP3.... by Nullsmack · · Score: 2, Interesting

    May I point out that they don't need to mess with the player to make everyone switch over to the encrypted only files..

    In fact, I believe that they make WiMP only encode encrypted files with DRM built in. I seem to recall an associate of mine complaining about ripping all his music into wma with WiMP. Then he lost a specific file, and had to rip all his music over again.. Even though, it was still taking up space on his hard drive.. the files on it were useless.

    The only utilities that can encode wma files without the encryption are command line based utilities, right? I know average joe sixpack or Mr Aol Lamer Jr. won't know what to do with those. When was the last time you saw either of those kind of people use a command line and still have a working OS afterword? They're going to use the gui based utilities. Look at all the non-technical people use the gui-based mp3 all-in-one ripping utilities.

    No, I do not see wma as an option until someone releases a 3rd party gui for the command line utility.

  16. AAC.. and what it meant to me by WndrBr3d · · Score: 2, Interesting

    A few years back there wasn an AAC encoder out there (Astrid/Quartex) which outputted rather descent quality audio. It was also a unique codec because it allowed for 5 channels of audio (the ISO standard, Astrids only supported stereo) and had comperable playback at 96kbps.

    We coded a small GUI frontend for it and released it for the web to use. One month later we recieve a 28 page cease and desist from Dolby.

    According to them, the Astrid/Quartex encoder was illegal and violating their patent on the AAC codec. The document stated a liscencing fee of over $10,000 a year for use of the codec.

    So, as far as I'm concerned, AAC will be forever buried under the fat cats over at Dolby.

  17. Re:WMA is about 2x as compact as MP3.... by MADCOWbeserk · · Score: 1, Interesting

    Try muxicmatch jukebox for linux. Also wine with winamp can work... Just a pain to get working. I converted a whole bunch of files to WMA a while ago, not too bad, but it sometimes has a "speaker submerged in a fishtank" sound. I wish I could find an easy way to bring them back to MP3.

    To listen to WMA's now I genally use my RIO anyway.

  18. Arguments for shn by guygee · · Score: 5, Interesting



    After collecting 60 Gb worth of mp3s, I switched to almost strictly shn format
    over 2 years ago. Here is my reasoning:

    1. Stick with a lossless format if you can afford the bandwidth and storage
    space. Plan for the future, when bandwidth and hd space will be much
    more plentiful.

    2. I can definitely hear the difference between lossless and any compressed
    format at 128 kb/s (that annoying wavery sound), and even at 256 kb/s (barely)
    on very delicate passages and high-end speakers.

    3. Also, if you want to reprocess the music (dehiss, dehum, equalize, normalize,
    respatialize, etc) you experience a much more noticeable degradation in the
    sound if you start with a lossy format.

    4. shn is the standard format for trading music.
    It is a lot less work to store in shn then have to decode and reencode every
    time you make a music trade.

    For lots of good links on shn format, see my trading page at
    http://www.vsl.ist.ucf.edu/groups/vtb/TradeList_ 20 01-11-25.html

    (Now that I've come this far, what the hell, trade requests here

    .
    ;-)