Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Audio encoding

Reply
 
Thread Tools Search this Thread Display Modes
Old 6th February 2002, 15:01   #1  |  Link
1loser
Registered User
 
Join Date: Feb 2002
Location: San Diego
Posts: 200
mp2 vs mp3

What is the difference between mp2 and mp3?

When would you use mp2 vs mp3?

I read in a post that TMPGEnc uses mp2 to make a VCD but I thought I was able to successfully use mp3 when creating a VCD.
1loser is offline   Reply With Quote
Old 6th February 2002, 16:36   #2  |  Link
sibe
Registered User
 
Join Date: Dec 2001
Posts: 174
Simply put, mp2 is the predecessor of mp3, so mp2 is an older audio format. But because the (S)VCD standart uses mp2 you need this to create these kinds of disks.

I think it's possible to create a VCD with mp3 audio, but I don't know if there are any standalone players who support this, because it's non-standart.

Sibe
sibe is offline   Reply With Quote
Old 6th February 2002, 18:54   #3  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,746
As far as I remember, at least MPEG-1 Layer 2 audio (MP2) does not use such complex algorithms to ignore unrecognised frequencies (psycho-acoustic analysis), therefore it requires more bitrate than Layer 3 audio, but is easier to implement in hardware and faster to decompress. I'd recommend to ask authors of MP3 encoders or decoders, they shall know best.
LigH is offline   Reply With Quote
Old 7th February 2002, 08:51   #4  |  Link
tangent
Ogg + Vorbis + XviD
 
tangent's Avatar
 
Join Date: Dec 2001
Location: Singapore
Posts: 182
Both MP2 and MP3 go through the same first process where the original frame of 1152 samples (for long blocks) is decomposed into 32 subbands of equal frequency bandwidths. After this, the two codecs split off into two different paths.

For MP2, a 1024 point FFT is applied to the entire window to perform the frequency analysis for the psychoacoustic engine. Masking curve is calculated, and the power of each subband is examined. If the entire subband falls under the masking curve, then the whole subband is not encoded. Bits are then allocated to each subband according to the Signal-to-Mask ratio, then each subband is normalised and quantised according to the bits provided.

For MP3, an 18-point MDCT is applied to each subband. This provides both the spectrum analysis and the coefficients to encode. The psychoacoustics engine decides which coefficients are audible (falls below the masking curve) and which are not and encodes just the ones which are audible.

In general, MP3's encoding is more efficient and allows for decent quality at the bitrates of around 128kbps. However at the higher bitrates of >256kbps, I expect MP2 to be as good as, if not better than MP3 because MP2 doesn't suffer from the pre-echo effects which MP3 (as well as other transform coders) always suffer from.
tangent is offline   Reply With Quote
Old 7th February 2002, 09:06   #5  |  Link
DSPguru
BeSweet Author
 
DSPguru's Avatar
 
Join Date: Oct 2001
Location: On top of a supercompact cardinal
Posts: 3,506
layer3 also includes an entropy encoder (huffman).
DSPguru is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:20.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.