Page 1 of 1

Cannot choose Audio Output via command line

Posted: 11 May 2014 00:09
by caleb666
Hi,

I'm trying to change the audio output to DirectX with a selected output device, and then also turn SPDIF output:

Code: Select all

vlc --aout="directx" --directx-audio-device="TX-NR727 (Intel(R) Display Audio)" --spdif
This launches VLC with the audio settings untouched (the audio output is "Automatic").

Using VLC 2.1.3 on Windows 8.1 x64.

Re: Cannot choose Audio Output via command line

Posted: 11 May 2014 09:14
by RĂ©mi Denis-Courmont
"TX-NR27..." does not look like a valid device GUID. Please recheck your command line.

Re: Cannot choose Audio Output via command line

Posted: 11 May 2014 09:35
by caleb666
"TX-NR27..." does not look like a valid device GUID. Please recheck your command line.
I thought I was supposed to use the same string that appears in VLC?

How do I find out the device GUID?

By the way, even running "vlc --aout=directx" doesn't seem to work. Have you tried the commandline yourself?

Re: Cannot choose Audio Output via command line

Posted: 12 May 2014 22:46
by Ludrax
Have you tried the commandline yourself?
same result :!:

Picking output audio device w command line in .bat file

Re: Cannot choose Audio Output via command line

Posted: 19 May 2014 17:00
by caleb666
Bump!

So I guess that this is a bug?

Re: Cannot choose Audio Output via command line

Posted: 28 May 2014 10:32
by caleb666
"TX-NR27..." does not look like a valid device GUID. Please recheck your command line.
Hello Remi,

I found out the GUID and I tried the same command-line with a GUID instead of the name, but still nothing changed in VLC.

I simply want a command line option that will let me do the following:
* Switch the audio output module to "DirectX audio output"
* Enable "Use S/PDIF when available"
* Choose a particular output device

Is this possible with VLC or not? Because the command lines above don't do anything.
Even trying to switch the output device to DirectX by --aout=directx doesn't change anything in VLC!