Setting up your Broadcasting software #
In general Owncast is compatible with any software that uses
RTMP to broadcast to a remote server.
RTMP is what all the major live streaming services use, so if you’re currently using one of those it’s likely that you can point your existing software at your Owncast instance instead.
However, we haven’t tested with everything. So if you’re using something specific we’d love to hear what software you’re using and the results. If you’re finding yourself running into issues, we’d love to help troubleshoot.
Using with OBS / Streamlabs #
OBS is a pretty good piece of free software that will get you streaming from your own computer right away.
- Install OBS or Streamlabs OBS and get it working with your local setup.
- Open OBS Settings and go to “Stream”.
- Select “Custom…” as the service.
- Enter the URL of the server running your streaming service in the format of rtmp://myserver.net/live.
- Enter your “Stream Key” that matches the key you put in your
- Start the server.
- Press “Start Streaming” (OBS) or “Go Live” (Streamlabs) on OBS.
Using with Restream #
You must be a paid user of Restream to point to your Owncast instance as a destination “channel”.
Login and go to the “Add Channel” screen.
Select “Custom RTMP”
Add your server information in the format of
rtmp://myserver/livefor the RTMP URL and the Stream Key that matches what is in your
Using with Zoom #
Zoom offers to stream your meeting to a livestreaming service like Owncast. Please mind that some changes might need to be done by your Zoom administrator.
- Set up Owncast and configure it by your choosing. Since the RMTP stream comes directly from the Zoom servers, at least the RMTP port should be available from the internet.
- Allow live streaming for the user account. In zoom.us/profile/setting, scroll down to “Allow live streaming meetings” and activate Custom Live Streaming Service:
- Schedule a meeting using the website and save it. Zoom will redirect you to a “Manage meeting” page which has a Live Streaming section at the very bottom. Click on the “configure live stream settings” link:
- Fill in your Owncast server information. The “live streaming page URL” should be the Owncast Frontend, since Zoom will link to it from the meeting.
- Once the meeting is started, click on “More” in the menu bar and then “Livestream to Custom service”. Zoom will open a browser window and then redirect you to the Owncast frontend (or whichever URL you specified).
In my usage, Zoom sent a RTMP stream with these dimensions to my server. Those metrics are not the most impressive, so please bear that in mind when configuring your encodings.
Duration: 00:00:00.00, start: 0.000000, bitrate: N/A Stream #0:0: Video: h264 (High), yuv420p(progressive), 1280x720, Closed Captions, 4096 kb/s, 30 fps, 30 tbr, 1k tbn Stream #0:1: Audio: aac (LC), 44100 Hz, mono, fltp, 131 kb/s
The instructions for Webinars and Personal Meeting Rooms are similar, see Zoom’s support page for more information.
Using with ffmpeg #
Streaming with ffmpeg is quite easy. You can stream any connected webcam or HDMI grabber that appears in
/dev/video* and incoming alsa audio devices. In this example, the
/dev/video2 video device and the
hw:1,0 alsa audio device are used:
ffmpeg -f alsa -ac 2 -i hw:1,0 -thread_queue_size 64 \ -f v4l2 -framerate 60 -video_size 1280x720 -input_format yuyv422 -i /dev/video2 \ -c:v libx264 -preset veryfast -b:v 1984k -maxrate 1984k -bufsize 3968k \ -vf "format=yuv420p" -g 60 -c:a aac -b:a 128k -ar 44100 \ -f flv rtmp://<ip-of-your-server>/live/<your-streaming-key>