In this article
- What encoding does
- Choosing codecs
- Building a bitrate ladder
- Per-title encoding
- Encoding vertical video
- Audio and subtitles
- How encoding affects cost
- Quality control
- Key takeaways
- Frequently asked questions
- Which codec is best for streaming?
- What is a bitrate ladder?
- What is per-title encoding?
- How should vertical video be encoded?
Quick summary
- Use H.264 for compatibility and add HEVC or AV1 for efficiency.
- Build a bitrate ladder that includes low rungs for mobile networks.
- Per-title encoding saves bandwidth without hurting quality.
- Encode vertical video natively and keep subtitles as separate tracks.
Encoding is the invisible step that decides how good your video looks and how much it costs to deliver. Every episode you upload is converted into multiple versions for different screens and networks. Getting video encoding for OTT right means sharper pictures, faster starts and lower CDN bills at the same time.
Short answer: encode each title into a bitrate ladder of several resolutions, using H.264 for universal compatibility and HEVC or AV1 where devices support them. Use per-title or content-aware encoding to avoid wasting bits on simple scenes, and tune settings for vertical video and mobile networks.
What encoding does
A master file from an edit suite is huge. Encoding compresses it with a codec, producing smaller files at several qualities. Packaging then splits them into segments for adaptive streaming, so the player can switch quality as the network changes. Our article on HLS vs DASH covers the packaging step.
Choosing codecs
| Codec | Strength | Consideration |
|---|---|---|
| H.264 (AVC) | Plays almost everywhere | Larger files for the same quality |
| HEVC (H.265) | Much better efficiency than H.264 | Support varies; licensing considerations |
| AV1 | Excellent efficiency, royalty-free | Newer; strongest on recent devices and browsers |
| VP9 | Good efficiency on web and Android | Less common on Apple and some TVs |
Most services keep H.264 as the baseline and add a more efficient codec for devices that support it. The player chooses the best available option.
Building a bitrate ladder
A bitrate ladder is the list of resolutions and bitrates you produce. A typical ladder for mobile-first audiences might include 240p, 360p, 540p, 720p and 1080p, with extra rungs for TV viewing. Lower rungs keep viewers watching on weak connections; higher rungs serve TVs and Wi-Fi.
Per-title encoding
A fixed ladder wastes bits. A quiet dialogue scene needs far fewer bits than a fast action scene at the same quality. Per-title or content-aware encoding analyses each video and chooses bitrates that hit a quality target. The result is often smaller files with equal or better visual quality, which directly reduces CDN costs.
See your own branded streaming app
Get a walkthrough of NibbleFlix with your content, pricing and regions in mind.
Encoding vertical video
Vertical 9:16 video has the same number of pixels as horizontal at the same resolution, just rotated. A few tips for micro-drama and vertical content:
- Encode in true vertical resolution, such as 1080×1920, rather than letterboxed horizontal frames.
- Close-up faces with soft backgrounds compress well, so lower bitrates often look great.
- Use short segments and a fast-starting first rendition so swiping feels instant.
- Keep subtitles as separate tracks rather than burning them in, so they stay sharp and translatable.
Audio and subtitles
Audio is easy to overlook. Use efficient codecs such as AAC, normalise loudness so episodes do not jump in volume, and provide separate audio tracks for dubbed languages. Subtitles in standard formats like WebVTT keep text crisp and searchable. Our guide to AI subtitles explains how to produce them at scale.
How encoding affects cost
- Encoding cost: paid once per title and rendition.
- Storage cost: grows with the number of renditions and codecs.
- Delivery cost: paid every time someone watches, so efficient files save most here.
For popular titles, spending more on smarter encoding pays for itself through lower delivery bills. See our CDN guide for the delivery side.
Quality control
Automate checks for black frames, audio gaps, sync issues and corrupt segments. Use objective quality metrics such as VMAF to compare settings, but always watch samples on real phones and TVs.
Key takeaways
- Use H.264 for compatibility and add HEVC or AV1 for efficiency.
- Build a bitrate ladder that includes low rungs for mobile networks.
- Per-title encoding saves bandwidth without hurting quality.
- Encode vertical video natively and keep subtitles as separate tracks.
NibbleFlix encodes, packages and delivers every upload automatically, tuned for phones and TVs. Book a demo to see how your content looks after processing, or read about our CMS and upload tools.
Frequently asked questions
Which codec is best for streaming?
H.264 offers the widest compatibility, while HEVC and AV1 deliver the same quality at lower bitrates on devices that support them. Most services encode H.264 as a baseline and add a more efficient codec for compatible devices.
What is a bitrate ladder?
A bitrate ladder is the set of resolutions and bitrates a video is encoded into, such as 240p up to 1080p. The player switches between them based on the viewer’s connection to avoid buffering.
What is per-title encoding?
Per-title or content-aware encoding analyses each video and chooses bitrates that reach a target quality. Simple scenes get fewer bits and complex scenes get more, which reduces file sizes and delivery costs.
How should vertical video be encoded?
Encode in true vertical resolutions such as 1080×1920, use short segments for fast starts, and keep subtitles as separate tracks. Close-up vertical drama often compresses well, so lower bitrates can still look sharp on phones.



