Skip to content

Latest commit

 

History

History
67 lines (48 loc) · 2.74 KB

EncodingOverview.md

File metadata and controls

67 lines (48 loc) · 2.74 KB
layout default
nav_order 3
title Encoding Overview
has_children true

Encoding Overview

Table of contents {: .text-delta } 1. TOC {:toc}

This page walks through the steps from rendered frames to a review movie, with a short summary of each step and a link to the page that explains it. If you just want a command that works, start with the Encoding Cheatsheet.

The pipeline in five steps

1. Color-manage to display RGB

Convert the scene-linear renders (typically ACEScg EXRs) to the display you are reviewing on, with OCIO. Either do it before FFmpeg and write 16-bit PNG or TIFF frames, see Preparing Frames with oiiotool, or do it inside FFmpeg 8.1 or later with the OCIO filter. For HDR deliveries, see HDR Encoding.

2. Resize

Resizing shrinks fine detail, and the result depends on the filter and on the color space you resize in. Where in the chain to resize, and in which space, is covered on the Resizing page, which is still being updated.

3. Read the frames into FFmpeg

Image sequences have no frame rate or start frame of their own, so you have to give both. See FFmpeg Frame Sequences Specification.

4. Convert RGB to Y'CbCr

Most codecs store Y'CbCr, not RGB, and this is the step where FFmpeg most often gets the color wrong.

FFmpeg's color flags changed meaning in FFmpeg 7.1. If a command gives different results on a different version, see FFmpeg Version Changes.

5. Encode, tag and add metadata

Other pages