Support · video guides
Live video streaming tutorials for the encoder you already have
These live video streaming tutorials take you from an open encoder to a stream your viewers can play: where the server address goes, where the stream key goes, and the two settings that stop buffering later. Pick your software or your hardware box below, and you will see the same names your Primcast control panel uses.
The settings every encoder asks you for
Every video streaming guide on this page comes down to the same handful of boxes. Fill these in right and most of your RTMP encoder setup is done, whatever the software calls them.
- Server or URL
- Your server address, the RTMP port and your application name, and nothing after it.
rtmp://YOUR-SERVER-ADDRESS:1935/YOUR-APPLICATION-NAME - Stream key
- Your stream name on its own. Some encoders call this box Stream Name or Stream ID.
YOUR-STREAM-NAME - Username and password
- For encoders with an authentication box. You will find them next to the address in your control panel.
- Keyframe interval
- 2 seconds, fixed. Turn off anything that adds keyframes on scene changes.
- Bitrate
- Video plus audio together, kept to about two thirds of the upload speed you measured on the broadcasting machine. The paid live video plans take up to 5 Mbps in, which is enough for 1080p.
Pick your encoder tutorial
Each tutorial follows your encoder's own menus, step by step, until the stream reaches your server. Use the one that matches what you have open.
Software encoders
All software encoder tutorials01Free, Windows, macOS, Linux
OBS Studio tutorial
The usual place to start if you have never streamed before. You choose a custom server, paste in your address and stream key, and set the output so the stream holds up.
02Live production
vMix tutorial
vMix keeps the address and the stream key in two separate boxes, and mixing them up is the most common reason it gets refused. The guide names each box and sets 2-second keyframes.
03Live production
Wirecast tutorial
Choose RTMP Server as the output destination in Telestream Wirecast, enter your address and stream name, and start broadcasting.
04Windows
XSplit Broadcaster tutorial
Set up a custom RTMP channel in XSplit Broadcaster so it sends to your server and not to a social platform.
05Command line
FFmpeg tutorial
No window and no mouse. One command sends a file, a loop or a capture device to your server, which suits scripts and headless machines.
06Device software
AVerMedia RECentral tutorial
Run the Gear UP wizard once, choose H.264 video and enter your details under Custom RTMP to go live from an AVerMedia device.
Hardware video encoders
All hardware encoder tutorials07Camera-top encoder
Teradek Cube tutorial
Give the Cube your RTMP destination and broadcast straight from the camera, with no computer in the chain.
08Hardware encoder
Epiphan encoder tutorial
Fill in the Publish Stream settings on your Epiphan unit, then check that the connection is really up.
09Hardware encoder
Hauppauge StreamEez-Pro tutorial
Publisher settings and RTMP authentication for the StreamEez-Pro, step by step.
Wowza Streaming Engine
Video on demand tutorials10Live
Wowza Streaming Engine tutorial
How a live stream gets into Wowza Streaming Engine, the software that runs our video service, and how to see that it arrived.
11Restream
Facebook Live with Wowza tutorial
Add a Stream Target and pass your live stream on to a Facebook timeline, page or group.
12On demand
Wowza VOD tutorial
Turn an MP4 file into an HLS link and a player for your site, either in a Primcast video library where you only upload the file or on a Wowza server you run.
Check your stream before you share the link
Your encoder can say it is connected while viewers still see nothing. Two minutes of testing saves an awkward start.
Start the encoder
Press Start Streaming or Go Live and watch the status line. A bitrate figure that holds steady means data is leaving your machine.
Open the playlist yourself
Play your HLS link in VLC or Safari, on a phone using mobile data if you can:
http://YOUR-SERVER-ADDRESS:1935/YOUR-APPLICATION-NAME/YOUR-STREAM-NAME/playlist.m3u8Fix buffering in order
Check the keyframe interval first, then put your total bitrate next to your measured upload. Those two settle most problems.
Questions people ask while setting up
Stuck on something these answers miss? The chat on this page replies in seconds and can look up your video service while you talk. Ask for a person and you get one.
01Which live video streaming tutorial should I start with?
If you have never streamed before, start with OBS Studio: it is free and runs on Windows, macOS and Linux. If you already produce in vMix or Wirecast, use that guide instead, since the settings are the same idea in different menus. A hardware encoder such as a Teradek Cube makes sense when you want to broadcast without a computer.
02Why does my stream time out or refuse to connect?
It is nearly always one of four things. The stream key was pasted into the URL box as well, the application name is a guess such as "live" instead of the one on your account, the network you are on blocks outgoing traffic on port 1935, or the encoder needs the username and password and they were left empty. Check them in that order. If it still times out, open the chat and we can see whether anything reached your service.
03Where do I find my server address and stream key?
In your Primcast control panel. Open your video account, go to the Live streaming card and look under Encoder settings: the server address with your application name, the stream name, the username and the password are all there, each with a copy button. That username and password are only for publishing the stream, not the ones you sign in with. On a dedicated server the values come from your own machine's configuration instead.
04What bitrate should I use for live video?
Let your upload speed decide. Measure it on the machine that will broadcast and keep video plus audio together to about two thirds of that figure, because running right at the limit is what causes drops later in a show. So if a speed test shows 6 Mbps, send around 4 at most. The paid live video plans take up to 5 Mbps in, enough for 1080p, with 128 kbps of audio counted inside that. If viewers buffer, lower the bitrate or drop to 720p before anything else.
05Why does my stream buffer when the encoder says everything is fine?
Check the keyframe interval first. Your stream is cut into HLS segments on keyframes, so keyframes that arrive unevenly make uneven segments, and viewers feel that as buffering while the encoder reports no problem. Set a fixed interval of 2 seconds and turn off scene-change keyframes.
06Can I stream live video from my phone?
Yes, with any mobile app that lets you type in a custom RTMP address and stream key, such as Larix Broadcaster. Use the same server, application and stream name as on a computer. Older guides point to the Wowza GoCoder app, but Wowza no longer supports it, so skip that advice.
07Do I still need Flash Media Live Encoder?
No. Adobe ended Flash Player at the close of 2020, and Flash Media Live Encoder has gone years without an update. RTMP, the protocol it used, is still how encoders send video to a server today. Your viewers then watch in HLS, which plays in any current browser and on phones with no plugin.
08Do these tutorials work with my own streaming server?
Yes. The fields are the same on a dedicated streaming server running Wowza or similar software. Put your own server's address and application name where these guides use ours.
No video service to point your encoder at yet?
Primcast live video hosting takes the RTMP feed from any encoder on this page and gives your viewers an HLS stream that plays in the browser. Plans and what each one includes are on the video page.