Changes between Version 19 and Version 20 of Encode/H.265


Ignore:
Timestamp:
Aug 17, 2020, 10:52:15 PM (6 weeks ago)
Author:
llogan
Comment:

cleaned up preset section

Legend:

Unmodified
Added
Removed
Modified
  • Encode/H.265

    v19 v20  
    3636Use 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#crf|H.264]] guide for more info.
    3737
    38 As with x264, you need to make two choices:
     38As with x264, you need to make several choices:
    3939
    40 * Choose a CRF. The default is 28, and it should visually correspond to libx264 video at CRF 23, but result in about half the file size. Other than that, CRF works just like in x264.
     40* Choose a CRF. CRF affects the quality. The default is 28, and it should visually correspond to libx264 video at CRF 23, but result in about half the file size. CRF works just like in x264, so choose the highest value that provides an acceptable quality.
    4141
    42 * Choose a preset. The default is `medium`. The preset determines how fast the encoding process will be at the expense of detail. Put differently, if you choose `ultrafast`, the encoding process is going to run fast, and the file size will be smaller when compared to `medium`. The visual quality will not be as good. Slower presets use more memory.  Valid presets are `ultrafast`, `superfast`, `veryfast`, `faster`, `fast`, `medium`, `slow`, `slower`, `veryslow` and `placebo`.
     42* Choose a preset. The default is `medium`. The preset determines compression efficiency and therefore affects encoding speed. Valid presets are `ultrafast`, `superfast`, `veryfast`, `faster`, `fast`, `medium`, `slow`, `slower`, `veryslow`, and `placebo`. Use the slowest preset you have patience for. Ignore `placebo` as it provides insignificant returns for a significant increase in encoding time.
    4343
    44 * Choose a tune. By default, this is disabled, and it is generally not required to set a tune option. x265 supports the following `-tune` options: `psnr`, `ssim`, `grain`, `zerolatency`, `fastdecode`. They are explained in the [[H.264#crf|H.264 guide]].
     44* Choose a tune (optional). By default, this is disabled, and it is generally not required to set a tune option. x265 supports the following `-tune` options: `psnr`, `ssim`, `grain`, `zerolatency`, `fastdecode`. They are explained in the [[H.264#crf|H.264 guide]].
    4545
    4646For example:
    4747
    4848{{{
    49 ffmpeg -i input -c:v libx265 -crf 28 -c:a aac -b:a 128k output.mp4
     49ffmpeg -i input -c:v libx265 -crf 26 -preset fast -c:a aac -b:a 128k output.mp4
    5050}}}
    5151
     
    9393Use the `-x265-params lossless=1` option. Adding `-crf 0` is not required.
    9494
    95 You can verify lossless encoding by looking for `x265 [info]: lossless compression ratio` in the console output from your encoding command, or refer to the [https://ffmpeg.org/ffmpeg-formats.html#hash hash demuxer].
     95You can verify lossless encoding by looking for `x265 [info]: lossless compression ratio` in the console output from your encoding command, or refer to the [https://ffmpeg.org/ffmpeg-formats.html#hash hash demuxer] for verification.
    9696
    9797= Intra encoding =
     
    101101= Setting Profiles =
    102102
    103 Profiles can be set via the `-profile:v` option, similar to libx264.
     103Profiles can be set via the `-profile:v` option, similar to libx264. See a [https://x265.readthedocs.io/en/default/cli.html#profile-level-tier list of available x265 profiles].
    104104
    105105= Further Info =