エンコードオプション

MeGUIのProfileで表現すると、

<?xml version="1.0"?>
<GenericProfileOfVideoCodecSettings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Name>x264-Medium</Name>
  <Settings xsi:type="x264Settings">
    <EncodingMode>8</EncodingMode>
    <BitrateQuantizer>2048</BitrateQuantizer>
    <KeyframeInterval>300</KeyframeInterval>
    <NbBframes>4</NbBframes>
    <MinQuantizer>10</MinQuantizer>
    <MaxQuantizer>51</MaxQuantizer>
    <Turbo>true</Turbo>
    <V4MV>false</V4MV>
    <QPel>false</QPel>
    <Trellis>false</Trellis>
    <CreditsQuantizer>40</CreditsQuantizer>
    <Logfile>.stats</Logfile>
    <CustomEncoderOptions>--overscan show --videoformat ntsc --fullrange on </CustomEncoderOptions>
    <FourCC>1</FourCC>
    <Zones />
    <MaxNumberOfPasses>3</MaxNumberOfPasses>
    <NbThreads>2</NbThreads>
    <EncodeInterlaced>false</EncodeInterlaced>
    <NoDCTDecimate>true</NoDCTDecimate>
    <PSNRCalculation>false</PSNRCalculation>
    <noFastPSkip>true</noFastPSkip>
    <NoiseReduction>0</NoiseReduction>
    <MixedRefs>true</MixedRefs>
    <X264Trellis>2</X264Trellis>
    <NbRefFrames>5</NbRefFrames>
    <AlphaDeblock>0</AlphaDeblock>
    <BetaDeblock>0</BetaDeblock>
    <SubPelRefinement>5</SubPelRefinement>
    <MaxQuantDelta>24</MaxQuantDelta>
    <TempQuantBlur>0</TempQuantBlur>
    <BframePredictionMode>3</BframePredictionMode>
    <VBVBufferSize>-1</VBVBufferSize>
    <VBVMaxBitrate>-1</VBVMaxBitrate>
    <METype>1</METype>
    <MERange>32</MERange>
    <MinGOPSize>6</MinGOPSize>
    <Profile>2</Profile>
    <Level>15</Level>
    <IPFactor>1.4</IPFactor>
    <PBFactor>1.3</PBFactor>
    <ChromaQPOffset>0</ChromaQPOffset>
    <VBVInitialBuffer>0.9</VBVInitialBuffer>
    <BitrateVariance>8.0</BitrateVariance>
    <QuantCompression>0.6</QuantCompression>
    <TempComplexityBlur>20</TempComplexityBlur>
    <TempQuanBlurCC>0.5</TempQuanBlurCC>
    <SCDSensitivity>55</SCDSensitivity>
    <BframeBias>0</BframeBias>
    <Deblock>true</Deblock>
    <Cabac>true</Cabac>
    <WeightedBPrediction>true</WeightedBPrediction>
    <AdaptiveBFrames>true</AdaptiveBFrames>
    <BFramePyramid>true</BFramePyramid>
    <BRDO>true</BRDO>
    <biME>true</biME>
    <ChromaME>true</ChromaME>
    <P8x8mv>true</P8x8mv>
    <B8x8mv>true</B8x8mv>
    <I4x4mv>true</I4x4mv>
    <I8x8mv>true</I8x8mv>
    <P4x4mv>true</P4x4mv>
    <AdaptiveDCT>true</AdaptiveDCT>
    <SSIMCalculation>false</SSIMCalculation>
    <Lossless>false</Lossless>
    <QuantizerMatrix>J:\megui\jvt-5.cfg</QuantizerMatrix>
    <QuantizerMatrixType>2</QuantizerMatrixType>
  </Settings>
</GenericProfileOfVideoCodecSettings>

コマンドオプションで書くと
1pass

--pass 1 --bitrate 2048 --stats ".stats" --keyint 300 --min-keyint 6 --bframes 4 --b-pyramid --direct auto --subme 1 --analyse none --qpstep 24 --ratetol 8.0 --scenecut 55 --me dia --merange 32 --thread-input --cqmfile "J:\megui\jvt-5.cfg" --progress --no-dct-decimate --no-psnr --no-ssim --output NUL

2・3pass

--pass 3 --bitrate 2048 --stats ".stats" --keyint 300 --min-keyint 6 --ref 5 --mixed-refs --no-fast-pskip --bframes 4 --b-pyramid --b-rdo --bime --weightb --direct auto --subme 6 --trellis 2 --analyse all  --8x8dct --qpstep 24 -ratetol 8.0 --scenecut 55 --merange 32 --threads 2 --thread-input --cqmfile "J:\megui\jvt-5.cfg" --progress --no-dct-decimate --no-psnr --no-ssim --output "" "" --overscan show --videoformat ntsc --fullrange on 

指定されているカスタムマトリクス"J:\megui\jvt-5.cfg"は以前さらしたx264カスタムマトリクス - MasaHeroの日記を参照。