Slashdot Mirror


Audio Format Transcoding for Compatibility?

brandorf asks: "With the multitude of compressed audio formats that are available today, (MP3, Ogg, AAC, and FLAC to name very few) our music libraries start to spread across quite a few different formats. While this isn't a problem for desktop/media PC use, as programs like Winamp or iTunes have plugins available for almost every format. However, when it's time to start using a portable unit, it's unavoidable that some files will get transcoded. Have there been any studies or experiments as to how similar the codecs really are? Will transcoding from Format A to B sound worse than going from A to C? What's your experience with this?"

17 of 64 comments (clear)

  1. Hydrogen Audio have tested this by doofusclam · · Score: 5, Informative

    http://www.hydrogenaudio.org/forums/index.php?show topic=32440

    The site insists on proper ABX tests too, not some thirteen olds insisting they can tell the difference between FLAC and Monkey's Audio codecs.

    1. Re:Hydrogen Audio have tested this by Anonymous Coward · · Score: 4, Insightful

      ...not some thirteen olds insisting they can tell the difference between FLAC and Monkey's Audio codecs.

      I'm twenty-one, and I can tell the difference: FLAC is GPLed, Monkey's Audio is not.

    2. Re:Hydrogen Audio have tested this by Fermata · · Score: 2, Insightful

      Fortunately, FLAC is "BSDed" not "GPLed" so it has a much better shot at widespread adoption - i.e. in commercial hardware and software products.

      Myabe when you're thirty-one, you'll *really* be able to tell the difference.

    3. Re:Hydrogen Audio have tested this by Fweeky · · Score: 3, Insightful

      The codec portions (libflac and friends) are BSD licensed; the FLAC tools themselves are GPL.

      WavPack is another nice lossless BSD-licensed codec, which is more advanced in some respects, if not as well supported.

  2. If you're that concerned... by Anonymous Coward · · Score: 4, Insightful

    Use a lossless format for archival purposes (any format really since you won't use it on your portable), then use MP3 for everything else. MP3 is the only thing that pretty much every portable can play. OGG and Windows Media are a close second but I would never consider Windows Media format.

  3. Quality Loss by Sebilrazen · · Score: 5, Funny

    I've noticed significant reduction in lows and an unsettling amount of distortion when I go from vinyl to wax cylinder.

    --
    "There are no facts, only interpretations." --Friedrich Nietzsche.
    1. Re:Quality Loss by dstone · · Score: 5, Insightful

      I've noticed significant reduction in lows and an unsettling amount of distortion when I go from vinyl to wax cylinder.

      Run a green, felt-tipped pen around the outside of the wax cylinder. It will restore the low frequencies lost from vinyl. I would describe the restored sound as quite earthy, rather than airy though. If airy is what you're going for, I suggest making make two light applications of green felt-tipped marker, rather than one heavy one. This however, could result in very cinnamon flavored mids and highs though, so be careful. In a pinch, you could use a black felt-tipped pen, but don't just use any old Sharpie. Use something really expensive, preferably immediately after writing a page of taoist scriptures on parchment paper. Northern taoist is fine, but southern taoist would be better, especially if you listen to a lot of jazz. Unless it's smooth jazz. Oh, and insulate yourself with 24K gold arch supports before trying any of this, otherwise the earth's own vibrations could mellow your high frequencies, resulting in distinctly cedar-flavored vocals.

  4. Transcode? Junk in, junk out by anacron · · Score: 2, Insightful

    If you have a lossless source, the quality of the derived audio should be as good as an original rip of the CD itself. That's the whole point of lossless encoding. If you're going from lossy->lossy, then any transcoding will introduce garbage, but how much garbage depends on how good the original source is. .anacron

  5. Re:Hasn't this been asked a thousand times already by NanoGator · · Score: 2, Informative

    "Hasn't this been asked a thousand times already"

    No, RTFA. I'll give you a little clue: read the bit about A to B and A to C.

    --
    "Derp de derp."
  6. FLAC, ALE, etc. are the way to go by Anonymous Coward · · Score: 5, Funny

    Seriously. Encode your music in a lossless format, then transcode it to whatever lossy format you use on the go. Sure, it's much bigger, but it will be bit-for-bit accurate! Even if you can't tell the difference on your $50 computer speakers and bundled iPod headphones, you can feel good because you know it's better.

    Also, it will get you laid.

    Love, your hard drive manufacturer.

  7. easy.. by polyp2000 · · Score: 2

    encode from mp3 to flac ... ;)

    --
    Electronic Music Made Using Linux http://soundcloud.com/polyp
  8. Why not just keep lossless copies? by zoeblade · · Score: 3, Interesting

    Hard drive space is plentiful. Just rip everything to a lossless format, such as FLAC, or even .wav or .aiff if you can't be bothered with the hassle, then make a convenient shell script to convert everything into another format as and when required. That way, you get the best sounding MP3s or Ogg Vorbis files with none of the bad side effects of transcoding, and as soon as any given codec is improved or replaced by a better one, you won't have to worry about not taking advantage of the shiny new algorithms.

  9. Re:lossy != bad by Paladin128 · · Score: 2, Insightful

    Essentially the same on a $20 boom box maybe. Listen to it on a decent hi-fi. On my sub-$1000 rig (Yamaha HTR-5150 reciever, a pair Boston Acoustic CR-9's), lossy sounds noticeably worse than non-lossy. With my Linux box as the audio source, and an S/PDIF-out (so you can't claim it's my crappy sound card's fault for a shitty signal), if I'm actually listening (as opposed to having music just "in the background" for a conversation) I can certainly hear the difference between 160kbps Vorbis and FLAC. Hell, I can often tell what compression method is used (between Vorbis and MP3) by the types of artifacts. MP3's, for instance, have a huge drop in harmonic complexity (VERY noticeable in violins and cello!) and a limp, flat, soundfield. Vorbis, though not as terrible as MP3, is a hair... soft and muddy.

    Both work rather well for portable units with cheap headphones. But for my home system, it's FLAC and CD-Audio.

    --
    Lex orandi, lex credendi.
  10. Just an FYI by Andy+Dodd · · Score: 4, Insightful

    Requantizing audio of a given format to reduce its bitrate is likely to cause less of a problem than switching formats.

    Simply put, each format has different criteria on what information is thrown away and what is not. Thus, for example, something that MP3 may keep but AAC throws away will not be present if you transcode from AAC to MP3, IN ADDITION to losing anything that AAC keeps but MP3 throws away. The same holds true in reverse.

    --
    retrorocket.o not found, launch anyway?
  11. Re:lossy != bad by cahiha · · Score: 2, Informative

    Different lossy codecs throw away different parts of the audio stream. Trasncoding from one lossy format to another is essentially throwing away the superset of those parts. If you encode at a high enough bitrate, a "lossy" codec throws away almost nothing. If you think that there is no discernable difference, then how do you explain the fact that neither of the lossy formats throw away the entire superset to begin with for superior compression? Codecs have something called a "bitrate". The higher the bitrate, the less they throw away. If you set the bitrate high enough, they become extremely conservative at what they throw away.

  12. Re:lossy != bad by cahiha · · Score: 2, Insightful

    On my sub-$1000 rig (Yamaha HTR-5150 reciever, a pair Boston Acoustic CR-9's), lossy sounds noticeably worse than non-lossy.

    That statement makes no sense whatsoever. Just digitally adjusting the volume down a little on your recording is "lossy" coding, since you can't recover the original signal from the reduced volume signal. Does that sound worse? I don't think so.

    The point is: if you set the bitrate for a lossy codec high enough, you won't hear a difference. If you set it even higher, you won't hear a difference even if you re-encode in another lossy codec once. Etc. As a rule of thumb, the point at which that happens still is before you hit the bitrate of lossless audio codecs.

    If you hear a difference, either you are using a bad codec, or you are setting the bitrate too low, or there is something else wrong with your setup.

  13. Audiophiles.. by Flamekebab · · Score: 2, Interesting

    I only speak for myself, but I know that I consider it silly encoding anything above about 150kbps ABR Ogg Vorbis, because above that, I can't hear the difference. I've been used to listening to 128kbps CBR MP3s for so long that I can't tell the difference any more. Sure, they're crappy PC speakers, but why bother with anything better if I simply cannot tell the difference. A musical friend of mine tried to test this - he played me a song twice, at different bitrates - I couldn't hear any difference. Surely you're listening to the wrong sort of music if you get distracted by the bitrate.. I mean, if it's *really* low then there's obvious reason, even I can tell at the extreme low end of the bitrate spectrum. I'd rather have manageable filesize and reasonable quality. However, I demand more digital music players to be ogg vorbis compatible! What I wouldn't give for one of those sleek HP jukebox jobbies.. *drools*