Creating a .bat file to set audio i/o module settings.

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.
gbrown
New Cone
New Cone
Posts: 5
Joined: 16 Mar 2011 17:38

Creating a .bat file to set audio i/o module settings.

Postby gbrown » 16 Mar 2011 18:48

Hey everyone,

I'm new to the forums, but have used VLC for years. Let me give a brief (I'll try at least) overview of what I'm trying to do with VLC, in case there's a better way to do what I'm doing, and then I'll ask for help with what I think is required for my solution.

I'm working at a University where we record up to 20 lectures during any given hour, stream them through a Barix device (that basically creates an intranet audio stream accessible through http), and record them using TotalRecorder on a local machine. Previously we had been opening instances of WinAmp for each stream, and having TR record each simultaneous stream that way, but due to some driver issues in Win7 this no longer works.

OK, so here's my solution: install virtual sound cards, have each instance of VLC output through a different "card", and then tell each instance of TR to pick up its audio stream from a different card.

This is where you come in: How do I tell VLC (in a .bat file or some other script) to open with a specified audio output? Right now on VLC I can go into "Tools --> Preferences --> Audio --> Output module:" and change the module to "DirectX audio output", and then select my device as the virtual sound card I want for that instance.

I've tried playing with --aout_directx and a million variations of that and have read through the ENTIRE help file VLC generates, and I cannot get VLC to open with the changed settings. I CAN get it to launch the appropriate streaming address, but that's it.

Any help would be appreciated. :-) Thanks!

gbrown
New Cone
New Cone
Posts: 5
Joined: 16 Mar 2011 17:38

Re: Creating a .bat file to set audio i/o module settings.

Postby gbrown » 16 Mar 2011 22:57

Hey, I'd still love some developer help on my .bat issue, but for anyone else with a similar problem, I found a workaround.

I found this program called AutoIt, that's basically a very simple scripting program. I made a very crude script so I have a player-piano of sorts that clicks everything I need VLC to do when it opens each time. I'd still love to just make a .bat file that opened VLC with the right settings, but for now this works.

gbrown
New Cone
New Cone
Posts: 5
Joined: 16 Mar 2011 17:38

Re: Creating a .bat file to set audio i/o module settings.

Postby gbrown » 17 Mar 2011 17:38

I thought for sure this would be a simple solution . . . Nobody knows how to do this?


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Baidu [Spider], Frogon, Google [Bot] and 52 guests