If you want to just stream to Facebook Live, Twitch, or any other RTMP server then you do not have to follow these steps. All this does is host your RTMP server, it has nothing to do with the streaming portion. You can also install this on a seperate server. If you want to run your own RTMP server, you will want to install nginx and the nginx-rtmp-module. Installation nginx & nginx-rtmp-module (OPTIONAL) Sudo apt-get -y install liquidsoap liquidsoap-plugin-all So let's go ahead and install GStreamer first: It is important that you install all of the encoders with it, so that way you can play all media types. GStreamer is a multimedia framework that will be handling the linking together of the enconding and decoding components. A CPU that can handle encoding/decoding (I do not recommend a VPS with a shared CPU).A Ubuntu 14.XX (or higher) or other Debian based linux server. HOW TO INSTALL FFMPEG OR LIBAV I ON YOUR SERVE HOW TOOptionally I will also go over how to create your own RTMP server using nginx and the nginx-rtmp-module. With this setup you can have Liquidsoap to generate a dynamic playlist that you can update and the stream will update itself dynamically as well. My way to fix this is to use GStreamer/Libav for the decoding and encoding, along with Liquidsoap for playlist management. It reads the playlist on start and then stops (or loops) when it gets to the end. FFMPEG/LIBAV can do this without any help, but, the playlist is not dynamic. The purpose of this example/tutorial is to show you how to create an FFMPEG, or in this case, a LIBAV output to an RTMP server using a playlist.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |