Glossary · Streaming technology

What is video encoding?

Video encoding is compressing video with a codec, such as H.264, H.265 or AV1, so that it is small enough to store and stream. It removes detail the eye will not miss and describes each frame by how it differs from its neighbors.

How video encoding works

Uncompressed video is enormous: a single hour of 1080p runs to hundreds of gigabytes. An encoder shrinks it by a factor of a hundred or more using two ideas. Within a frame, it simplifies areas of similar color. Between frames, it stores only what changed, since most of a picture is the same from one frame to the next.

Periodically it stores a complete frame, called a keyframe, so that playback can start or switch quality at that point.

The settings that matter

  • Codec: H.264 for universal compatibility, H.265 or AV1 for smaller files on newer devices
  • Resolution and frame rate
  • Bitrate, or a quality target that lets bitrate vary
  • Keyframe interval, usually two seconds for streaming so segments align
  • Preset: slower encoding gives better quality for the same size
  • Audio codec and bitrate, normally AAC

Encoding vs transcoding

Strictly, encoding turns uncompressed video into a compressed format, and transcoding converts one compressed format into another. Since the files uploaded to a streaming platform are already compressed, what the platform does is transcoding. In everyday use the two words are interchangeable.

Encoding for streaming

A streaming service does not encode a title once but several times, into a ladder of resolutions and bitrates for adaptive playback. Upload the highest quality source you have: each rendition is made from it, and quality lost in the source cannot be recovered.

Last reviewed

FAQ

Video encoding, answered.

More definitions in the streaming glossary.

Planning a streaming service?
What format should I upload to a streaming platform?

A high-bitrate master in a common format, such as H.264 or ProRes in an MP4 or MOV container, at the original resolution and frame rate. The platform creates the streaming versions from it.

Which codec should a streaming service use?

H.264 as the baseline, because every device plays it. Add H.265 or AV1 for 4K and for audiences on newer devices, where the saving in delivery cost justifies the extra encoding.

Does encoding reduce quality?

Streaming codecs are lossy, so some information is discarded. Done well, the loss is not visible at normal viewing distance.

Ready to own the screen?

Tell us what you are launching. We will walk through the platform and map the path to go-live around your catalog, markets and revenue model.