Help - Search - Members - Calendar
Full Version: Mono Vs. Stereo Encoding?
Hydrogenaudio Forums > Hydrogenaudio Forum > General Audio
Klouny
I have some old operas from the 40s, 50s, and 60s, on CDs that were originially recorded in mono and I want to rip them to mp3. Would it make any sense to encode them in stereo (VBR joint stereo) if the original recording is OBVIOUSLY in mono? I've been contemplating whether or not to encode in VBR joint stereo like I do my other CDs, or just encode in VBR mono? I'd really like some advice on this. Thanks.
Primius
It should make no difference for mono-sources, if you encode with Mono or Stereo VBR, because the encoder will "notice" that both channels have equal information and will encode the second channel very effective, so the bitrate for Mono encoding should be equal to the bitrate encoded with stereo.

You might want to encode to stereo/mono for compatibility reasons.
(old players, that cant play mono/stereo files for example).

Greetings, Primius
Gabriel
Using Lame, you should encode in mono in this case. Lame has some built-in safety checks that will not allow the side channel to be totally starved. Joint stereo will then produce an higher bitrate than mono.
PiezoTransducer
I'm curious if they did any mono-> stereo tricks for the CD. I know how to check for this in Adobe Audition using the channel mixer. Unsure otherwise.
pepoluan
I second Primius. Better to encode in js. After all, how much will the difference be?
Klouny
Well. Thanks for your opinions! I suppose I'll just encode in joint stereo VBR, thanks!
Shade[ST]
QUOTE(Gabriel @ Aug 9 2006, 07:49) *
Using Lame, you should encode in mono in this case. Lame has some built-in safety checks that will not allow the side channel to be totally starved. Joint stereo will then produce an higher bitrate than mono.
Say you use lame to encode a stereo song in mono (using -mm)
How is the stereo collapsed? Does it use an average? A sum? Is there a chance there could be phase cancelation?
jmartis
QUOTE(Shade ST @ Aug 9 2006, 18:18) *

QUOTE(Gabriel @ Aug 9 2006, 07:49) *
Using Lame, you should encode in mono in this case. Lame has some built-in safety checks that will not allow the side channel to be totally starved. Joint stereo will then produce an higher bitrate than mono.
Say you use lame to encode a stereo song in mono (using -mm)
How is the stereo collapsed? Does it use an average? A sum? Is there a chance there could be phase cancelation?

you must use -a if you want to downmix from stereo to mono

(edit - fixed quote name. again.)
dv1989
What happens otherwise? There was a topic containing similar discussion about these two options a while back; was it not determined that the inclusion of both options was to do with raw PCM input and the result of either would be the same? I apologise if I'm wrong.
jmartis
QUOTE(dv1989 @ Aug 9 2006, 18:33) *

What happens otherwise? There was a topic containing similar discussion about these two options a while back; was it not determined that the inclusion of both options was to do with raw PCM input and the result of either would be the same? I apologise if I'm wrong.

if you only use -m m and the source wav is stereo, you will get a mp3 file twice as long, half speed, containing "two channels in one" rolleyes.gif

J.M.
Shade[ST]
QUOTE(jmartis @ Aug 9 2006, 12:36) *
if you only use -m m and the source wav is stereo, you will get a mp3 file twice as long, half speed, containing "two channels in one" rolleyes.gif

J.M.

So -a makes it use some type of interpolation, then.
About my other questions (phase cancellation, etc.), what of them?
jmartis
QUOTE
' date='Aug 9 2006, 18:41' post='419244']
QUOTE(jmartis @ Aug 9 2006, 12:36) *
if you only use -m m and the source wav is stereo, you will get a mp3 file twice as long, half speed, containing "two channels in one" rolleyes.gif

J.M.

So -a makes it use some type of interpolation, then.
About my other questions (phase cancellation, etc.), what of them?

If you use -a, it simply averages the stereo samples (out of phase samples are cancelled,...)

J.M.
dv1989
Right you may be - but I quote the lame documentation, specifically switchs.html:

QUOTE
* -a downmix
Mix the stereo input file to mono and encode as mono.
The downmix is calculated as the sum of the left and right channel, attenuated by 6 dB.

This option is only needed in the case of raw PCM stereo input (because LAME cannot determine the number of channels in the input file).
To encode a stereo PCM input file as mono, use "lame -m s -a".

For WAV and AIFF input files, using "-m m" will always produce a mono .mp3 file from both mono and stereo input.


QUOTE
mono
The input will be encoded as a mono signal. If it was a stereo signal, it will be downsampled to mono. The downmix is calculated as the sum of the left and right channel, attenuated by 6 dB.


What you have described must be some type of bug or exception; surely the developers would not let such an occurence take place otherwise.
jmartis
QUOTE(dv1989 @ Aug 9 2006, 19:21) *

What you have described must be some type of bug or exception; surely the developers would not let such an occurence take place otherwise.

ok, I used DBoweramp frontend for LAME.exe, it must be that!

edit- yeah, it works fine with the -m m switch without the frontend smile.gif
Gabriel
In current version, mono downmix is simply done by averaging input samples, so yes, if you provide out of phase signals, they will cancel.
Sunhillow
... just like the "mono" switch on an amplifier
Gabriel
When the input is a wav file, -a and -m m are similar.

Only when using raw input or pipes then -m x might be used to specify the input, and -m m is then different from -m s/j -a.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.