Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 3.09 KB

File metadata and controls

43 lines (33 loc) · 3.09 KB
layout default
nav_order 4.1
title H264 Encoding
parent Encoding

H264

Key flags (see https://trac.ffmpeg.org/wiki/Encode/H.264 )

An example would be:

-preset slower -crf 11  -profile:v high -tune film

CRF Comparison

To help pick appropriate values with the CRF flag, we have run the Test Framework through some of the reference media.

| This is showing CRF values against encoding time. | | This is showing CRF values against file size. | | This is showing CRF values against VMAF harmonic mean |

H264 Bitdepth

By default, h264 is created as a yuv420p file format. This is the recommended format for web playback and also playback with the quicktime player on OSX and other apple devices, but the h264 codec can support other formats that are modified with the -pix_fmt flag.

TODO Needs more investigation, e.g. do you set pix_fmt and profile, or will one set the other?

|---|---| |-pix_fmt yuv444p10le| Defines a YUV 444 image at 10bits per component.| |-profile:v high10 | Support for bit depth 8-10. | |-profile:v high422 | Support for bit depth 8-10. Support for 4:2:0/4:2:2 chroma subsampling.| |-profile:v high444 | Support for bit depth 8-10. for 4:2:0/4:2:2/4:4:4 chroma subsampling.|