Very technical MP3 question

cardovacardova 743 Posts
edited November 2007 in Strut Central
Is there a way to tell if a low bitrate MP3 has been re-encoded at a higher rate?You know, without playing it out loud on a high end system.

  Comments


  • my guess would be that you have to listen to tell. I don't think you can trace it back because you could theoretically have an audio cd of an album in wav files, but the original source could have been mp3s. Then say if it was imported into a computer as wavs, it would appear to be wavs, or 320 mp3 or whatever it's set at. I don't think there is a way to trace it back.

    I'm no computer csi though. I'm just assuming that you really can't tell because somewhere down the line even your 256 mp3 could have originally been a 192 and you'd never know because it was re-tagged at 256.





  • kubkub 46 Posts
    if it's reencoded to average or constant bitrate then no
    if it's reencoded to variable bitrate then yes you can notice it, because it will have low bitrates overall.

  • If you're interested in knowing how mp3 compression effects your music try the old accapella trick - load up an original file (wav, aiff etc) and then load up an mp3 in a multitrack program. Phase invert one of the files and then play both of them back at the same time - what you hear is the difference in the mp3. If it was exact you should hear nothing. It's quite interesting, there's a lot more lost than you'd think, though the average user probably can't tell.

  • DORDOR Two Ron Toe 9,900 Posts
    If it's been done with lame I think it might show up in the tag.

    But it can be done. There was a great post on Oink that showed you how to tell. To bad it's gone now.

    It was a big no-no to re-encode.

  • Now that I think about this again I recall reading about a very complicated method to do this on Hydrogenaudio once. It seemed to be very very very complicated.

  • pjl2000xlpjl2000xl 1,795 Posts
    Yeah thats called transcoding an mp3. Do searches on google with that keyword.
    here is a good article on it and maybe you can reverse engineer it from here. also here is that link for the
    Hydrogenaudio site but that shit is way to complicated for my ass.






    Transcoding MP3 Files - Notes and Hints
    Article By: Andrew B. Davidson - andrewdavidson/atandrewdavidson/domcom
    Copyright ?? 2005 Andrew B. Davidson. All Rights Reserved.
    Last Updated: October 2005
    What is Transcoding?
    Transcoding is the process of taking an audio file encoded with a lossy audio encoder (such as an MP3, WMA, or Ogg Vorbis file) and re-encoding, typically for the purpose of lowering the bitrate. For example, you may want to fit more files in your portable MP3 player's memory. Transcoding generally reduces the audio quality. However, if you are going to listen to the files in a non-audiophile environment (e.g. a car or plane), the quality loss may not be noticable.
    When transcoding, the MP3 must be decompressed (if only temporarily) to a decoded format (e.g. raw PCM) before re-encoding. Because of quality concerns, transcoding is not recommended, but sometimes it is unavoidable.
    If at all possible, re-rip the audio from the original source and re-encode from that instead of transcoding. But, sometimes the original source is not available, or the original recording is actually the MP3 itself. In such cases you may be forced to transcode.
    Is transcoding really necessary?
    If you are transcoding simply to extract a small portion of a large file, you may not need to transcode at all. Instead, use a utility like MP3 Direct Cut which can work on the MP3 audio directly, without transcoding.
    Is there any point to Transcoding upward (i.e. increasing the bitrate)?
    Transcoding upwards offers no quality benefit whatsoever, and results in a bigger file, so most of the time it is completely pointless. There is no point to transcoding upward (e.g. from 128Kbps to 256Kbps) except in the extremely unusual situation of a hardware player not supporting certain bitrates. For example, early MP3 players sometimes didn't support very low bitrates (like 32Kbps). To play MP3 files on those players, you may be forced to transcode upward.
    Similarly, there is no point to transcoding to a higher frequency response. There is no point in transcoding a 32KHz file to 44.1KHz file. Just keep it at 32KHz when transcoding.
    What makes transcoding sound bad?
    Very often transcoding sounds fine. There is a slight quality loss, but for most non-audiophile purposes (e.g. casual listening) it will work out fine. In my experience, a well-encoded 192Kbps or higher bitrate MP3 at 44.1KHz frequency can be brought down to 128Kbps for listening in a car or other noisy environment, or using poor headphones in a portable MP3 player.
    In general, however, transcoding sounds bad when you are changing a file's frequency response. This is done more often with low-bitrate spoken word audio. In general, for best results when transcoding, you should not change the file's frequency response. Or, if you must change the frequency response, try to keep it an even multiple (e.g. go from 32KHz to 16KHz). In other words, if you have a 64Kbps MP3 file at 32KHz, it may sound better to transcode it to a 16KHz file than a 22KHz file. Your MP3 encoder should offer these settings (although they may be buried in an Advanced Settings dialog box).
    Also, transcoding to a different encoder entirely (e.g. MP3 to Ogg Vorbis or WMA to MP3) may sound bad, due to the way the encoder algorithms interact.
    Does any of this apply to lossless file formats?
    Lossless file formats like FLAC, SHN, and regular PCM WAV or AIFF files do not suffer from any transcoding problems, as long as you maintain the same frequency response and bits per sample between files. Lossless file formats are designed to maintain 100% of the information of the original audio. No information is lost when encoding, so as long as you stick to lossless file formats, transcoding is not an issue. In fact, one could argue that you are not actually "trans"coding when converting between lossless file formats, because there is no encoding going on to begin with.
    How can I make my files smaller and have them still sound OK?
    One way that you may not have considered is to transcode from stereo to mono. For spoken word audio, stereo rarely matters anyway. If your original files are stereo, you can transcode to mono and save space.
    Summary: Things to Avoid

    * Avoid transcoding in general. If possible, re-rip from the original source.
    * Never transcode to a higher bitrate (e.g. 128Kbps to 192Kbps). It is pointless and wasteful.
    * Never transcode to a higher frequency response (e.g. 32KHz to 44.1KHz).
    * Never transcode from mono to stereo.
    * Avoid transcoding between different encoders (e.g. WMA to MP3)
    * Avoid changing the frequency response when transcoding (if you must, it is best use a even multiple like 32KHz to 16KHz)

    Useful Audio Utilities

    * LAME is the default MP3 encoder. A must-have utility for high-quality MP3 encoding.
    * MP3 Direct Cut is a must-have utility for editing MP3s. You can remove parts, change the volume, split files or copy regions to new files without decompressing into PCM. This may eliminate your need to transcode.
    * ThisFolder utilities may also be of some use to you when manipulating MP3s.
Sign In or Register to comment.