BUG: stereo -> mono not working

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
mhavo
Blank Cone
Blank Cone
Posts: 11
Joined: 10 Dec 2006 18:44

BUG: stereo -> mono not working

Postby mhavo » 15 May 2007 11:49

Hi!

I'm trying to transcode audio from soundcard to mono mp3. Not working... "channel=1" setup is not recognized. Audio is always joint-stereo. Version is 0.8.6.b

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Postby DJ » 15 May 2007 12:06

If I may be so bold to ask the stupid question? How are you determining this?

mhavo
Blank Cone
Blank Cone
Posts: 11
Joined: 10 Dec 2006 18:44

Postby mhavo » 15 May 2007 15:05

Code: Select all

vlc.exe --intf rc dshow:// :dshow-vdev="" :dshow-adev="" :dshow-size="" :sout="#duplicate{dst='transcode{acodec=mp3,ab=192,channels=2}:duplicate{dst=std{access=file,mux=raw,dst="C:\test192.mp3"}}',dst='transcode{acodec=mp3,ab=128,channels=1}:duplicate{dst=std{access=file,mux=raw,dst="C:\test128.mp3"}}'}"
Both files are joint-stereo. Am I missing something?

mhavo
Blank Cone
Blank Cone
Posts: 11
Joined: 10 Dec 2006 18:44

Postby mhavo » 18 May 2007 08:33

Well I'm not the only one with this problem. viewtopic.php?t=35687&sid=f11de573814cd ... c2024b525a
So it would be nice if developers say at least something about this.

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Postby DJ » 18 May 2007 08:45

I'm doing this from memory as I seldom do mono MP3 files. There are 2 options in the format (rather confusing as I recall) Joint stereo was designed for stereo files where as stereo was designed for by lingual files (Mono). Left channel is the default language and Right channel is optional. I know this works in VLC because occasionally I get files that default to the left channel and were encoded in the wrong way. Also VLC plays mono through both speakers. Personally I believe this is incorrect. While most people do like and want this.

mhavo
Blank Cone
Blank Cone
Posts: 11
Joined: 10 Dec 2006 18:44

Postby mhavo » 18 May 2007 08:50

Ok?

But how do I encode stereo input to mono mp3? And how do I tell to encoder to produce real stereo? (Not joint-stereo) Am I still missing something? (Yes I do ;) )

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Postby DJ » 18 May 2007 09:31

I know that the default for the decoder is Stereo and NOT Joint-stereo. But a flag in the file will change this to what it needs to be.

As far as the encoding goes, I don't know what the default is. I assume it is Joint-stereo or the stereo would default to the left channel and not do a real stereo. There are no options to change this that I am aware of, other than the 1 channel option in the Stream output menu. I have tried to go the other direction and do multi-channel when the source is multi-channel, but that doesn't work either. I suspect that this option was never finished.

mhavo
Blank Cone
Blank Cone
Posts: 11
Joined: 10 Dec 2006 18:44

Postby mhavo » 18 May 2007 10:26

So.

Are there going to be fix for this mono-problem? Or is it so 'minor' that this BUG will remain as it is?

:?: :?: :?:

Is there any workaround to produce mono file????

:?: :?: :?:

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Postby DJ » 18 May 2007 10:51


mhavo
Blank Cone
Blank Cone
Posts: 11
Joined: 10 Dec 2006 18:44

Postby mhavo » 18 May 2007 11:56

Thank you so much!

:D

mhavo
Blank Cone
Blank Cone
Posts: 11
Joined: 10 Dec 2006 18:44

Postby mhavo » 04 Jun 2007 09:02

04.06.2007: The status of Ticket #1198 is still in 'Not started' state... too sad. :(
21.08.2007: Still not started. Still waiting.

mhavo
Blank Cone
Blank Cone
Posts: 11
Joined: 10 Dec 2006 18:44

Re: BUG: stereo -> mono not working

Postby mhavo » 21 Aug 2007 08:43

It would be great if we can hear at least something about this from the coders. I can guess that this issue is not so big to fix in the code...

funman
Developer
Developer
Posts: 1159
Joined: 03 Sep 2006 04:03
VLC version: master
Operating System: All of them
Location: Lost, please help me

Re: BUG: stereo -> mono not working

Postby funman » 22 Aug 2007 01:53

unfortunately nobody in the team has time/knowledge to work on this item

try aenc=twolame in the transcode chain

funman
Developer
Developer
Posts: 1159
Joined: 03 Sep 2006 04:03
VLC version: master
Operating System: All of them
Location: Lost, please help me

Re: BUG: stereo -> mono not working

Postby funman » 22 Aug 2007 02:19

by the way mono encoding works fine for me (using nightly build)

Code: Select all

file in.mp3 in.mp3: MPEG ADTS, layer III, v1, 128 kBits, 44.1 kHz, JntStereo
this looks like stereo

Code: Select all

./vlc/bin/vlc -I dummy -vvv --color in.mp3 --sout "#transcode{acodec=mp3,channels=1}:standard{access=file,mux=raw,dst=out.mp3}" vlc:quit
and then this looks like mono:

Code: Select all

file out.mp3 out.mp3: MPEG ADTS, layer III, v1, 64 kBits, 44.1 kHz, Monaural
listening is fine

can you please try a nightly build ? you can get one at http://nightlies.videolan.org

the bug may have resolved itself, so let us know !

fouj@x
New Cone
New Cone
Posts: 1
Joined: 19 Sep 2007 17:04

Re: BUG: stereo -> mono not working

Postby fouj@x » 19 Sep 2007 17:11

Actually, it works when converting a stereo file to mono, but not when trying to get a dshow input and save it as a mono file.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 27 guests