>x264 --fullhelp
x264 core:
Syntax: x264 [options] -o outfile infile Infile can be raw (in which case resolution is required),
or YUV4MPEG (*.y4m),
or Avisynth if compiled with support (yes).
or libav* formats if compiled with lavf support (no) or ffms support (no).
Outfile type is selected by filename:
. -> Raw bytestream
.mkv -> Matroska
.flv -> Flash Video
.mp4 -> MP4 if compiled with GPAC or L-SMASH support (no)
Output bit depth: (configured at compile time) Options: -h, --help List basic options
--longhelp List more options
--fullhelp List all options Example usage: Constant quality mode:
x264 --crf -o <output> <input> Two-pass with a bitrate of 1000kbps:
x264 --pass --bitrate -o <output> <input>
x264 --pass --bitrate -o <output> <input> Lossless:
x264 --qp -o <output> <input> Maximum PSNR at the cost of speed and visual quality:
x264 --preset placebo --tune psnr -o <output> <input> Constant bitrate at 1000kbps with a second-buffer:
x264 --vbv-bufsize --bitrate -o <output> <input> Presets: --profile <string> Force the limits of an H. profile
Overrides all settings.
- baseline:
--no-8x8dct --bframes --no-cabac
--cqm flat --weightp
No interlaced.
No lossless.
- main:
--no-8x8dct --cqm flat
No lossless.
- high:
No lossless.
- high10:
No lossless.
Support for bit depth -.
- high422:
No lossless.
Support for bit depth -.
Support for ::/:: chroma subsampling.
- high444:
Support for bit depth -.
Support for ::/::/:: chroma subsamp
ling.
--preset <string> Use a preset to select encoding settings [medium]
Overridden by user settings.
- ultrafast:
--no-8x8dct --aq-mode --b-adapt
--bframes --no-cabac --no-deblock
--no-mbtree --me dia --no-mixed-refs
--partitions none --rc-lookahead --ref
--scenecut --subme --trellis
--no-weightb --weightp
- superfast:
--no-mbtree --me dia --no-mixed-refs
--partitions i8x8,i4x4 --rc-lookahead
--ref --subme --trellis --weightp
- veryfast:
--no-mixed-refs --rc-lookahead
--ref --subme --trellis --weightp
- faster:
--no-mixed-refs --rc-lookahead
--ref --subme --weightp
- fast:
--rc-lookahead --ref --subme
--weightp
- medium:
Default settings apply.
- slow:
--b-adapt --direct auto --me umh
--rc-lookahead --ref --subme
- slower:
--b-adapt --direct auto --me umh
--partitions all --rc-lookahead
--ref --subme --trellis
- veryslow:
--b-adapt --bframes --direct auto
--me umh --merange --partitions all
--ref --subme --trellis
--rc-lookahead
- placebo:
--bframes --b-adapt --direct auto
--slow-firstpass --no-fast-pskip
--me tesa --merange --partitions all
--rc-lookahead --ref --subme
--trellis
--tune <string> Tune the settings for a particular type of source
or situation
Overridden by user settings.
Multiple tunings are separated by commas.
Only one psy tuning can be used at a time.
- film (psy tuning):
--deblock -:- --psy-rd <unset>:0.15
- animation (psy tuning):
--bframes {+} --deblock :
--psy-rd 0.4:<unset> --aq-strength 0.6
--ref {Double if > else }
- grain (psy tuning):
--aq-strength 0.5 --no-dct-decimate
--deadzone-inter --deadzone-intra
--deblock -:- --ipratio 1.1
--pbratio 1.1 --psy-rd <unset>:0.25
--qcomp 0.8
- stillimage (psy tuning):
--aq-strength 1.2 --deblock -:-
--psy-rd 2.0:0.7
- psnr (psy tuning):
--aq-mode --no-psy
- ssim (psy tuning):
--aq-mode --no-psy
- fastdecode:
--no-cabac --no-deblock --no-weightb
--weightp
- zerolatency:
--bframes --force-cfr --no-mbtree
--sync-lookahead --sliced-threads
--rc-lookahead
--slow-firstpass Don't force these faster settings with --pass 1:
--no-8x8dct --me dia --partitions none
--ref --subme { if > else unchanged}
--trellis --fast-pskip Frame-type options: -I, --keyint <integer or "infinite"> Maximum GOP size []
-i, --min-keyint <integer> Minimum GOP size [auto]
--no-scenecut Disable adaptive I-frame decision
--scenecut <integer> How aggressively to insert extra I-frames []
--intra-refresh Use Periodic Intra Refresh instead of IDR frames
-b, --bframes <integer> Number of B-frames between I and P []
--b-adapt <integer> Adaptive B-frame decision method []
Higher values may lower threading efficiency.
- : Disabled
- : Fast
- : Optimal (slow with high --bframes)
--b-bias <integer> Influences how often B-frames are used []
--b-pyramid <string> Keep some B-frames as references [normal]
- none: Disabled
- strict: Strictly hierarchical pyramid
- normal: Non-strict (not Blu-ray compatible)
--open-gop Use recovery points to close GOPs
Only available with b-frames
--no-cabac Disable CABAC
-r, --ref <integer> Number of reference frames []
--no-deblock Disable loop filter
-f, --deblock <alpha:beta> Loop filter parameters [:]
--slices <integer> Number of slices per frame; forces rectangular
slices and is overridden by other slicing options
--slices-max <integer> Absolute maximum slices per frame; overrides
slice-max-size/slice-max-mbs when necessary
--slice-max-size <integer> Limit the size of each slice in bytes
--slice-max-mbs <integer> Limit the size of each slice in macroblocks (max
)
--slice-min-mbs <integer> Limit the size of each slice in macroblocks (min
)
--tff Enable interlaced mode (top field first)
--bff Enable interlaced mode (bottom field first)
--constrained-intra Enable constrained intra prediction.
--pulldown <string> Use soft pulldown to change frame rate
- none, , , , double, triple, euro (requ
ires cfr input)
--fake-interlaced Flag stream as interlaced but encode progressive.
Makes it possible to encode 25p and 30p Blu-Ray
streams. Ignored in interlaced mode.
--frame-packing <integer> For stereoscopic videos define frame arrangement - : checkerboard - pixels are alternatively f
rom L and R
- : column alternation - L and R are interlac
ed by column
- : row alternation - L and R are interlaced
by row
- : side by side - L is on the left, R on the
right
- : top bottom - L is on top, R on bottom
- : frame alternation - one view per frame Ratecontrol: -q, --qp <integer> Force constant QP (-, =lossless)
-B, --bitrate <integer> Set bitrate (kbit/s)
--crf <float> Quality-based VBR (-) [23.0]
--rc-lookahead <integer> Number of frames for frametype lookahead []
--vbv-maxrate <integer> Max local bitrate (kbit/s) []
--vbv-bufsize <integer> Set size of the VBV buffer (kbit) []
--vbv-init <float> Initial VBV buffer occupancy [0.9]
--crf-max <float> With CRF+VBV, limit RF to this value
May cause VBV underflows!
--qpmin <integer> Set min QP []
--qpmax <integer> Set max QP []
--qpstep <integer> Set max QP step []
--ratetol <float> Tolerance of ABR ratecontrol and VBV [1.0]
--ipratio <float> QP factor between I and P [1.40]
--pbratio <float> QP factor between P and B [1.30]
--chroma-qp-offset <integer> QP difference between chroma and luma []
--aq-mode <integer> AQ method []
- : Disabled
- : Variance AQ (complexity mask)
- : Auto-variance AQ (experimental)
--aq-strength <float> Reduces blocking and blurring in flat and
textured areas. [1.0] -p, --pass <integer> Enable multipass ratecontrol
- : First pass, creates stats file
- : Last pass, does not overwrite stats file
- : Nth pass, overwrites stats file
--stats <string> Filename for pass stats ["x264_2pass.log"]
--no-mbtree Disable mb-tree ratecontrol.
--qcomp <float> QP curve compression [0.60]
--cplxblur <float> Reduce fluctuations in QP (before curve compressio
n) [20.0]
--qblur <float> Reduce fluctuations in QP (after curve compression
) [0.5]
--zones <zone0>/<zone1>/... Tweak the bitrate of regions of the video
Each zone is of the form
<start frame>,<end frame>,<option>
where <option> is either
q=<integer> (force QP)
or b=<float> (bitrate multiplier)
--qpfile <string> Force frametypes and QPs for some or all frames
Format of each line: framenumber frametype QP
QP is optional (none lets x264 choose). Frametypes
: I,i,K,P,B,b.
K=<I or i> depending on open-gop setting
QPs are restricted by qpmin/qpmax. Analysis: -A, --partitions <string> Partitions to consider ["p8x8,b8x8,i8x8,i4x4"]
- p8x8, p4x4, b8x8, i8x8, i4x4
- none, all
(p4x4 requires p8x8. i8x8 requires --8x8dct.)
--direct <string> Direct MV prediction mode ["spatial"]
- none, spatial, temporal, auto
--no-weightb Disable weighted prediction for B-frames
--weightp <integer> Weighted prediction for P-frames []
- : Disabled
- : Weighted refs
- : Weighted refs + Duplicates
--me <string> Integer pixel motion estimation method ["hex"]
- dia: diamond search, radius (fast)
- hex: hexagonal search, radius
- umh: uneven multi-hexagon search
- esa: exhaustive search
- tesa: hadamard exhaustive search (slow)
--merange <integer> Maximum motion vector search range []
--mvrange <integer> Maximum motion vector length [- (auto)]
--mvrange-thread <int> Minimum buffer between threads [- (auto)]
-m, --subme <integer> Subpixel motion estimation and mode decision []
- : fullpel only (not recommended)
- : SAD mode decision, one qpel iteration
- : SATD mode decision
- -: Progressively more qpel
- : RD mode decision for I/P-frames
- : RD mode decision for all frames
- : RD refinement for I/P-frames
- : RD refinement for all frames
- : QP-RD - requires trellis=, aq-mode>
- : Full RD: disable all early terminations
--psy-rd <float:float> Strength of psychovisual optimization ["1.0:0.0"]
#: RD (requires subme>=)
#: Trellis (requires trellis, experimental)
--no-psy Disable all visual optimizations that worsen
both PSNR and SSIM.
--no-mixed-refs Don't decide references on a per partition basis
--no-chroma-me Ignore chroma in motion estimation
--no-8x8dct Disable adaptive spatial transform size
-t, --trellis <integer> Trellis RD quantization. []
- : disabled
- : enabled only on the final encode of a MB
- : enabled on all mode decisions
--no-fast-pskip Disables early SKIP detection on P-frames
--no-dct-decimate Disables coefficient thresholding on P-frames
--nr <integer> Noise reduction [] --deadzone-inter <int> Set the size of the inter luma quantization deadzo
ne []
--deadzone-intra <int> Set the size of the intra luma quantization deadzo
ne []
Deadzones should be in the range - .
--cqm <string> Preset quant matrices ["flat"]
- jvt, flat
--cqmfile <string> Read custom quant matrices from a JM-compatible fi
le
Overrides any other --cqm* options.
--cqm4 <list> Set all 4x4 quant matrices
Takes a comma-separated list of integers.
--cqm8 <list> Set all 8x8 quant matrices
Takes a comma-separated list of integers.
--cqm4i, --cqm4p, --cqm8i, --cqm8p <list>
Set both luma and chroma quant matrices
--cqm4iy, --cqm4ic, --cqm4py, --cqm4pc <list>
Set individual quant matrices Video Usability Info (Annex E):
The VUI settings are not used by the encoder but are merely suggestions to
the playback equipment. See doc/vui.txt for details. Use at your own risk. --overscan <string> Specify crop overscan setting ["undef"]
- undef, show, crop
--videoformat <string> Specify video format ["undef"]
- component, pal, ntsc, secam, mac, undef
--range <string> Specify color range ["auto"]
- auto, tv, pc
--colorprim <string> Specify color primaries ["undef"]
- undef, bt709, bt470m, bt470bg, smpte170m,
smpte240m, film, bt2020
--transfer <string> Specify transfer characteristics ["undef"]
- undef, bt709, bt470m, bt470bg, smpte170m,
smpte240m, linear, log100, log316,
iec61966--, bt1361e, iec61966--,
bt2020-, bt2020-
--colormatrix <string> Specify color matrix setting ["???"]
- undef, bt709, fcc, bt470bg, smpte170m,
smpte240m, GBR, YCgCo, bt2020nc, bt2020c
--chromaloc <integer> Specify chroma sample location ( to ) []
--nal-hrd <string> Signal HRD information (requires vbv-bufsize)
- none, vbr, cbr (cbr not allowed in .mp4)
--filler Force hard-CBR and generate filler (implied by
--nal-hrd cbr)
--pic-struct Force pic_struct in Picture Timing SEI
--crop-rect <string> Add 'left,top,right,bottom' to the bitstream-level cropping rectangle Input/Output: -o, --output <string> Specify output file
--muxer <string> Specify output container format ["auto"]
- auto, raw, mkv, flv
--demuxer <string> Specify input container format ["auto"]
- auto, raw, y4m, avs
--input-fmt <string> Specify input file format (requires lavf support)
--input-csp <string> Specify input colorspace format for raw input
- valid csps for `raw' demuxer:
i420, yv12, nv12, i422, yv16, nv16, i444, yv24,
bgr, bgra, rgb
--output-csp <string> Specify output colorspace ["i420"]
- i420, i422, i444, rgb
--input-depth <integer> Specify input bit depth for raw input
--input-range <string> Specify input color range ["auto"]
- auto, tv, pc
--input-res <intxint> Specify input resolution (width x height)
--index <string> Filename for input index file
--sar width:height Specify Sample Aspect Ratio
--fps <float|rational> Specify framerate
--seek <integer> First frame to encode
--frames <integer> Maximum number of frames to encode
--level <string> Specify level (as defined by Annex A)
--bluray-compat Enable compatibility hacks for Blu-ray support
--avcintra-class <integer> Use compatibility hacks for AVC-Intra class
- , ,
--stitchable Don't optimize headers based on video content
Ensures ability to recombine a segmented encode -v, --verbose Print stats for each frame
--no-progress Don't show the progress indicator while encoding
--quiet Quiet Mode
--log-level <string> Specify the maximum level of logging ["info"]
- none, error, warning, info, debug
--psnr Enable PSNR computation
--ssim Enable SSIM computation
--threads <integer> Force a specific number of threads
--lookahead-threads <integer> Force a specific number of lookahead threads --sliced-threads Low-latency but lower-efficiency threading
--thread-input Run Avisynth in its own thread
--sync-lookahead <integer> Number of buffer frames for threaded lookahead
--non-deterministic Slightly improve quality of SMP, at the cost of re
peatability
--cpu-independent Ensure exact reproducibility across different cpus
,
as opposed to letting them select different al
gorithms
--asm <integer> Override CPU detection
--no-asm Disable all CPU optimizations
--opencl Enable use of OpenCL
--opencl-clbin <string> Specify path of compiled OpenCL kernel cache
--opencl-device <integer> Specify OpenCL device ordinal
--dump-yuv <string> Save reconstructed frames
--sps-id <integer> Set SPS and PPS id numbers []
--aud Use access unit delimiters
--force-cfr Force constant framerate timestamp generation
--tcfile-in <string> Force timestamp generation with timecode file
--tcfile-out <string> Output timecode v2 file from input timestamps
--timebase <int/int> Specify timebase numerator and denominator
<integer> Specify timebase numerator for input timecode file or specify timebase denominator for other input
--dts-compress Eliminate initial delay with container DTS hack Filtering: --vf, --video-filter <filter0>/<filter1>/... Apply video filtering to the
input file Filter options may be specified in <filter>:<option>=<value> format. Available filters:
crop:left,top,right,bottom
removes pixels from the edges of the frame
select_every:step,offset1[,...]
apply a selection pattern to input frames
step: the number of frames in the pattern
offsets: the offset into the step to select a frame
see: http://avisynth.org/mediawiki/Select#SelectEvery

x264 --fullhelp的更多相关文章

  1. x264 - 高品质 H.264 编码器

    转自:http://www.5i01.cn/topicdetail.php?f=510&t=3735840&r=18&last=48592660 H.264 / MPEG-4 ...

  2. FFmpeg and x264 Encoding Guide

    https://trac.ffmpeg.org/wiki/Encode/H.264 FFmpeg and H.264 Encoding Guide Contents Constant Rate Fac ...

  3. (转)x264参数中文详解(X264 Settings)

    0 解释x264命令可选项的用途和使用方法.同执行 x264 --fullhelp 显示顺序.本文主要翻译:mewiki.project357.com/wiki/X264_Settings,同时参考d ...

  4. ffmpeg中的x264编码选项,对应关系

    )’ Disabled. ‘variance (1)’ Variance AQ (complexity mask). ‘autovariance (2)’ Auto-variance AQ (expe ...

  5. X264参考手册

    艺搜简介 基本语法: x264 [options]-o outfile infile 注意与ffmpeg的输入输出文件位置恰好相反: ffmpeg[options][[infile options]- ...

  6. ffmpeg最全的命令参数

    Hyper fast Audio and Video encoderusage: ffmpeg [options] [[infile options] -i infile]... {[outfile ...

  7. FFmpeg与libx264接口源代码简单分析

    ===================================================== H.264源代码分析文章列表: [编码 - x264] x264源代码简单分析:概述 x26 ...

  8. FFmpeg源代码简单分析:结构体成员管理系统-AVClass

    ===================================================== FFmpeg的库函数源代码分析文章列表: [架构图] FFmpeg源代码结构图 - 解码 F ...

  9. ffmpeg与H264编码指南

    注:本文属于转载译文,原文地址:http://blog.csdn.net/vblittleboy/article/details/8982857. 英文地址:https://trac.ffmpeg.o ...

随机推荐

  1. MQTT协议介绍

    http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.pdf   MQTT 文档 http://mqtt.org/new/wp-c ...

  2. 初学ElasticSeacher

    这周,刚接手了同事那边的工作,项目里需要用到ElasticSeacher.但是,之前从未接触过,因此,看了ES的文档,开始慢慢的知道了一些ES的知识. 一.ES简介: Elasticsearch是一个 ...

  3. 手动安装windows的磁盘清理工具

    All you really need to do is copy some files that are already located on your server into specific s ...

  4. Cocos2d-x初识

    cocos2d-x引擎是什么 在学习游戏的时候就有意的搜索这方面的知识,知道游戏须要游戏引擎,引擎听着非常厉害,只是就是一个游戏框架. 或许某一个游戏框架火起来了,就非常流行了,只是我觉得不论什么游戏 ...

  5. pascals-triangleI、II——生成规律的三角形

    1.Given numRows, generate the first numRows of Pascal's triangle. For example, given numRows = 5,Ret ...

  6. Java序列化算法

    Serialization(序列化)是一种将对象以一连串的字节描述的过程:反序列化deserialization是一种将这些字节重建成一个对象的过程.java序列化API提供一种处理对象序列化的标准机 ...

  7. 第一个Hello,OS World操作系统

    来自:清泛网 - http://www.tsingfun.com/html/2015/dev_0804/hello_os_word_my_first_os.html 首先阐述下程序运行的基本原理:计算 ...

  8. windows xp下mysql5.0安装

    安装注意要点: 1.不要安装在带有中文的安装路径 2.之前若有安装过mysql,请一定要卸载干净       MySQL安装的图解5.0.28 - CSDN

  9. 【每日Scrum】第五天(4.15) TD学生助手Sprint1站立会议

    TD学生助手Sprint1站立会议(4.15) 任务看板 站立会议内容 组员 昨天 今天 困难 签到 刘铸辉 (组长) 今天和静姐,娇哥把图片3D画廊效果的功能实现了,GPS功能没什么进展,所以只能继 ...

  10. EC知识总结ITE5570

    以笔记本上的EC ITE5570进行讲解  ITE EC代码解析 1.一简介 EC(Embed Controller,嵌入式控制器)是一个16位单片机,它内部本身也有一定容量的Flash来存储EC的代 ...