--mute & --not-mute command line options

Feature requests for VLC.
LordLiverpool
Blank Cone
Blank Cone
Posts: 16
Joined: 19 Oct 2019 22:28

--mute & --not-mute command line options

Postby LordLiverpool » 10 Nov 2020 21:47

I've searched pretty thoroughly and it seems clear that there isn't a command-line option to mute or unmute VLC. This would be handy for those cases where you mute the sound and close VLC, forgetting to unmute it. I have VLC come on in the morning as an alarm, and the other day I'd left it muted. The commands to set the volume level make no difference. I can also easily imagine scenarios where you'd want automatically to mute the sound without affecting the volume setting.

LordLiverpool
Blank Cone
Blank Cone
Posts: 16
Joined: 19 Oct 2019 22:28

Re: --mute & --not-mute command line options

Postby LordLiverpool » 22 Apr 2021 10:18

Anyone?
As it stands, if you mute any instance of VLC and close it, all subsequent executions will be muted unless manually unmuted. A --not-mute option would be really handy.

If it doesn't exist, I may have a go adding it myself.

LynnComstock
New Cone
New Cone
Posts: 2
Joined: 22 Apr 2021 10:30

Re: --mute & --not-mute command line options

Postby LynnComstock » 22 Apr 2021 11:09

FAQ: "How do I create a new topic or post a reply?
To post a new topic in a forum, click "New Topic". To post a reply to a topic, click "Post Reply"."
Great if I could find "New Topic".
Sorry to pick on you, but your level of posting tells me that you are both knowledgeable and involved.
A screen shot would be great. Thanks

LordLiverpool
Blank Cone
Blank Cone
Posts: 16
Joined: 19 Oct 2019 22:28

Re: --mute & --not-mute command line options

Postby LordLiverpool » 22 Apr 2021 11:32

I'm not sure what that means.

I've discovered where the mute setting is being stored, at least in my case, and it seems to be at the Windows level. It's in the registry at this setting:

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\LowRegistry\Audio\PolicyConfig\PropertyStore\699e4275_0\{219ED5A0-9CBF-4F3A-B927-37C9E5C5F14F}]

Presumably this will vary according to which audio output you're using. So, a kludgy fix suggests itself: export this key in its unmuted state, and merge it before running VLC. I've tested this and it works.

LordLiverpool
Blank Cone
Blank Cone
Posts: 16
Joined: 19 Oct 2019 22:28

Re: --mute & --not-mute command line options

Postby LordLiverpool » 22 Apr 2021 11:34

You can use Process Monitor to see which registry entry is being modified to store the mute setting. Alternatively, try exporting the whole PropertyStore key before and after muting and do a file compare to see what changed.

Lotesdelere
Cone Master
Cone Master
Posts: 9964
Joined: 08 Sep 2006 04:39
Location: Europe

Re: --mute & --not-mute command line options

Postby Lotesdelere » 22 Apr 2021 14:26

FAQ: "How do I create a new topic or post a reply?
To post a new topic in a forum, click "New Topic". To post a reply to a topic, click "Post Reply"."
Great if I could find "New Topic".

Image

LordLiverpool
Blank Cone
Blank Cone
Posts: 16
Joined: 19 Oct 2019 22:28

Re: --mute & --not-mute command line options

Postby LordLiverpool » 22 Apr 2021 15:26

Yes, that's the New Topic button. However, the topic already existed, and was created by me.

Confused 101
New Cone
New Cone
Posts: 1
Joined: 19 Jul 2021 13:39

Re: --mute & --not-mute command line options

Postby Confused 101 » 19 Jul 2021 17:10

My page does not have that at all. There is nothing that I can click on to create a new topic.

How can I add an attachment to show you or a screenshot?

Lotesdelere
Cone Master
Cone Master
Posts: 9964
Joined: 08 Sep 2006 04:39
Location: Europe

Re: --mute & --not-mute command line options

Postby Lotesdelere » 20 Jul 2021 09:44

For attachments you need to use a third party hosting site.

For files you can use https://www.zippyshare.com or https://wetransfer.com
For pictures https://imgur.com or https://postimages.org

LordLiverpool
Blank Cone
Blank Cone
Posts: 16
Joined: 19 Oct 2019 22:28

Re: --mute & --not-mute command line options

Postby LordLiverpool » 31 Dec 2022 14:29

As a postscript to this, there's a utility called SoundVolumeView which allows you to mute or unmute a process using the process ID or process name. This is perfect for launching VLC from the command line.


Return to “VLC media player Feature Requests”

Who is online

Users browsing this forum: No registered users and 12 guests