MP2

From TMB Wiki
Revision as of 18:36, 3 November 2006 by Jaybeee (talk | contribs) (Playback)
Jump to: navigation, search

MP2 (sometimes also called Musicam) is short for MPEG-1 Audio Layer II. MP2 files usually have an extension of .mp2 but sometimes .mpa is used instead. MP2 has largely been superseded by MP3 (MPEG-1 Audio Layer III) for file sharing and CD ripping, but it remains a dominant standard for audio broadcasting in Europe as part of the DAB digital radio and DVB digital television standards.


Why use MP2?

MP3 should provide superior sound quality to MP2 at the same bitrate so there is no reason to use it for CD ripping or encoding from analogue sources. However since MP2 is the audio format used in DAB and DVB all over the world, the best way to record from these is to use some method to capture the MP2 audio stream straight to disk (e.g. using PCI DVB card). An MP2 created like this will provide a perfect copy of the original broadcast.


Playback

Software Playback

The MPEG-1 specifications say that a MP3 decoder must be able to decode Layer I & II too, so any MP3 player should play MP2 files. MP2 support is probably even wider then MP3 support since it is the audio format used in .mpg files too.

Hardware Playback

In theory all hardware MP3 players should be able to play MP2, but in practice this does not always seem to be the case. Some have no problems playing MP2 files (even if this isn't mentioned anywhere in the players specifications), some will only play them if you give it an .mp3 extension, and others won't play them at all.

If your hardware player only plays MP2 files with an .mp3 extension it might be worth asking the manufacturer if this could be fixed with a firmware update. Try to remember to rename it back to .mp2 before sharing it again, as there are some technical differences between MP2 and MP3 that mean things like ReplayGain only work with real MP3 files. Using a double extension like (e.g. radio_mix.mp2.mp3) might help you remember.

Tagging

MP2 files can be tagged like MP3 files.

Conversion to MP3

Remember that converting from MP2 to MP3 (or any other lossy format) will always result in a (small) loss of quality, so it's best to only convert when you have a really good reason to do so.

What You Need

  • To convert MP2 files to MP3, you'll need to use a LAME compile that correctly accepts MP2 input for decoding. LAME version 3.97 now does as standard, so no special lame.exe fixed for decoding is required. See the LAME page for instructions on how to get the lame.exe
  • ALL2LAME

How Do I Configure ALL2LAME and LAME?

  • First extract the All2Lame.zip file: it actually doesn’t have an installer, you just run the file.
  • Next, move your lame.exe into the ALL2LAME folder. Your folder should now look something like:

All2lame-dir.jpg

As long as lame.exe is in the same folder, that’s it! You don’t need to configure ALL2LAME anymore than that. Easy!

How Does It Work?

  • Run all2lame.exe to start the program and do the following:
    • Drag-drop the MP2 file you want to convert into the white 'Files' area.
    • Copy & paste the following line into the 'Switches' box: -V 2 –-vbr-new
    • Tick the '+' icon at the end of the 'Switches' box: this will save the command so that you won’t need to type it in again.

It should now look like this:

All2lame-gui.jpg

  • It's now ready. Click the 'Encode' button and a window will pop up that looks like this:

All2lame-cmd.jpg

  • Congratulations, that means it's working! An MP3 will be created in the same folder as the MP2 file. You can whack that on your ipod and jump around like they do in the adverts.

Editing

Both MP3 and MP2 files can be losslessly cut and trimmed using: