I have a pet project I want to write that would require a .Net application to be able to capture a video stream from an HDMI input into the PC. I see capture h/w devices out there that will allow for HDMI input, but these normally come with their own software for the client. Is there a h/w appliance that will allow me stream via HDMI into my PC and then capture that stream directly using .Net? Or, is there a different approach that I should be looking for?
The important part is that I want to get the video stream from an external video source that outputs via HDMI into a .Net application on my PC.
Thanks
Neil
Related
I have 30 virtual audio devices and I need to get output from each browser to process audio in real time. To get audio output I am using c# library (naudio) that connects to audio device and gets audio stream. Basically, I need to get sound stream from every browser. How can I set audio device? Or maybe use different way to capture output stream?
I tried using use-file-for-fake-audio-capture to get audio stream from file, but it can not be done for real time processing.
I am using seleium to control browser to get to websites which audio I want to process (eg. youtube or facebook). But I have like 30 browsers running at the same time. I think I can use NAudio library to capture stream from a specific application but I didn't find some information about it.
I want to create a custom windows sound output device. If you select this device in your sound settings (Playback device) it will send the sound stream via custom code to a socket, listening on an other device. The problem ist, that I dont realy know how to do it.
I normaly program Python and Flutter / Android and dont know much about windows programming.
I read in the microsoft documentations that the MMDevice API can mabe help me.
https://learn.microsoft.com/en-us/windows/desktop/coreaudio/mmdevice-api
Please give me some advices
Currently, the only legal way to create an audio endpoint is to implement an audio driver that emulates a hardware audio device. See MSVAD and SysVad examples in MS WDK.
I want to record a two-way conversation using a speaker and microphone in my UWP app. Currently I am able to record using a microphone, and generate an audio file using a microphone, but now I want to allow the user to select both microphone and speaker and generate two files for speaker and microphone, e.g when the user uses Skype call my UWP app should be able to record both my voice (Microphone) and the recipient's voice (Speaker).
Is it possible using WASAPI and stereo mix? How do we implement it in UWP code (C#)?
Is it possible using WASAPI and stereo mix? How do we implement it in UWP code(C#).
You could not make a recorder plugin to record audio stream comes from other apps with uwp. And WASAPI does not provide such api to approach. If you want to capture the audio comes from your live chat app, the recorder should be internal, not plugin. The simple principle can be to write audio streams from the microphone and headphones on the same timeline.
I'm looking for a way to stream audio from a phone directly to the pc. I'm not talking about music or something but every sound of the phone (voice, ringing etc). Is this possible over an USB cable and the Serial Port of the PC without using third party tools or libraries? I'm currently developing in C#.
No! Do not connect your phone line to the microphone port. The high voltage on the line (60-120V when ringing) may damage your PC.
What you need is a PHONE-to-LINE in adaptor (or sometimes PHONE-TO-MIC adapter) found in electronic stores. Here is an example from AMAZON:
http://www.amazon.com/TRX-20-Direct-Connect-Telephone-ADAPTER/dp/B000KL0XA6/ref=sr_1_1?ie=UTF8&qid=1459033666&sr=8-1&keywords=phone+recording+device (I have no ties or experience with this particular one).
Then, your plug it in to your PC's LINE-IN or MIC (see instructions of the device). From this point on you should be able to record the audio from a call using any sound recording application.
Please keep in mind that PHONE recording may be illegal in some states, if the parties involved are not informed.
If your objective is to detect if a telephone number exists, your method may be intrusive, since it will attempt a call.
In any case, a voice modem could be a better choice, assuming you can find one. Windows used to have a voice modem API & Stack, which should enable you to dial a phone number, wait for the answer or no answer, and then, capture the audio from the remote end. Under most conditions it should detect the ring, busy, or number not available.
The open source project Asterisk (asterisk.org) has "heavy duty machinery" to do this job, albeit it requires specialised programming. There is even an answering machine detection: Asterisk Answering machine detection (AMD) always detects receiver as MACHINE
I'd like to create an application client-server in C# (WPF).
On the server side I want to make a capture from few cameras and I want to send a preview to client (monitoring system).
Apart from that client can select one of the preview and take the audio stream from one of the camera.
What library I can use to get stream from few webcams simultaneously?
What about audio streaming from one of the camera?
I don't know how to synchronize video and audio streaming.
Do you have any idea how to achieve this functionality?