What video transcoding means
Video transcoding is decoding a video and encoding it again with different settings: another codec, another resolution, another bitrate, or all three. The input is compressed video and so is the output. What changes is the shape of the compression.
In live streaming it solves a very concrete problem. Say you send 1080p at 6 Mbps. Without transcoding, that is the only version that exists, so everyone has to download 6 Mbps. The viewer on fiber is fine. The one on a congested 4G connection gets a spinning wheel. A transcoder takes your stream and produces lighter versions in real time, for example 720p, 480p and 240p, so the player can give each viewer the one their connection can sustain. That switching is adaptive bitrate streaming, and transcoding is what makes it possible.
Transcoding vs transmuxing vs transrating
These three words get mixed up all the time, and the difference matters because their cost is completely different.
| Process | What changes | Processing cost | Example |
|---|---|---|---|
| Transmuxing | Only the container; the video is not touched | Very low | RTMP in, HLS out, same H.264 |
| Transrating | Only the bitrate, same codec and resolution | Medium | H.264 at 6 Mbps to H.264 at 3 Mbps |
| Transcoding | Codec, resolution and bitrate | High | 1080p H.264 to 720p, 480p and 240p |
Every live streaming server transmuxes. When your encoder sends RTMP or SRT and viewers watch HLS, the server repackages the same compressed frames into short segments and a playlist. That takes very little processing, adds no quality loss and is included in any streaming service. Transcoding is different: every frame is decompressed and compressed again, once per output version. That is where the processing goes, and why services charge for it separately.
What happens inside a live transcoder
If you are thinking about video transcoding system design, the pipeline for a live ABR ladder looks like this:
- Ingest. The stream arrives over RTMP or SRT.
- Decode once. The source is decompressed into raw frames.
- Scale. The raw frames are resized for each rendition.
- Encode each rendition. One encoder per output, all running in parallel, at the speed of the live signal.
- Align keyframes. Every rendition puts its keyframes in the same places, so the player can switch between them at any segment boundary.
- Package. The outputs are cut into segments and listed in one master playlist.
Two design choices separate a good transcoder from a wasteful one. First, passing the original through: if the top rendition is your source untouched, you save one full encode and the best quality loses nothing. Second, keyframe alignment: if renditions are not aligned, switching causes visible glitches or the player refuses to switch at all. The stream also has to keep up in real time. A transcoder that falls behind for a few seconds becomes a stream that stalls for everyone.
Software vs hardware encoding
The encoding step can run on the CPU (software encoders such as x264 for H.264 and x265 for H.265) or on dedicated chips in graphics cards and processors (NVIDIA NVENC, Intel Quick Sync, AMD AMF).
| Encoder type | Strength | Weakness |
|---|---|---|
| Software (x264, x265) | Best quality per bit at slower presets, runs on any machine | Heavy: a single 1080p stream at the medium preset can keep several CPU cores busy |
| Hardware (NVENC, Quick Sync, AMF) | Very fast, low power, barely touches the CPU | Slightly less efficient than slow software presets; consumer cards limit simultaneous encode sessions |
On recent NVIDIA cards, NVENC lands close to x264's faster presets, which is why it is the usual choice for streaming from a gaming PC. On a server producing many renditions for many channels, the choice depends on density and cost per channel. For the encoder in your own studio, our comparison of hardware vs software encoders goes deeper.
Video transcoding software, online tools and services
What you use depends on whether you are converting files or live streams.
- FFmpeg. The open-source engine behind most transcoding in the world, files and live. Powerful and free, but everything is done from the command line.
- HandBrake. A free desktop application for converting files. Good for preparing a video before uploading it, not for live streams.
- Online converters. Fine for a short clip, impractical for long files and useless for live.
- Cloud transcoding. The large cloud providers sell live and file transcoding by the minute. Flexible, but you design and operate the whole chain.
- A transcoding service built into your streaming platform. You switch it on and the platform handles the ladder, the playlist and the player.
For reference, this is what one 720p rendition looks like in FFmpeg, with a fixed 2-second keyframe interval at 30 fps:
ffmpeg -i input.mp4 -vf scale=-2:720 -c:v libx264 -preset veryfast \
-b:v 2800k -maxrate 2800k -bufsize 5600k \
-g 60 -keyint_min 60 -sc_threshold 0 \
-c:a aac -b:a 128k -ar 48000 output_720p.mp4 Multiply that by every rendition, add segmenting, monitoring and restarts when something fails, and you have the real work of running your own live transcoder.
Build it or use a managed transcoder
Running your own transcoder in the cloud makes sense if you have engineers who know FFmpeg and video servers, a steady volume of channels and the time to monitor them. Per hour it can be cheaper. What it costs in practice is attention: someone has to notice at 9 p.m. on a Saturday that a rendition stopped.
A managed transcoder makes sense when streaming is a tool for your business rather than the business itself. You pay a fixed amount per channel and the ladder, the alignment and the playlist are someone else's problem. Both are valid. The wrong choice is building a pipeline you will not have the time to maintain.
When transcoding is worth it, and when it is not
It pays off when:
- Your audience mixes fiber, cable and mobile data, and you cannot control their connections.
- You stream in 1080p and want people on weak connections to keep watching.
- The stream plays on your own website or app, where nobody builds the ladder for you.
- Every viewer lost to buffering costs something: a paid event, a church service people rely on, a product launch.
You can skip it when the audience is small and on a known network (an internal training on the company network), when you already stream at a modest 720p, when you are still testing the format, or when you only stream to YouTube and Facebook, which transcode on their side anyway.
How transcoding works on XtreamCast
Every XtreamCast channel transmuxes by default: you send H.264 video and AAC audio over RTMP or SRT, and viewers get HLS in the Player Advance™. If you add the XtreamTranscoder for USD 20/month, your original quality passes through without being re-encoded and the add-on adds 720p, 480p and 240p with aligned keyframes in a single HLS playlist. From a 1080p source, that is four qualities.
One honest limit: the ingest expects H.264, so the transcoder is not a way to send H.265 from your encoder. If you are weighing codecs, read H.264 vs H.265 for streaming first. The add-on works on top of any paid video plan, on the same managed streaming server that receives your signal. To size the top rendition, use the streaming bandwidth and bitrate guide.
Add an ABR ladder without running a transcoder
XtreamTranscoder keeps your original quality and adds 720p, 480p and 240p with aligned keyframes, in one HLS playlist your player already understands.