Changes between Version 4 and Version 5 of Encode/H.265
- Timestamp:
- Jan 17, 2015, 4:40:11 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Encode/H.265
v4 v5 1 1 = FFmpeg and H.265 Encoding Guide = 2 2 3 H.265 (also known as HEVC) offers 50-75% compression efficiency compared to an H.264 video, while retaining the samequality. ffmpeg has support for HEVC encoding using the x265 encoder. '''Note:''' libx265 is under heavy development. The API may change.3 H.265 (also known as HEVC) offers 50-75% more compression efficiency compared to H.264 video, while retaining the same visual quality. ffmpeg has support for HEVC encoding using the x265 encoder. '''Note:''' libx265 is under heavy development. The API may change. 4 4 5 5 == Getting ffmpeg with libx265 support == … … 13 13 Similar to x264, the x265 encoder has multiple rate control algorithms, including: 14 14 15 * 1-pass constant bitrate 16 * 2-pass constant bitrate 15 * 1-pass constant bitrate (by setting `-b:v`) 16 * 2-pass constant bitrate (see [[H.264#twopass]]) 17 17 * Constant Rate Factor (CRF) 18 18 19 In this guide we are going withCRF encoding.19 In this guide we are going to focus on CRF encoding. 20 20 21 21 === Constant Rate Factor (CRF) === 22 22 23 Use this mode if you want to retain good visual quality and don't care about the exact bitrate or filesize . The mode works exactly the same as in x264, so please read the [[H.264]] guide for more info.23 Use this mode if you want to retain good visual quality and don't care about the exact bitrate or filesize of the encoded file. The mode works exactly the same as in x264, so please read the [[H.264]] guide for more info. 24 24 25 25 In this example, we will use the following settings: 26 26 * default CRF of 28. The CRF of 28 should visually correspond to libx264 video at CRF 23, but result in about half the file size. 27 * `medium` preset. The preset determines how fast the encoding process will be – at the expense of compression efficiency. Put differently, if you choose `ultrafast`, the encod e is going to run fast, but the file size will be larger when compared to `medium`. Valid presets are `ultrafast`, `superfast`, `veryfast`, `faster`, `fast`, `medium`, `slow`, `slower`, `veryslow` and `placebo`.27 * `medium` preset. The preset determines how fast the encoding process will be – at the expense of compression efficiency. Put differently, if you choose `ultrafast`, the encoding process is going to run fast, but the file size will be larger when compared to `medium`. The visual quality will be the same. Valid presets are `ultrafast`, `superfast`, `veryfast`, `faster`, `fast`, `medium`, `slow`, `slower`, `veryslow` and `placebo`. 28 28 * AAC audio at 128 kBit/s. This uses the ffmpeg-internal encoder, but under [[AAC]] you will find info about more options. 29 29 … … 32 32 }}} 33 33 34 Generally, options are passed to x265 with the `-x265-params` argument. For fine-tuning the encoding process, you can therefore pass any option that is listed in the [http://x265.readthedocs.org/en/default/ x265 documentation]. 34 Generally, options are passed to x265 with the `-x265-params` argument. For fine-tuning the encoding process, you can therefore pass any option that is listed in the [http://x265.readthedocs.org/en/default/ x265 documentation]. Keep in mind that fine-tuning any of the options is generally not necessary, unless you absolutely know what you need to change. 35 35 36 36 == Further Info ==
