Changes between Version 49 and Version 50 of Encode/H.264


Ignore:
Timestamp:
Apr 4, 2014, 9:48:30 PM (5 years ago)
Author:
llogan
Comment:

fancy notes; mention 8/10 bit pix_fmt, add note about refs

Legend:

Unmodified
Added
Removed
Modified
  • Encode/H.264

    v49 v50  
    77There are two rate control modes that are usually suggested for general use: [#crf Constant Rate Factor (CRF)] or [#twopass Two-Pass ABR]. The rate control is a method that will decide how many bits will be used for each frame. This will determine the file size and also how quality is distributed.
    88
    9 If you need help compiling and installing libx264 see one of our [wiki:CompilationGuide FFmpeg and x264 compiling guides].
     9If you need help compiling and installing libx264 see one of our [[CompilationGuide|FFmpeg and x264 compiling guides]].
    1010
    1111== Constant Rate Factor (CRF) ==#crf
     
    1818The range is exponential, so increasing the CRF value +6 is roughly half the bitrate while -6 is roughly twice the bitrate. General usage is to choose the highest CRF value 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.
    1919
    20   '''Note:''' The CRF quantizer scale mentioned on this page only applies to 8-bit x264 (10-bit x264 quantizer scale is 0-63). You can see what you are using with `x264 --help` listed under `Output bit depth`. 8-bit is more common among distributors.
     20{{{
     21#!div style="border: 1pt dotted; margin: 1em; background-color: #fffff9;"
     22'''Note:''' The CRF quantizer scale mentioned on this page only applies to 8-bit x264 (10-bit x264 quantizer scale is 0-63). You can see what you are using by referring to the `ffmpeg` console output during encoding (`yuv420p` or similar for 8-bit, and `yuv420p10le` or similar for 10-bit). 8-bit is more common among distributors.
     23}}}
     24
    2125
    2226=== 2. Choose a preset ===
     
    3640}}}
    3741
    38   '''Note:''' Windows users should use `NUL` instead of `/dev/null`.
     42{{{
     43#!div style="border: 1pt dotted; margin: 1em; background-color: #fffff9;"
     44'''Note:''' Windows users should use `NUL` instead of `/dev/null`.
     45}}}
    3946
    4047=== 3. Use your settings ===
     
    6875}}}
    6976
    70   '''Note:''' Windows users should use `NUL` instead of `/dev/null`.
     77{{{
     78#!div style="border: 1pt dotted; margin: 1em; background-color: #fffff9;"
     79'''Note:''' Windows users should use `NUL` instead of `/dev/null`.
     80}}}
    7181
    7282As with CRF, choose the slowest preset you can tolerate.
     
    165175|| High || 4.1 || iPad 2 and later and iPhone 4S and later || `-profile:v high -level 4.1` ||
    166176
    167 This table does not include any additional restrictions which may be present.
     177{{{
     178#!div style="border: 1pt dotted; margin: 1em; background-color: #fffff9;"
     179* This table does not include any additional restrictions which may be required by your device.
     180* `-level` currently does not affect the number of reference frames (`-refs`). See ticket #3307.
     181}}}
    168182
    169183==== Apple Quicktime ====