User Tools

Site Tools


ffmpeg:encoding:h265:constant_rate_factor_crf

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ffmpeg:encoding:h265:constant_rate_factor_crf [2023/11/01 09:38] – created peterffmpeg:encoding:h265:constant_rate_factor_crf [2023/11/02 00:35] (current) peter
Line 3: Line 3:
 Use this mode to retain good visual quality and do not care about the exact bitrate or filesize of the encoded file. Use this mode to retain good visual quality and do not care about the exact bitrate or filesize of the encoded file.
  
-  * The mode works exactly the same as in x264, except that maximum value is always 51, even with 10-bit support, so please read the H.264 guide for more info. +  * The mode works exactly the same as in x264, except that maximum value is always 51, even with 10-bit support, so please read the [[https://trac.ffmpeg.org/wiki/Encode/H.264#crf|H.264]] guide for more info.  
 + 
 +---- 
 + 
 +<code bash> 
 +ffmpeg -i "input.mkv" -map 0:v -map 0:a:m:language:eng? -map 0:s:m:language:eng? -map 0:d? -map 0:t? -c:v libx265 -crf 23 -c:a copy -threads 12 -bufsize 4M "out.mkv" 
 +</code>
  
 ---- ----
Line 19: Line 25:
     * The default is 28, and it should visually correspond to libx264 video at CRF 23, but result in about half the file size.     * 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.     * CRF works just like in x264, so choose the highest value that provides an acceptable quality.
 +
   * **-preset fast**:  Choose a preset.   * **-preset fast**:  Choose a preset.
     * The default is medium.     * The default is medium.
Line 25: Line 32:
       * Use the slowest preset you have patience for.       * Use the slowest preset you have patience for.
       * Ignore placebo as it provides insignificant returns for a significant increase in encoding time.        * Ignore placebo as it provides insignificant returns for a significant increase in encoding time. 
 +
   * **-tune**:  Choose a tune (optional).   * **-tune**:  Choose a tune (optional).
     * By default, this is disabled, and it is generally not required to set a tune option.     * By default, this is disabled, and it is generally not required to set a tune option.
Line 37: Line 45:
  
 https://trac.ffmpeg.org/wiki/Encode/H.264#crf https://trac.ffmpeg.org/wiki/Encode/H.264#crf
 +
ffmpeg/encoding/h265/constant_rate_factor_crf.1698831504.txt.gz · Last modified: 2023/11/01 09:38 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki