Lossless: x264 -qp 0 -o Maximum PSNR at the cost of speed and visual quality: x264 -preset placebo -tune psnr -o Options: -h, -help List basic options -longhelp List more options -fullhelp List all optionsĮxample usage: Constant quality mode: x264 -crf 24 -o Two-pass with a bitrate of 1000kbps: x264 -pass 1 -bitrate 1000 -o > MP4 if compiled with GPAC or L-SMASH support (gpac) or libav*įormats if compiled with lavf support (yes) or ffms support (yes).
Infile can be raw (in which case resolution is required), or YUV4MPEG (*.y4m), or Avisynth if compiled with support (yes).