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?
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 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.
Is there a way to send video to HoloLens. There seems to many options to transmit the video captured by HoloLens to PC, but is there a way around?
I want to send the data captured by my camera (stereo camera) to HoloLens and display it there in real time. Is there a way to do so?
I have a c# app.
At the moment I upload jpegs to my server to be rendered onto client browser to give the appearance of a video.
To save on bandwidth I am considering whether I can convert these jpegs to H264 video format and provide a constant stream to my server.
I have seen example (notably) on this forum that will do this using ffmpeg.
However, the examples show that the video is created and THEN can be uploaded to my server.
The only way I can see this working is to do continuous 'cut off''s of say 15 seconds worth of footage and upload to my server.
Is there a better way?
ADDITIONAL NOTES ABOUT MY APPLICATION
The main point of the application is to allow customers to view motion caught on their CCTV cameras - using IP cameras - via a web browser.
These images HAVE to be MPJEG format.
The other side of the application is that the customer also wants to see live streaming on the browser as well.
Normally, to do this with a high FPS rate and low bandwidth usage the H264 encoder is used. But, H264 uses predictive encoding which cannot be used for motion 'stills'.
The live streaming I have at the moment is not bad. But will never rival H264 either in FPS or/and bandwidth.
So, I wanted to see if I can have 2 streams going to my server. One would save motion 'stills' to the hard drive and the other will display the live feed.
To achieve this I would presume I would have to do this 'cut off' at time chosen by me - like 15 seconds.
The better option would be to never have a cut off but pipe the stream to my server.
FFMPEGServer seems to offer this but is not available for Windows OS.
I am unsure how to use FFMPEG to send a 'stream' to my server and then receive it on my server C# code.
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