catia & vlc default connections
Moderators: MattKingUSA, khz
catia & vlc default connections
hi there,
when i run vlc player and play back videos with surround sound i get often a default connection to catia as seen in the picture, and the dialog (often on out 5 of vlc) is routed to the right channel. i have just a 2 channel on board sound. is there a way to make another default? in vlc or also in catia, as i just have 2 audio outs?
and i wonder in general what i do with these surround mixes when i output just stereo: should i just route dialog to left and right and thats it? is there some matrix to calculate surround back to stereo in any other way?
thank you
when i run vlc player and play back videos with surround sound i get often a default connection to catia as seen in the picture, and the dialog (often on out 5 of vlc) is routed to the right channel. i have just a 2 channel on board sound. is there a way to make another default? in vlc or also in catia, as i just have 2 audio outs?
and i wonder in general what i do with these surround mixes when i output just stereo: should i just route dialog to left and right and thats it? is there some matrix to calculate surround back to stereo in any other way?
thank you
Re: catia & vlc default connections
I'm not sure I understand what you want, but if I do, you may try aj-snapshot.
-
- Established Member
- Posts: 186
- Joined: Tue May 26, 2015 12:26 pm
- Has thanked: 2 times
- Been thanked: 16 times
Re: catia & vlc default connections
i recently discovered jack-plumbing, available in the jack-tools package. It allows you to write connections rules that are applied thanks to a daemon.
I wanted to have a system-wide EQ+limiter made of Calf plugins. Problem is that some software are automatically bypassing it by connecting to the system output. Here is an excerpt from my config:
For the number of system channels available (4 instead of 2), you can force that in the jack settings. And there also is a plugin in VLC that remap audio channels to your likings if needed.
I wanted to have a system-wide EQ+limiter made of Calf plugins. Problem is that some software are automatically bypassing it by connecting to the system output. Here is an excerpt from my config:
This way, PulseAudio and Audacious will always automatically be connected to my little rack of effects hosted by Calf host.(disconnect "PulseAudio JACK Sink:front-left" "system:playback_1")
(disconnect "PulseAudio JACK Sink:front-right" "system:playback_2")
(connect "PulseAudio JACK Sink:front-left" "Calf Studio Gear:Equalizer 12 Band In #1")
(connect "PulseAudio JACK Sink:front-right" "Calf Studio Gear:Equalizer 12 Band In #2"
(disconnect "audacious:out_0" "system:playback_1")
(disconnect "audacious:out_1" "system:playback_2")
(connect "audacious:out_0" "Calf Studio Gear:Equalizer 12 Band In #1")
(connect "audacious:out_1" "Calf Studio Gear:Equalizer 12 Band In #2")
For the number of system channels available (4 instead of 2), you can force that in the jack settings. And there also is a plugin in VLC that remap audio channels to your likings if needed.
Re: catia & vlc default connections
@Luc
maybe i wasnt so clear: vlc always connects the wrong way to jack when there are more than 2 channels of video. i havent had that in the past really.. so everytime i need to guess and connect till i think it sounds ok, and i m never sure if i m not missing out some channel...
I will check your suggestions guys, thanks!
maybe i wasnt so clear: vlc always connects the wrong way to jack when there are more than 2 channels of video. i havent had that in the past really.. so everytime i need to guess and connect till i think it sounds ok, and i m never sure if i m not missing out some channel...
I will check your suggestions guys, thanks!
Re: catia & vlc default connections
@ barbouze thank you for your suggestions! I configured the jack settings to 2 outputs , thank you!
now in vlc, what setting do you exactly mean? I just found "force to detect dolby surround" where i m not sure what it really does..
it would be great if there is some settings where vlc would just output / "downgrade" to 2 outputs. thank you
now in vlc, what setting do you exactly mean? I just found "force to detect dolby surround" where i m not sure what it really does..
it would be great if there is some settings where vlc would just output / "downgrade" to 2 outputs. thank you
Re: catia & vlc default connections
found it , brilliant!
i will remap it and will have a try. i m guessing in that box it starts from one (left) to 5 (LF) and as i see usually when i play videos the dialog (center) is number 5 and not number 2 and therefore the mix gets messed up. thanks again!
i will remap it and will have a try. i m guessing in that box it starts from one (left) to 5 (LF) and as i see usually when i play videos the dialog (center) is number 5 and not number 2 and therefore the mix gets messed up. thanks again!
- lilith
- Established Member
- Posts: 1706
- Joined: Fri May 27, 2016 11:41 pm
- Location: bLACK fOREST
- Has thanked: 122 times
- Been thanked: 57 times
- Contact:
Re: catia & vlc default connections
Hi,barbouze wrote:i recently discovered jack-plumbing, available in the jack-tools package. It allows you to write connections rules that are applied thanks to a daemon.
I wanted to have a system-wide EQ+limiter made of Calf plugins. Problem is that some software are automatically bypassing it by connecting to the system output. Here is an excerpt from my config:This way, PulseAudio and Audacious will always automatically be connected to my little rack of effects hosted by Calf host.(disconnect "PulseAudio JACK Sink:front-left" "system:playback_1")
(disconnect "PulseAudio JACK Sink:front-right" "system:playback_2")
(connect "PulseAudio JACK Sink:front-left" "Calf Studio Gear:Equalizer 12 Band In #1")
(connect "PulseAudio JACK Sink:front-right" "Calf Studio Gear:Equalizer 12 Band In #2"
(disconnect "audacious:out_0" "system:playback_1")
(disconnect "audacious:out_1" "system:playback_2")
(connect "audacious:out_0" "Calf Studio Gear:Equalizer 12 Band In #1")
(connect "audacious:out_1" "Calf Studio Gear:Equalizer 12 Band In #2")
For the number of system channels available (4 instead of 2), you can force that in the jack settings. And there also is a plugin in VLC that remap audio channels to your likings if needed.
I exactly want to do the same thing. Could you please shortly describe how you did this? Did you also write a script to start the CALF EQ?
Thanks
edit: What are you doing when you are using headphones?
- bluebell
- Established Member
- Posts: 1927
- Joined: Sat Sep 15, 2012 11:44 am
- Location: Saarland, Germany
- Has thanked: 113 times
- Been thanked: 122 times
Re: catia & vlc default connections
jack-plumbing has to be active all the time. I start it when I log on. XFCE4 has a section for automatic starts.lilith wrote: I exactly want to do the same thing. Could you please shortly describe how you did this? Did you also write a script to start the CALF EQ?
It doesn't matter if jack-plumbing is started before or after jack clients (jack_thru, CALF Plugin Pack, etc.).
Note that jack-plumbing accepts rules with regexps, too.
For Audacity I have a rule like this ("main" is a jack_thru instance that I use as a central point that everything connects to):
Code: Select all
(connect "PortAudio:out_.*[13579]" "main:input_2")
(connect "PortAudio:out_.*[02468]" "main:input_1")
(disconnect "PortAudio:out_.*" "system:playback_.*")
Linux – MOTU UltraLite AVB – Qtractor – http://suedwestlicht.saar.de/
- lilith
- Established Member
- Posts: 1706
- Joined: Fri May 27, 2016 11:41 pm
- Location: bLACK fOREST
- Has thanked: 122 times
- Been thanked: 57 times
- Contact:
Re: catia & vlc default connections
Thanks bluebell.bluebell wrote:jack-plumbing has to be active all the time. I start it when I log on. XFCE4 has a section for automatic starts.lilith wrote: I exactly want to do the same thing. Could you please shortly describe how you did this? Did you also write a script to start the CALF EQ?
It doesn't matter if jack-plumbing is started before or after jack clients (jack_thru, CALF Plugin Pack, etc.).
Note that jack-plumbing accepts rules with regexps, too.
For Audacity I have a rule like this ("main" is a jack_thru instance that I use as a central point that everything connects to):
Code: Select all
(connect "PortAudio:out_.*[13579]" "main:input_2") (connect "PortAudio:out_.*[02468]" "main:input_1") (disconnect "PortAudio:out_.*" "system:playback_.*")
Code: Select all
(connect "PortAudio:out_.*[13579]" "main:input_2")
(connect "PortAudio:out_.*[02468]" "main:input_1")
(disconnect "PortAudio:out_.*" "system:playback_.*")
Rule file does not exist: '/etc/jack-plumbing'.
Rule file does not exist: '/home/marco/.jack-plumbing'.
So, only one of the two is needed.
- bluebell
- Established Member
- Posts: 1927
- Joined: Sat Sep 15, 2012 11:44 am
- Location: Saarland, Germany
- Has thanked: 113 times
- Been thanked: 122 times
Re: catia & vlc default connections
Yes.lilith wrote: Thanks bluebell.
This stuff comes into one of these files, right?Code: Select all
(connect "PortAudio:out_.*[13579]" "main:input_2") (connect "PortAudio:out_.*[02468]" "main:input_1") (disconnect "PortAudio:out_.*" "system:playback_.*")
Rule file does not exist: '/etc/jack-plumbing'.
Rule file does not exist: '/home/marco/.jack-plumbing'.
So, only one of the two is needed.
Linux – MOTU UltraLite AVB – Qtractor – http://suedwestlicht.saar.de/
-
- Established Member
- Posts: 186
- Joined: Tue May 26, 2015 12:26 pm
- Has thanked: 2 times
- Been thanked: 16 times
Re: catia & vlc default connections
Bluebell nailed it
I would recommend using your home path instead of /etc , that way it is easier to find it/edit it.
I would recommend using your home path instead of /etc , that way it is easier to find it/edit it.
I just use another preset for my EQlilith wrote:barbouze wrote: What are you doing when you are using headphones?
- lilith
- Established Member
- Posts: 1706
- Joined: Fri May 27, 2016 11:41 pm
- Location: bLACK fOREST
- Has thanked: 122 times
- Been thanked: 57 times
- Contact:
Re: catia & vlc default connections
I tested this currently, but it does not work. I saved the jack-plumping file under /home/marco/.jack-plumbing with this contentbluebell wrote:Yes.lilith wrote: Thanks bluebell.
This stuff comes into one of these files, right?Code: Select all
(connect "PortAudio:out_.*[13579]" "main:input_2") (connect "PortAudio:out_.*[02468]" "main:input_1") (disconnect "PortAudio:out_.*" "system:playback_.*")
Rule file does not exist: '/etc/jack-plumbing'.
Rule file does not exist: '/home/marco/.jack-plumbing'.
So, only one of the two is needed.
Code: Select all
(disconnect "PulseAudio JACK Sink:front-left" "system:playback_1")
(disconnect "PulseAudio JACK Sink:front-right" "system:playback_2")
(connect "PulseAudio JACK Sink:front-left" "Parametric Equalizer x16 Stereo:Input_1")
(connect "PulseAudio JACK Sink:front-right" "Parametric Equalizer x16 Stereo:Input_1")
(connect "Parametric Equalizer x16 Stereo:output_1" "system:playback_1")
(connect "Parametric Equalizer x16 Stereo:output_2" "system:playback_2")
- bluebell
- Established Member
- Posts: 1927
- Joined: Sat Sep 15, 2012 11:44 am
- Location: Saarland, Germany
- Has thanked: 113 times
- Been thanked: 122 times
Re: catia & vlc default connections
My rule ist a bit different:lilith wrote: I tested this currently, but it does not work. I saved the jack-plumping file under /home/marco/.jack-plumbing with this content
But the connection from pulse to system out is still always established. jack-plumping is running too.Code: Select all
(disconnect "PulseAudio JACK Sink:front-left" "system:playback_1") (disconnect "PulseAudio JACK Sink:front-right" "system:playback_2") (connect "PulseAudio JACK Sink:front-left" "Parametric Equalizer x16 Stereo:Input_1") (connect "PulseAudio JACK Sink:front-right" "Parametric Equalizer x16 Stereo:Input_1") (connect "Parametric Equalizer x16 Stereo:output_1" "system:playback_1") (connect "Parametric Equalizer x16 Stereo:output_2" "system:playback_2")
Code: Select all
(connect "PulseAudio.*:front-left" "main:input_1")
(connect "PulseAudio.*:front-right" "main:input_2")
(disconnect "PulseAudio.*:.*" "system:playback_.*")
Code: Select all
(connect "PulseAudio.*:front-left" "Parametric Equalizer x16 Stereo:Input_1")
(connect "PulseAudio.*:front-right" "Parametric Equalizer x16 Stereo:Input_2")
(connect "Parametric Equalizer x16 Stereo:output_1" "system:playback_1")
(connect "Parametric Equalizer x16 Stereo:output_2" "system:playback_2")
(disconnect "PulseAudio.*:.*" "system:playback_.*")
Linux – MOTU UltraLite AVB – Qtractor – http://suedwestlicht.saar.de/
- lilith
- Established Member
- Posts: 1706
- Joined: Fri May 27, 2016 11:41 pm
- Location: bLACK fOREST
- Has thanked: 122 times
- Been thanked: 57 times
- Contact:
Re: catia & vlc default connections
Still not working Should the pulse - system connection always gets disconnected when I start the Parametric EQ? It's not clear to me to what this rules are coupled.bluebell wrote:My rule ist a bit different:lilith wrote: I tested this currently, but it does not work. I saved the jack-plumping file under /home/marco/.jack-plumbing with this content
But the connection from pulse to system out is still always established. jack-plumping is running too.Code: Select all
(disconnect "PulseAudio JACK Sink:front-left" "system:playback_1") (disconnect "PulseAudio JACK Sink:front-right" "system:playback_2") (connect "PulseAudio JACK Sink:front-left" "Parametric Equalizer x16 Stereo:Input_1") (connect "PulseAudio JACK Sink:front-right" "Parametric Equalizer x16 Stereo:Input_1") (connect "Parametric Equalizer x16 Stereo:output_1" "system:playback_1") (connect "Parametric Equalizer x16 Stereo:output_2" "system:playback_2")
So you might try:Code: Select all
(connect "PulseAudio.*:front-left" "main:input_1") (connect "PulseAudio.*:front-right" "main:input_2") (disconnect "PulseAudio.*:.*" "system:playback_.*")
Code: Select all
(connect "PulseAudio.*:front-left" "Parametric Equalizer x16 Stereo:Input_1") (connect "PulseAudio.*:front-right" "Parametric Equalizer x16 Stereo:Input_2") (connect "Parametric Equalizer x16 Stereo:output_1" "system:playback_1") (connect "Parametric Equalizer x16 Stereo:output_2" "system:playback_2") (disconnect "PulseAudio.*:.*" "system:playback_.*")
This is from the log file when I disconnect by hand:
Code: Select all
Sat Jan 11 20:30:56 2020: Disconnecting 'PulseAudio JACK Sink:front-left' from 'system:playback_1'
Sat Jan 11 20:31:02 2020: Disconnecting 'PulseAudio JACK Sink:front-right' from 'system:playback_2'
Code: Select all
(disconnect "PulseAudio*:.*" "system:playback_")
Last edited by lilith on Sat Jan 11, 2020 7:35 pm, edited 2 times in total.