How a video encoder works
A video encoder is hardware or software that turns live video into a compressed stream that can travel over a network or be recorded. Uncompressed 1080p60 video runs to around 3 Gb/s, far more than an internet uplink carries, so the encoder has to shrink it by a factor of a hundred or more before it leaves the building.
Every encoder does three jobs. It takes in the picture, from an HDMI, SDI or analogue input, a camera or a computer’s screen. It compresses the frames with a codec, usually H.264 or H.265. Then it packages the compressed video and audio into a stream protocol, such as RTMP or SRT, and sends it to a server, a decoder or a recorder. Our guide to what a codec is explains the compression step.
An HDMI encoder is simply a hardware video encoder with an HDMI input. SDI encoders do the same for broadcast cameras and switchers, and multi-input models take several formats so older sources can stay in service.
Hardware and software encoders
The same job can be done on a general-purpose computer or by a dedicated device. The choice depends on how many channels you need, where the encoder will sit and who will look after it.
-
//
Software encoders. Programs such as OBS Studio and FFmpeg encode on the computer’s processor. They are flexible and suit a studio PC, but an external camera still needs a capture card or USB capture device to get into the computer.
-
//
GPU and processor encoders. Dedicated encode blocks in graphics cards and processors, such as NVIDIA NVENC and Intel Quick Sync Video, take the load off the CPU so one computer can encode several streams.
-
//
Standalone hardware encoders. A small box with video inputs, a network port and a web interface. It starts streaming when powered, needs no PC beside it and often runs from PoE.
-
//
Multi-channel encoders. Several inputs in one chassis, with switching, multiview and local recording, for lecture capture, events and control rooms.
Streaming protocols compared
The codec sets the size of the stream, and the protocol sets how it travels. Pick the protocol the receiving end expects: a streaming platform, a video management system, a decoder or a browser.
| Protocol | Carried over | Typical delay | Best for |
|---|---|---|---|
| RTMP | TCP, port 1935 | A few seconds to viewers | Pushing a stream to YouTube, Twitch and streaming servers |
| SRT | UDP, with lost packets resent and optional AES encryption | Usually under a second, set by a buffer | Sending video over the public internet or mobile links |
| RTSP | RTP over UDP or TCP | Low, often under a second | Cameras and recorders pulling streams on a local network |
| HLS | HTTP, in short file segments | Several seconds or more | Playback in browsers and on phones for large audiences |
| MPEG-TS over UDP | UDP, unicast or multicast | Low | IPTV on a managed local network |
RTMP dates from Macromedia’s Flash era and is still the usual way into streaming platforms. Haivision developed SRT and released it as open source in 2017, and it has become a common choice for contribution links because it recovers lost packets without the stalls of TCP. Most hardware encoders offer several protocols at once, so one feed can go to a platform and a local recorder together.
Codec and bitrate settings
H.264 is the safe default because almost every decoder and platform accepts it. H.265 gives similar quality at up to around half the bitrate, which helps on tight uplinks and 4K, but not every receiver can play it. Our comparison of H.264 vs H.265 covers the trade-off.
Bitrate sets quality and bandwidth together. As a guide, YouTube recommends around 17 Mb/s for 1080p60 in H.264 and around 50 Mb/s for 4K60, with a keyframe every 2 seconds. Leave headroom on the uplink: a stream that uses most of the available bandwidth will drop frames when the link dips. Constant bitrate suits live streaming because the network load stays predictable.
Encoders and decoders
An encoder is only half the link. At the far end, a decoder receives the stream and turns it back into video for a display, a recorder or a computer. A streaming platform decodes in the viewer’s browser, but a fixed display, an overflow room or a monitoring wall needs a hardware decoder with an HDMI or SDI output, or one with a USB output that a computer sees as a UVC camera. The decoder must support the same codec, profile and protocol as the encoder, so check both ends before choosing.
Our video encoders and decoders include HDMI, SDI and multi-input hardware encoders that stream H.264 over RTSP, RTMP, HLS, MPEG-TS and SRT, PoE models with a USB UVC output, and four-channel encoders with multiview and optional 5G, with matching decoders that output HDMI, SDI or UVC.
Choosing a video encoder
Work from the source to the viewer.
-
//
Inputs and channels. Count the sources and their formats: HDMI, SDI, DVI or analogue, and whether you need loop-through outputs to keep a local monitor fed.
-
//
Resolution and frame rate. Encoding 4K60 needs more processing and bandwidth than 1080p60, and some encoders that output 4K encode at a lower rate.
-
//
Protocol and codec at the receiver. Match what the platform, video management system or decoder accepts.
-
//
Network uplink. Wired Ethernet is the most predictable. Some encoders add Wi-Fi or a 4G or 5G modem for sites with no fixed line.
-
//
Recording. A local copy to USB storage protects against a dropped link.
-
//
Power and mounting. PoE models need only one cable, which suits ceilings, poles and cabinets.
Quick answers on video encoders
Video encoders: common questions
What does a video encoder do?
It compresses video and sends it. The encoder takes a live picture, shrinks it with a codec such as H.264 and streams it to a platform, server, decoder or recorder.
What is an HDMI encoder?
A hardware video encoder with an HDMI input. It takes the feed from a camera, computer or player and streams it over the network without a PC.
Is OBS a video encoder?
It is software that drives one. OBS Studio captures and mixes sources, then encodes with the x264 software encoder or a hardware encoder in the graphics card or processor.
Do I need a hardware encoder to stream?
Not always. A computer with a capture card and software can stream. A hardware encoder suits fixed sites, unattended feeds and places with no room or cooling for a PC.
Which streaming protocol should I use?
The one the receiver expects. RTMP for most streaming platforms, SRT over the internet, RTSP for video management systems and HLS for playback in browsers.
We specify the encoder, decoder and network as one system as standard, and test the full stream path at its working resolution before it ships.