Quantcast
Channel: Adobe Community : Popular Discussions - Flash Media Live Encoder
Viewing all articles
Browse latest Browse all 16106

Command Line - Selecting Audio Recording Device

$
0
0

Hi everybody. I'm using the command line to record video from a camera and one of multiple USB microphones. I figured out how to create the XML file dynamically using scripting, and I've figured out how to enumerate the video cameras on the machine so I can put in the correct video source. I also figured out how to enumerate the USB microphones (using WMI if you are curious), but I'm hung up on one point. The microphones all have the same device name. When I open up the FMLE GUI, I see that it differentiates like-named audio devices by attaching an index before the name. So, USB Audio Device may become 2-USB Audio Device, 3-USB Audio Device, etc. I noticed that when I move one of the microphones to another port on the USB Hub it picks up a new index (so, instead of having "USB Audio Device" and "2-USB Audio Device" listed, it may have "USB Audio Device" and "3-USB Audio Device" listed). My question is this. Is there a way to predict the index number of devices? For example, may I ask FMLE via the command line for the list of the available audio devices? Or, is there some place in the WMI to lookup the index?

 

Thanks in advance for any guidance that may be available.

 

Josh


Viewing all articles
Browse latest Browse all 16106

Trending Articles