Changes between Version 4 and Version 5 of x264EncodingGuide
- Timestamp:
- 08/11/2012 07:37:14 AM (10 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
x264EncodingGuide
v4 v5 13 13 The range is 0-51 where 0 is lossless, 23 is default, and 51 is worst possible. A lower value is a higher quality and a subjectively sane range is 18-28. Consider 18 to be visually lossless: it should look the same as the input but it isn't technically lossless. Increasing the CRF value +6 is roughly half the bitrate while -6 is roughly twice the bitrate. General usage is to choose the highest quality that still provides an acceptable quality. If the output looks good then try a higher value and if it looks bad then choose a lower value. 14 14 15 '''Note:''' These CRF values apply to 8-bit x264 .15 '''Note:''' These CRF values apply to 8-bit x264 (the typical). 16 16 17 17 === 2. Choose a preset === 18 18 A preset is a collection of options that will provide a certain encoding speed:compression ratio. A slower preset will provide better compression (compression is quality per filesize). General usage is to use the slowest preset that you have patience for. Current presets in descending order of speed are: `ultrafast`, `superfast`, `veryfast`, `faster`, `fast`, `medium`, `slow`, `slower`, `veryslow`, `placebo`. Ignore `placebo` as it is a joke and a waste of time (see FAQ). 19 19 20 You can also choose a tune and/or profile. 21 20 22 === 3. Continue encoding === 23 21 24 Use these same settings for the rest of your videos if you are encoding more. This will ensure that they will all have the same quality. 22 25 … … 49 52 50 53 == Lossless H.264 == 51 You can use `-qp 0` or `-crf 0` to encode a lossless output. Only two of the presets are generally useful: `ultrafast` or `veryslow` since either a fast encoding speed or best compression are usually the most important factors.54 You can use `-qp 0` or `-crf 0` to encode a lossless output. Despite being lossless, other parameters still matter. Only two of the presets are generally useful though: `ultrafast` or `veryslow` since either a fast encoding speed or best compression are usually the most important factors. 52 55 53 === Lossless Example (fast encoding) ===56 === Lossless Example (fastest encoding) === 54 57 55 58 {{{


