Ch. 21 · Platform Uploads and Re-encoding

한국어日本語
7 min

Why Platforms Re-encode Your Video

A platform has to make whatever file you upload play on every viewer's device and network, so it re-encodes to its own specs. That means the file you upload is not the final version; it is the source you hand to the platform.

After you upload a video, there is a stretch where the platform shows 'processing.' Most video platforms, social networks, and messengers use that time to re-encode the file to their own specs. However, which codec and bitrate a platform uses can change at any time and is usually not disclosed in detail, so this chapter gives no specific numbers and focuses on general principles and the parts you can control. For platform-specific numbers, Lesson 5 only covers how to check them in the official help pages.

Why they re-encode

  • Playback compatibility — Users upload H.264 MP4s, 10-bit HEVC, and files with odd frame rates. Viewers' devices vary widely (hardware decoding), so the platform wants to normalize everything into widely playable formats.
  • Network adaptation — Viewers' connections range from slow to fast. So one video is made in several resolutions and bitrates, and the player switches between them as conditions change (adaptive streaming). A single uploaded file can't produce that ladder, so re-encoding is needed.
  • Cost control — Platforms try to bring everything to an encoding efficiency they choose in order to cut storage and delivery costs. That is why, no matter how high your uploaded file's bitrate is, the bitrate of the version people watch is set by the platform.
  • A consistent playback structure — They standardize the keyframe interval (GOP), audio format, and file structure so that seeking and streaming are stable.
Your uploadThe source you made Platform re-encodeSpecs and ladder: theirs Viewer playbackFits device and network Re-encoding adds one more generation of compression
From upload to playback. The only thing you control is the very first step, the file you upload
The role of the file you upload

The file you upload is not the final distribution file; it is 'the source you give the platform.' However the platform re-encodes it, the better the file it receives, the better the chance the result comes out less damaged. Conversely, if you upload a file you already squeezed hard to save space, it gets squeezed once more on top of that (the upload caveats in Chapter 14 covered the same principle for HDR).

Don't assume it plays back exactly as uploaded

Depending on the platform, it may keep your original file as-is and make a separate version for viewing, and small files may be handled differently. Either way, it's safest to plan as if the encoding settings of the video viewers see are out of your hands.

TranscodingTranscoding (re-encoding)

Decoding already-compressed video and compressing it again with different settings. It's what a platform does to your uploaded file.

Source (mezzanine)Source (mezzanine)

A file made at high quality on the assumption that it will be re-encoded for final distribution.

Bitrate ladderBitrate ladder

A set of versions of one video at different resolutions and bitrates. The player picks one depending on the viewing conditions.

Check yourself

Which of these is the LEAST likely reason a platform re-encodes uploaded video?

Check yourself

How does this lesson say you should think of the file you upload?