Graphic Equalizer [SOLVED]

*nix specific usage questions
NareZ
New Cone
New Cone
Posts: 7
Joined: 05 Mar 2011 02:10

Graphic Equalizer [SOLVED]

Postby NareZ » 05 Mar 2011 02:47

Greets to all :)

My Problem: VLC remembers settings, while it is opened as app, but it doesn't work, when you choose which app to use to open file (Ubuntu Right click / Open With / you choose)

In my case settings are saved under ~/.config/vlc/vlcrc.

Brief output of cat vlcrc:

Code: Select all

<...> [equalizer] # Equalizer with 10 bands # Equalizer preset (string) equalizer-preset=headphones # Bands gain (string) equalizer-bands= 4.8 11.2 5.6 -3.2 -2.4 1.6 4.8 9.6 12.8 14.4 # Two pass (boolean) #equalizer-2pass=0 # Global gain (float) equalizer-preamp=7.000000 <...>
Question: Where the universal conf file lurks, to force app manage all requests properly?

Thanks.
Last edited by NareZ on 30 Mar 2011 19:46, edited 2 times in total.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Graphic Equalizer

Postby Jean-Baptiste Kempf » 05 Mar 2011 11:45

Question: Where the universal conf file lurks, to force app manage all requests properly?
/etc/vlc/vlcrc ?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

NareZ
New Cone
New Cone
Posts: 7
Joined: 05 Mar 2011 02:10

Re: Graphic Equalizer

Postby NareZ » 05 Mar 2011 12:50

Code: Select all

cat: /etc/vlc/vlcrc: No such file or directory
I tried copying this file to etc, as you mentioned it should be there:

Code: Select all

sudo cp ~/.config/vlc/vlcrc /etc/vlc/
Anyway still the same effect - each time I chose file to be opened with VLC, I have to rearrange equalizer :cry:

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Graphic Equalizer

Postby Rémi Denis-Courmont » 05 Mar 2011 13:18

There is no universal conf. We cannot force other applications to use VLC settings.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

NareZ
New Cone
New Cone
Posts: 7
Joined: 05 Mar 2011 02:10

Re: Graphic Equalizer

Postby NareZ » 05 Mar 2011 13:41

No, my point is, that when I Right Click / Open With / and choose VLC as app to open lets say mp3 file, I want it to use eq settings which I saved previously.
In my case:

Code: Select all

# Equalizer preset (string) equalizer-preset=headphones # Bands gain (string) equalizer-bands= 4.8 11.2 5.6 -3.2 -2.4 1.6 4.8 9.6 12.8 14.4
I never talked about any other app.

Technique of saving to .config/vlc/vlcrc in user home directory works just perfect, as long as you first open VLC (either terminal, Applications / Sound & Video / VLC media player, ... , etc), then choose which files you play.
If you have file, right click on it and choose VLC as app to open it - all breaks, VLC nulls everything out. My guess - loads its settings from different conf file, otherwise this is a bug.

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Graphic Equalizer

Postby Rémi Denis-Courmont » 05 Mar 2011 17:33

My guess is your desktop link is passing --ignore-config or some other stupid flag like that. Or you have already opened VLC and you are using single instance mode.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

NareZ
New Cone
New Cone
Posts: 7
Joined: 05 Mar 2011 02:10

Re: Graphic Equalizer

Postby NareZ » 05 Mar 2011 18:40

My OS was burned to hard drives from the official *.iso, Ubuntu webpages could offer at time, VLC - from the apt universe.

I use x64 system:

Code: Select all

# uname -srvm Linux 2.6.35-27-generic #48-Ubuntu SMP Tue Feb 22 20:25:46 UTC 2011 x86_64
Deeper thoughts/guesses from the dev crew will be much appreciated.

btw. I'm not trying to open multiple VLC windows at once (please read above, multiple sections of Right click: I tried to express myself as clear as it is possible, but I can post screenshots, if this might help you).

NareZ
New Cone
New Cone
Posts: 7
Joined: 05 Mar 2011 02:10

Re: Graphic Equalizer

Postby NareZ » 28 Mar 2011 23:39

Can someone from the dev crew confirm, that on Ubuntu 10.10 x64 this problem, as explained above, does not exist?
Or at least someone who do not face this issue in the exact same system?

mc2man
Blank Cone
Blank Cone
Posts: 51
Joined: 26 Jan 2009 03:42

Re: Graphic Equalizer

Postby mc2man » 29 Mar 2011 09:56

What you are describing would only happen here if you set custom equalizer values, but didn't set it, (the 10 band equalizer), to always be enabled.
If you set it as enabled then vlc will always will use your custom setting no matter how you open the file(s), either from the r. click, d. l. click or from opening vlc first
(Tools > Preferences > Show settings "all" > Audio > Filters, click the box, save

Code: Select all

# Audio filters (string) audio-filter=equalizer

NareZ
New Cone
New Cone
Posts: 7
Joined: 05 Mar 2011 02:10

Re: Graphic Equalizer [PARTLY SOLVED]

Postby NareZ » 29 Mar 2011 19:34

God bless you, if you believe that this dude exist! :D

All worked as a charm, when I ticked 'Equalizer with 10 bands' in Filters tab, saved settings.
Previously I just chose Headphones band set in Equaliser tab and saved.

However, at first I tried to change config file manually, as you mentioned: audio-filter=equalizer. THIS DIDN'T WORK.
So I assume, that saving settings in the Filters tab writes a bit more code to config.

Does anyone know what else is stored in config?

Thanks in advance.

NareZ
New Cone
New Cone
Posts: 7
Joined: 05 Mar 2011 02:10

Re: Graphic Equalizer [PARTLY SOLVED]

Postby NareZ » 30 Mar 2011 19:45

Sorry for inconvenience, I tried adding this line of code a second time and it magically worked well.

Topic now is marked as SOLVED.

Thanks.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 11 guests