Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
x264 [2017/02/05 16:12] – beandog | x264 [2023/04/10 01:56] (current) – beandog | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== x264 ====== | + | ====== x264 / AVC ====== |
* [[Handbrake]] | * [[Handbrake]] | ||
Line 6: | Line 6: | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
- | * [[http:// | ||
* [[http:// | * [[http:// | ||
- | * [[http:// | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
+ | * [[https:// | ||
- | === h264 levels === | + | When encoding, if you want to cover all your bases, there are two H.264 settings to use, and two x264 encoding arguments to pass: |
- | DVDs max out at high 3.1. | + | * H.264 profile: high |
+ | * H.264 level: 4.1 | ||
+ | * x264 preset: medium | ||
+ | * x264 CRF: 23 | ||
- | Blu-ray at high 4.1. You can go higher if you want, it's your preference. :) | + | Optionally, you can set the x264 tuning as well. Best choices are film, animation, and grain. |
+ | |||
+ | Don't change any other settings than those. If you do, you're going down the rabbit hole. | ||
+ | |||
+ | === H.264 levels === | ||
+ | |||
+ | DVDs max out at high 3.1. You don't need 3.2 on DVDs because that is the first level that accepts 720p. | ||
+ | |||
+ | Blu-ray at high 4.1. You can go higher if you want, it's your preference. :) | ||
The levels (baseline, main, high) are used to determine which hardware you want to target, and influences what quality you can expect and what encoding features will be used. Blu-ray uses high profile. | The levels (baseline, main, high) are used to determine which hardware you want to target, and influences what quality you can expect and what encoding features will be used. Blu-ray uses high profile. | ||
Line 36: | Line 46: | ||
=== mtune === | === mtune === | ||
- | Keep it simple (for DVDs): use '' | + | Keep it simple (for DVDs): use '' |
- | === Choosing | + | === Choosing |
+ | |||
+ | The presets are added to x264 encoder by developers to help you determine what filesize you want. | ||
+ | |||
+ | From [[https:// | ||
Short answer: just use medium, and tweak settings somewhere else. | Short answer: just use medium, and tweak settings somewhere else. | ||
- | Choose | + | === CRF === |
+ | |||
+ | Changing | ||
+ | |||
+ | "The range of the quantizer scale 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 or nearly so: it should look the same or nearly the same as the input but it isn't technically lossless. The range is exponential, | ||
=== Two-pass encoding === | === Two-pass encoding === | ||
Line 61: | Line 79: | ||
* [[http:// | * [[http:// | ||
- | "All of this combines to make animation at first glance deceptively easy–but in reality quite difficult–to encode." | + | "All of this combines to make animation at first glance deceptively easy–but in reality quite difficult–to encode." |
His tests on x264 | His tests on x264 |