GrandSpeed - Internet speed test for video, audio, gaming
GrandSpeed logo
Back to Speed Test
Livestreaming GuideVideo Encoder

Video Encoder

A video encoder takes raw, uncompressed video from analog or digital video sources and compresses it down to a much smaller size using video codecs such as H.264 or H.265, thus making it easier to send the video across bandwidth-limited resources such as the internet.

Hardware vs software encoders

Most hardware encoders also include the necessary interface to allow directly sending the encoded video to the internet. If your video mixer does not have the ability to directly livestream to the internet, you can use a hardware encoder for this purpose. Computer-based streaming software such as vMix and OBS Studio also have an inbuilt encoder, in which case you do not need a separate hardware encoder. Image quality depends on the codec, bitrate, encoder implementation and settings; a dedicated appliance does not automatically produce better results than software encoding.

Match rate control to your destination

Constant bitrate (CBR) aims to keep the encoded video rate near a chosen target. Variable bitrate (VBR) lets the rate change with scene complexity, which can be useful for recordings but may create peaks that a live connection cannot sustain. Start with the current guidance for your destination rather than copying a recording preset into a livestream. Account for audio and transmission overhead as well as video. A single successful upload test is not a promise that your connection will sustain that rate throughout an event.

Keyframes, resolution and frame rate

Keyframes are complete frames used as reference points for compressed video. A two-second interval is a common livestream starting point, but the receiving platform defines the requirement. Check whether your encoder expresses the interval in seconds or frames. Keep camera output, capture settings and encoder frame rate compatible. Raising resolution or frame rate increases processing and bandwidth demands; if motion is smooth at a lower setting, a stable picture is usually more useful than a higher-resolution stream that repeatedly stalls.

CPU encoding and hardware acceleration

A dedicated hardware encoder is a separate appliance; hardware-accelerated encoding in a computer is different. OBS can use NVIDIA NVENC, Intel Quick Sync Video and Apple VideoToolbox on supported systems. These can reduce CPU encoding workload, but availability depends on the processor, graphics hardware, operating system and software configuration. Software encoding also varies with its preset and available CPU resources. Neither category guarantees better image quality in every situation. Compare a sample recording at your intended settings while the full production scene is running, not just an empty scene.

Choose a compatible codec

H.264 is widely used for live delivery. H.265 and AV1 can improve compression efficiency in supported workflows, but the encoder, ingest service and playback system must all support the chosen format. YouTube lists AV1 settings in its encoder guidance; that does not make the same preset compatible with every other destination. If you distribute to several platforms, confirm each one accepts your feed or use a relay that explicitly supports the required conversion. Keep a tested fallback profile for situations where a preferred codec is unavailable.

Diagnose the right bottleneck

OBS distinguishes network dropped frames from rendering lag and encoding lag. A network problem suggests investigating upload capacity, the connection to the ingest server and competing traffic. Rendering or encoding lag calls for checking system load, scene complexity and encoder settings. Lowering bitrate alone will not necessarily fix an overloaded graphics pipeline. Use GrandSpeed before broadcasting to examine upload stability, then run a private or unlisted platform rehearsal with the actual cameras, overlays, audio and recording enabled. Keep notes on the settings that stayed stable for the expected event duration.

Need to check if your connection can handle livestreaming?

Run a Speed Test