开发者

Capture devices - Mono c#

开发者 https://www.devze.com 2023-01-15 04:39 出处:网络
I\'m looking for a way to开发者_如何学Python list all capture devices (audio and video) with Mono under Linux: microphones, webcam, etc... but I couldn\'t find anything. Under windows, it\'s easy doin

I'm looking for a way to开发者_如何学Python list all capture devices (audio and video) with Mono under Linux: microphones, webcam, etc... but I couldn't find anything. Under windows, it's easy doing this with DirectShow, but couldn't find anything like this under Linux. Of course I could list those devices with a system command line, and parse the string, but before doing this I wanted confirmation that nothing like this exists for Mono.

Thks for your attention.


For video, take a look at V4L. My brief search of Google for Mono bindings did not turn up anything promising, but feel free to look.

For audio, most modern Linux distributions will have PulseAudio installed, which will know about all the audio capture devices in the machine automatically, and which one the user prefers to use at the time. Again, I don't know of any Mono bindings for this either.

0

精彩评论

暂无评论...
验证码 换一张
取 消