x264 core:54 Syntax: x264 [options] -o outfile infile [widthxheight] Infile can be raw YUV 4:2:0 (in which case resolution is required), or YUV4MPEG 4:2:0 (*.y4m), or AVI or Avisynth if compiled with AVIS support (no). Outfile type is selected by filename: .264 -> Raw bytestream .mkv -> Matroska .mp4 -> MP4 if compiled with GPAC support (no) Options: -h, --help List the more commonly used options --longhelp List all options Frame-type options: -I, --keyint Maximum GOP size [250] -i, --min-keyint Minimum GOP size [25] --scenecut How aggressively to insert extra I-frames [40] --pre-scenecut Faster, less precise scenecut detection. Required and implied by multi-threading. -b, --bframes Number of B-frames between I and P [0] --no-b-adapt Disable adaptive B-frame decision --b-bias Influences how often B-frames are used [0] --b-pyramid Keep some B-frames as references --no-cabac Disable CABAC -r, --ref Number of reference frames [1] --no-deblock Disable loop filter -f, --deblock Loop filter AlphaC0 and Beta parameters [0:0] --interlaced Enable pure-interlaced mode Ratecontrol: -q, --qp Set QP (0=lossless) [26] -B, --bitrate Set bitrate (kbit/s) --crf Quality-based VBR (nominal QP) --vbv-maxrate Max local bitrate (kbit/s) [0] --vbv-bufsize Enable CBR and set size of the VBV buffer (kbit) [0] --vbv-init Initial VBV buffer occupancy [0.9] --qpmin Set min QP [10] --qpmax Set max QP [51] --qpstep Set max QP step [4] --ratetol Allowed variance of average bitrate [1.0] --ipratio QP factor between I and P [1.40] --pbratio QP factor between P and B [1.30] --chroma-qp-offset QP difference between chroma and luma [0] -p, --pass <1|2|3> Enable multipass ratecontrol - 1: First pass, creates stats file - 2: Last pass, does not overwrite stats file - 3: Nth pass, overwrites stats file --stats Filename for 2 pass stats ["x264_2pass.log"] --rceq Ratecontrol equation ["blurCplx^(1-qComp)"] --qcomp QP curve compression: 0.0 => CBR, 1.0 => CQP [0.60] --cplxblur Reduce fluctuations in QP (before curve compression) [20.0] --qblur Reduce fluctuations in QP (after curve compression) [0.5] --zones //... Tweak the bitrate of some regions of the video Each zone is of the form ,,