Streaming video with C#

Asked

Viewed 827 times

0

I need to create an application that will receive video streaming from multiple cameras in real time, as in a security panel where you can monitor what happens through the cameras (as in a surveillance system). For this I intend to use C#, I’ve done something similar but in another language and used Ffmpeg.

In terms of performance, is this feature ideal? Is it compatible with C#? Are there any projects that use and work well? If not, what do you recommend I use? If C# is not a good option, what language do you recommend?


Edit 1: The priority of the project is performance.

Edit 2: Later on, features such as pausing, returning and continuing the video inside the software will be added. Also monitoring of images, such as: issuing a visual and audible alert when there is movement in any camera. These are just some of the features to help you understand better application and your need to have a good performance.

  • 1

    Do you only want to display content from multiple sources on multiple players or receive and redistribute it to other clients? I’ve worked a lot with video solutions in C# and Ffmpeg, but I didn’t understand its application in this context.

  • @Leandroangelo I just need to show the video streaming from several sources in a panel. As if it were a grid, with nine players receiving the images.

  • 2

    So there is not much mystery no, it is up to you to define according to the environment and your comfort, the type of application will develop (Windowsforms, WPF, UWP or Webapp). Then, if any problem appears you come back here and we help solve this specific point

  • 1

    I don’t get it, what’s your specific question? you’re offering the reward for someone to build that solution for you?

  • Obviously, I don’t want you to build an app for me. I was looking for advice from more experienced people who could guide me in building it. If you can’t help, thank you anyway.

1 answer

1

Without a context it is difficult to give a suggestion because you may be trying to make an application UWP, WPF or web.

Assuming you are trying to make a WPF application I would recommend taking a look at wiki of VLC, since they have an entrance dedicated to integration of VLC with C-developed applications# and it seems to be a good starting point.

There are a few more alternatives, but from what I’ve seen, many of them haven’t been updated in years. At least using VLC-based libraries there will always be some support because VLC is one of the software that never will cease to exist.


You can also see examples from Microsoft on how to consume a stream in a uwp application or in a application WPF with recourse to Ffmpeg once you worked with him.

  • The application hasn’t started yet, buddy. I’m studying and looking for material to choose a good path thinking about the performance of it. Whether it will be UWP or WPF I still do not know because I do not know which of the two would bring more quality, but web will not. Thanks for the reply.

  • Keep in mind that UWP only runs on Windows 10 and only runs on the versions it does target. I don’t know the context of your organization but not all have Windows 10 deployed 100%. WFP won’t be a bad bet if you want to look for retro-compatibility.

  • I understood, so it is better to use WFP because I will never have control of where the application will run. Thank you very much for the clarification.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.