Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Capture screen and stream to RTMP server

I would like to play around with coding an application that could capture a desktop or section of a screen (height and width variables for resolution) and stream those to an RTMP server (rtmp://server.com/live)

I'd prefer for this fun project to be available on Windows, so I'm thinking C# for its ability to make really nice professional looking GUIs.

Anyway, without all the fancy features like overlays or authentication, I just want to take a section of a screen and send the appropriate information to an open RTMP server like Flash Media Server.

Are these things built-in to C#? How do all of these streaming programs (Flash Media Live Encoder, Xsplit, Procaster, etc work? This is probably my starting point.

Thanks!

like image 992
pr0tocol Avatar asked Nov 26 '22 05:11

pr0tocol


1 Answers

ffsplit is somewhat similar to what you're looking for. I'd checkout ffmpeg and https://github.com/rdp/screen-capture-recorder-to-video-windows-free as well. I'm unaware of any high quality rtmp implementations in directshow...and that wouldn't be C# anyway :)

like image 155
rogerdpack Avatar answered Dec 25 '22 19:12

rogerdpack