

Research for this article was my first experience with FFmpeg. A little tangent on the dangers of perfectionismĪt this point, I’d like to make a confession. Let’s take a look at two possible solutions using FFmpeg, one for Linux and one for Windows. The task is simple - we need to broadcast what’s happening on the screen to a site, where the stream will be played using WebRTC technology, and we need to capture both video and audio. We can sing it praises all day, but today we’re here for a different reason. All you need is a single file (ffplay.exe), that contains all the necessary codecs. You don’t need to search for a movie online, you don’t need to download and install codecs. There are many FFmpeg-based programs for file conversion. FFmpeg, however, retains its prominence thanks to its cross-platform support, minimalist interface (which is non-existent, since the control is executed through the OS console) and its vast functionality.

It goes without saying that there are many streaming solutions out there, both paid and free. In this article, we’ll go a step further and we’ll see how to broadcast screensharing via FFmpeg and create a stream on your site. The Internet is full of guides on how to record what’s happening on the screen into a file using FFmpeg.
