Posts: 12
Threads: 3
Joined: Feb 2018
Hi
Is it possible to turn the stereo sound into mono?
I want to do the work shown in the figure below.
I do not want to downmix both channels, I will do choose a specific channel (Left or Right) and copy it to mono channel.
How do I do this?
The link below shows how to do this with the ffmpeg command line.
https://trac.ffmpeg.org/wiki/AudioChanne...monostream
Posts: 10.957
Threads: 56
Joined: May 2017
21.02.2018, 10:56
(This post was last modified: 21.02.2018, 10:57 by Selur.)
Yes, Hybrid can set custom channel mappings through sox. There is an option for this under Audio->Base->Audio encoding->Filtering iirc.
Will post the exact way of doing what you want later after work. (in ~8hrs)
Cu Selur
Posts: 12
Threads: 3
Joined: Feb 2018
(21.02.2018, 10:56)Selur Wrote: Yes, Hybrid can set custom channel mappings through sox. There is an option for this under Audio->Base->Audio encoding->Filtering iirc.
Will post the exact way of doing what you want later after work. (in ~8hrs)
Cu Selur
thank you very much.
I'm waiting for your guidance.
Posts: 10.957
Threads: 56
Joined: May 2017
21.02.2018, 18:49
(This post was last modified: 21.02.2018, 18:50 by Selur.)
So what you want can be done this way:
- Start Hybrid
- Load your Source (Base->Open File)
- set 'Base->Processing->Audio' to 'custom'
- enable 'Audi->Base->Audio Encoding Options' (audio reencoding is necessary since you can't change the channel layout otherwise)
- enable 'Audi->Base->Audio Encoding Options->Filtering->Downmix' to 'custom' and enter '2v1' into the box on the right. This tells sox to only use the second channel (2) with it's full volume (v1), if you wanted to use the left channel instead you would use '1v1' if you wanted to mix both channels you could use '1v0.5,2v0.5'. You could also use '2v1 2v1' if you wanted the ouput to be stereo and each of the channels should contain the second audio track of the input.
- set the 'Audi->Base->Audio Encoding Options->Encoder' option the way you want them
- add the audio setting to the audio queue 'Audi->Base->Add current'
- configure Hybrid the way you want
Cu Selur
Posts: 12
Threads: 3
Joined: Feb 2018
(21.02.2018, 18:49)Selur Wrote: So what you want can be done this way:
- Start Hybrid
- Load your Source (Base->Open File)
- set 'Base->Processing->Audio' to 'custom'
- enable 'Audi->Base->Audio Encoding Options' (audio reencoding is necessary since you can't change the channel layout otherwise)
- enable 'Audi->Base->Audio Encoding Options->Filtering->Downmix' to 'custom' and enter '2v1' into the box on the right. This tells sox to only use the second channel (2) with it's full volume (v1), if you wanted to use the left channel instead you would use '1v1' if you wanted to mix both channels you could use '1v0.5,2v0.5'. You could also use '2v1 2v1' if you wanted the ouput to be stereo and each of the channels should contain the second audio track of the input.
- set the 'Audi->Base->Audio Encoding Options->Encoder' option the way you want them
- add the audio setting to the audio queue 'Audi->Base->Add current'
- configure Hybrid the way you want
Cu Selur
Hi.
I use '3v1' command to convert 6 channels audio to mono (just for test), but the software did not do this, the audio is still 6 channels.
The new audio is 6 channels with the third channel (3) set as full volume (v1), and other channels set to zero volume (v0).
I don't need this 6 channels audio, i want a mono audio.
How to delete channels with zero volume?
This is my source audio for test:
And this is Hybrid output with '3v1' command:
Posts: 10.957
Threads: 56
Joined: May 2017
Might bei a bug with the Channel mappings will look at it this evening.
Posts: 10.957
Threads: 56
Joined: May 2017
23.02.2018, 18:21
(This post was last modified: 23.02.2018, 18:22 by Selur.)
Ahh,.... do not include the other channels,
just use:
NOT
-> I you use the second, you tell Hybrid to create 6 channel output.
Feeding Hybrid with 5.1 audio and using '3v1' I just end up with mono output and the channel mapping is mono.
If that is not the case for you I need a debug output level 9 of the job creation to know what you are doing.
Cu Selur
Posts: 12
Threads: 3
Joined: Feb 2018
(23.02.2018, 18:21)Selur Wrote: Ahh,.... do not include the other channels, just use:
NOT
-> I you use the second, you tell Hybrid to create 6 channel output.
Feeding Hybrid with 5.1 audio and using '3v1' I just end up with mono output and the channel mapping is mono.
If that is not the case for you I need a debug output level 9 of the job creation to know what you are doing.
Cu Selur
I Feeding Hybrid with 5.1 audio and
just used '3v1' command and Hybrid output is 6 channels.
Here is the debug file:
Posts: 10.957
Threads: 56
Joined: May 2017
Quote: I need a debug output level 9 of the job creation to know what you are doing.
and the attached file is a debug level 4, which contains the job creation and processing,...
I repeat: I need a
DebugOutput Level 9 of the
job creation.
Cu Selur
Posts: 10.957
Threads: 56
Joined: May 2017
Found the problem.
-> Looking into it.