Cannot choose Audio Output via command line

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
caleb666
New Cone
New Cone
Posts: 9
Joined: 11 May 2014 00:04

Cannot choose Audio Output via command line

Postby caleb666 » 11 May 2014 00:09

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.

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

Re: Cannot choose Audio Output via command line

Postby Rémi Denis-Courmont » 11 May 2014 09:14

"TX-NR27..." does not look like a valid device GUID. Please recheck your command line.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

caleb666
New Cone
New Cone
Posts: 9
Joined: 11 May 2014 00:04

Re: Cannot choose Audio Output via command line

Postby caleb666 » 11 May 2014 09:35

"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?

Ludrax
Big Cone-huna
Big Cone-huna
Posts: 568
Joined: 07 Jul 2010 14:28

Re: Cannot choose Audio Output via command line

Postby Ludrax » 12 May 2014 22:46

Have you tried the commandline yourself?
same result :!:

Picking output audio device w command line in .bat file
An' if ain't broke, then don't try to fix it...

caleb666
New Cone
New Cone
Posts: 9
Joined: 11 May 2014 00:04

Re: Cannot choose Audio Output via command line

Postby caleb666 » 19 May 2014 17:00

Bump!

So I guess that this is a bug?

caleb666
New Cone
New Cone
Posts: 9
Joined: 11 May 2014 00:04

Re: Cannot choose Audio Output via command line

Postby caleb666 » 28 May 2014 10:32

"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!


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 27 guests