I
I
IlyaEvich2014-08-14 12:22:59
RTMP
IlyaEvich, 2014-08-14 12:22:59

Where to start implementing a program that will capture the desktop screen at 20-30 fps. into a video stream and send via RTMP to C#, C+?

Help me please.
The task is to implement a program for capturing the desktop screen into a video stream and sending it to the server via the RTMP protocol for further broadcasting this stream on various devices (PCs, laptops, smartphones). It is necessary to implement this program in C# (C++) under Windows. At the same time, the project manager sees this task as raising an "RTMP server" under Windows, the server will be a regular computer from which a video stream captured from the desktop of this computer will be broadcast, which does not fit in my head at all.
The only implementation that I can try to do is to raise an nginx-rtmp server from under Windows, configure it, write a wrapper for ffmpeg.exe in C # and thus capture and broadcast a video stream. Whether something will turn out or not - I do not know another matter.
Help, please, if someone faced a similar task, good advice.
PS: Please don't poke my nose into Google search results - I've been googling for three days and didn't find anything useful.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Valentine, 2014-08-14
@vvpoloskin

There are really few articles on working with ffmpeg and nginx-rtmp in RuNet
It will turn out, I did it, but... without C/C# and under Linux
. A more correct option is to deal with the libraries of the windows version of ffmpeg (and VLC is also possible), connect them to your project and call the necessary functions from there. You can sort it out in a couple of business days.

A
artanets, 2014-08-15
@artanets

I probably didn’t understand you quite correctly, but what prevents using vlc to broadcast a desktop picture using one of the protocols (http/rtp/rtsp) and then configure the server (whatever) and broadcast this stream further in the format you need.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question