Page 1 of 1

Graphic Equalizer [SOLVED]

Posted: 05 Mar 2011 02:47
by NareZ
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.

Re: Graphic Equalizer

Posted: 05 Mar 2011 11:45
by Jean-Baptiste Kempf
Question: Where the universal conf file lurks, to force app manage all requests properly?
/etc/vlc/vlcrc ?

Re: Graphic Equalizer

Posted: 05 Mar 2011 12:50
by NareZ

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:

Re: Graphic Equalizer

Posted: 05 Mar 2011 13:18
by Rémi Denis-Courmont
There is no universal conf. We cannot force other applications to use VLC settings.

Re: Graphic Equalizer

Posted: 05 Mar 2011 13:41
by NareZ
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.

Re: Graphic Equalizer

Posted: 05 Mar 2011 17:33
by Rémi Denis-Courmont
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.

Re: Graphic Equalizer

Posted: 05 Mar 2011 18:40
by NareZ
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).

Re: Graphic Equalizer

Posted: 28 Mar 2011 23:39
by NareZ
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?

Re: Graphic Equalizer

Posted: 29 Mar 2011 09:56
by mc2man
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

Re: Graphic Equalizer [PARTLY SOLVED]

Posted: 29 Mar 2011 19:34
by NareZ
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.

Re: Graphic Equalizer [PARTLY SOLVED]

Posted: 30 Mar 2011 19:45
by NareZ
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.