Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
Getting help:
-h -- print basic options
-h long -- print more options
-h full -- print all options (including all format and codec specific options, very long)
See man ffmpeg for detailed description of the options.
Print help / information / capabilities:
-L show license
-h topic show help
-? topic show help
-help topic show help
--help topic show help
-version show version
-formats show available formats
-codecs show available codecs
-decoders show available decoders
-encoders show available encoders
-bsfs show available bit stream filters
-protocols show available protocols
-filters show available filters
-pix_fmts show available pixel formats
-layouts show standard channel layouts
-sample_fmts show available audio sample formats
Global options (affect whole program instead of just one file:
-loglevel loglevel set libav* logging level
-v loglevel set libav* logging level
-report generate a report
-max_alloc bytes set maximum size of a single allocated block
-y overwrite output files
-n do not overwrite output files
-stats print progress report during encoding
-bits_per_raw_sample number set the number of bits per raw sample
-croptop size Removed, use the crop filter instead
-cropbottom size Removed, use the crop filter instead
-cropleft size Removed, use the crop filter instead
-cropright size Removed, use the crop filter instead
-padtop size Removed, use the pad filter instead
-padbottom size Removed, use the pad filter instead
-padleft size Removed, use the pad filter instead
-padright size Removed, use the pad filter instead
-padcolor color Removed, use the pad filter instead
-vol volume change audio volume (256=normal)
Advanced global options:
-cpuflags flags force specific cpu flags
-benchmark add timings for benchmarking
-benchmark_all add timings for each task
-progress url write program-readable progress information
-stdin enable or disable interaction on standard input
-timelimit limit set max runtime in seconds
-dump dump each input packet
-hex when dumping packets, also dump the payload
-vsync video sync method
-async audio sync method
-adrift_threshold threshold audio drift threshold
-copyts copy timestamps
-copytb mode copy input stream time base when stream copying
-dts_delta_threshold threshold timestamp discontinuity delta threshold
-dts_error_threshold threshold timestamp error delta threshold
-xerror error exit on error
-filter_complex graph_description create a complex filtergraph
-debug_ts print timestamp debugging info
-intra deprecated use -g 1
-vdt n discard threshold
-sameq Removed
-same_quant Removed
-deinterlace this option is deprecated, use the yadif filter instead
-psnr calculate PSNR of compressed frames
-vstats dump video coding statistics to file
-vstats_file file dump video coding statistics to file
-dc precision intra_dc_precision
-qphist show QP histogram
-vc channel deprecated, use -channel
-tvstd standard deprecated, use -standard
-isync this option is deprecated and does nothing
Per-file main options:
-f fmt force format
-c codec codec name
-codec codec codec name
-pre preset preset name
-map_metadata outfile[,metadata]:infile[,metadata] set metadata information of outfile from infile
-t duration record or transcode "duration" seconds of audio/video
-fs limit_size set the limit file size in bytes
-ss time_off set the start time offset
-timestamp time set the recording timestamp ('now' to set the current time)
-metadata string=string add metadata
-target type specify target file type ("vcd", "svcd", "dvd", "dv", "dv50", "pal-vcd", "ntsc-svcd", ...)
-frames number set the number of frames to record
-filter filter_graph set stream filtergraph
-reinit_filter reinit filtergraph on input parameter changes
Advanced per-file options:
-map [-]input_file_id[:stream_specifier][,sync_file_id[:stream_s set input stream mapping
-map_channel file.stream.channel[:syncfile.syncstream] map an audio channel from one stream to another
-map_chapters input_file_index set chapters mapping
-itsoffset time_off set the input ts offset
-itsscale scale set the input ts scale
-dframes number set the number of data frames to record
-re read input at native frame rate
-shortest finish encoding within shortest input
-copyinkf copy initial non-keyframes
-copypriorss copy or discard frames before start time
-tag fourcc/tag force codec tag/fourcc
-q q use fixed quality scale (VBR)
-qscale q use fixed quality scale (VBR)
-profile profile set profile
-attach filename add an attachment to the output file
-dump_attachment filename extract an attachment into a file
-muxdelay seconds set the maximum demux-decode delay
-muxpreload seconds set the initial demux-decode delay
-bsf bitstream_filters A comma-separated list of bitstream filters
-fpre filename set options from indicated preset file
-dcodec codec force data codec ('copy' to copy stream)
Video options:
-vframes number set the number of video frames to record
-r rate set frame rate (Hz value, fraction or abbreviation)
-s size set frame size (WxH or abbreviation)
-aspect aspect set aspect ratio (4:3, 16:9 or 1.3333, 1.7777)
-bits_per_raw_sample number set the number of bits per raw sample
-croptop size Removed, use the crop filter instead
-cropbottom size Removed, use the crop filter instead
-cropleft size Removed, use the crop filter instead
-cropright size Removed, use the crop filter instead
-padtop size Removed, use the pad filter instead
-padbottom size Removed, use the pad filter instead
-padleft size Removed, use the pad filter instead
-padright size Removed, use the pad filter instead
-padcolor color Removed, use the pad filter instead
-vn disable video
-vcodec codec force video codec ('copy' to copy stream)
-timecode hh:mm:ss[:;.]ff set initial TimeCode value.
-pass n select the pass number (1 to 3)
-vf filter_graph set video filters
-b bitrate video bitrate (please use -b:v)
-dn disable data
Advanced Video options:
-pix_fmt format set pixel format
-intra deprecated use -g 1
-vdt n discard threshold
-rc_override override rate control override for specific intervals
-sameq Removed
-same_quant Removed
-passlogfile prefix select two pass log file name prefix
-deinterlace this option is deprecated, use the yadif filter instead
-psnr calculate PSNR of compressed frames
-vstats dump video coding statistics to file
-vstats_file file dump video coding statistics to file
-intra_matrix matrix specify intra matrix coeffs
-inter_matrix matrix specify inter matrix coeffs
-top top=1/bottom=0/auto=-1 field first
-dc precision intra_dc_precision
-vtag fourcc/tag force video tag/fourcc
-qphist show QP histogram
-force_fps force the selected framerate, disable the best supported framerate selection
-streamid streamIndex:value set the value of an outfile streamid
-force_key_frames timestamps force key frames at specified timestamps
-vc channel deprecated, use -channel
-tvstd standard deprecated, use -standard
-vbsf video bitstream_filters deprecated
-vpre preset set the video options to the indicated preset
Audio options:
-aframes number set the number of audio frames to record
-aq quality set audio quality (codec-specific)
-ar rate set audio sampling rate (in Hz)
-ac channels set number of audio channels
-an disable audio
-acodec codec force audio codec ('copy' to copy stream)
-vol volume change audio volume (256=normal)
-af filter_graph set audio filters
Advanced Audio options:
-atag fourcc/tag force audio tag/fourcc
-sample_fmt format set sample format
-channel_layout layout set channel layout
-absf audio bitstream_filters deprecated
-apre preset set the audio options to the indicated preset
Subtitle options:
-s size set frame size (WxH or abbreviation)
-sn disable subtitle
-scodec codec force subtitle codec ('copy' to copy stream)
-stag fourcc/tag force subtitle tag/fourcc
-fix_sub_duration fix subtitles duration
-spre preset set the subtitle options to the indicated preset
AVCodecContext AVOptions:
-b E..VA. set bitrate (in bits/s) (from 0 to INT_MAX)
-ab E...A. set bitrate (in bits/s) (from 0 to INT_MAX)
-bt E..V.. Set video bitrate tolerance (in bits/s). In 1-pass mode, bitrate tolerance specifies how far ratecontrol is willing to deviate from the target average bitrate value. This is not related to minimum/maximum bitrate. Lowering tolerance too much has an adverse effect on quality. (from 1 to INT_MAX)
-flags ED.VAS
mv4 E..V.. use four motion vectors per macroblock (MPEG-4)
qpel E..V.. use 1/4-pel motion compensation
loop E..V.. use loop filter
gmc E..V.. use gmc
mv0 E..V.. always try a mb with mv=<0,0>
gray ED.V.. only decode/encode grayscale
psnr E..V.. error[?] variables will be set during encoding
naq E..V.. normalize adaptive quantization
ildct E..V.. use interlaced DCT
low_delay ED.V.. force low delay
global_header E..VA. place global headers in extradata instead of every keyframe
bitexact ED.VAS use only bitexact functions (except (I)DCT)
aic E..V.. H.263 advanced intra coding / MPEG-4 AC prediction
cbp E..V.. Deprecated, use mpegvideo private options instead
qprd E..V.. Deprecated, use mpegvideo private options instead
ilme E..V.. interlaced motion estimation
cgop E..V.. closed GOP
-me_method E..V.. set motion estimation method (from INT_MIN to INT_MAX)
zero E..V.. zero motion estimation (fastest)
full E..V.. full motion estimation (slowest)
epzs E..V.. EPZS motion estimation (default)
esa E..V.. esa motion estimation (alias for full)
tesa E..V.. tesa motion estimation
dia E..V.. diamond motion estimation (alias for EPZS)
log E..V.. log motion estimation
phods E..V.. phods motion estimation
x1 E..V.. X1 motion estimation
hex E..V.. hex motion estimation
umh E..V.. umh motion estimation
iter E..V.. iter motion estimation
-g E..V.. set the group of picture (GOP) size (from INT_MIN to INT_MAX)
-ar ED..A. set audio sampling rate (in Hz) (from INT_MIN to INT_MAX)
-ac ED..A. set number of audio channels (from INT_MIN to INT_MAX)
-cutoff E...A. set cutoff bandwidth (from INT_MIN to INT_MAX)
-frame_size E...A. (from INT_MIN to INT_MAX)
-qcomp E..V.. video quantizer scale compression (VBR). Constant of ratecontrol equation. Recommended range for default rc_eq: 0.0-1.0 (from -3.40282e+038 to FLT_MAX)
-qblur E..V.. video quantizer scale blur (VBR) (from -1 to FLT_MAX)
-qmin E..V.. minimum video quantizer scale (VBR) (from -1 to 69)
-qmax E..V.. maximum video quantizer scale (VBR) (from -1 to 1024)
-qdiff E..V.. maximum difference between the quantizer scales (VBR) (from INT_MIN to INT_MAX)
-bf E..V.. use 'frames' B frames (from -1 to 16)
-b_qfactor E..V.. QP factor between P- and B-frames (from -3.40282e+038 to FLT_MAX)
-rc_strategy E..V.. ratecontrol method (from INT_MIN to INT_MAX)
-b_strategy E..V.. strategy to choose between I/P/B-frames (from INT_MIN to INT_MAX)
-ps E..V.. RTP payload size in bytes (from INT_MIN to INT_MAX)
-bug .D.V.. work around not autodetected encoder bugs
autodetect .D.V..
old_msmpeg4 .D.V.. some old lavc-generated MSMPEG4v3 files (no autodetection)
xvid_ilace .D.V.. Xvid interlacing bug (autodetected if FOURCC == XVIX)
ump4 .D.V.. (autodetected if FOURCC == UMP4)
no_padding .D.V.. padding bug (autodetected)
amv .D.V..
ac_vlc .D.V.. illegal VLC bug (autodetected per FOURCC)
qpel_chroma .D.V..
std_qpel .D.V.. old standard qpel (autodetected per FOURCC/version)
qpel_chroma2 .D.V..
direct_blocksize .D.V.. direct-qpel-blocksize bug (autodetected per FOURCC/version)
edge .D.V.. edge padding bug (autodetected per FOURCC/version)
hpel_chroma .D.V..
dc_clip .D.V..
ms .D.V.. work around various bugs in Microsoft's broken decoders
trunc .D.V.. truncated frames
-lelim E..V.. single coefficient elimination threshold for luminance (negative values also consider DC coefficient) (from INT_MIN to INT_MAX)
-celim E..V.. single coefficient elimination threshold for chrominance (negative values also consider DC coefficient) (from INT_MIN to INT_MAX)
-strict ED.VA. how strictly to follow the standards (from INT_MIN to INT_MAX)
very ED.V.. strictly conform to a older more strict version of the spec or reference software
strict ED.V.. strictly conform to all the things in the spec no matter what the consequences
normal ED.V..
unofficial ED.V.. allow unofficial extensions
experimental ED.V.. allow non-standardized experimental things
-b_qoffset E..V.. QP offset between P- and B-frames (from -3.40282e+038 to FLT_MAX)
-err_detect .D.VA. set error detection flags
crccheck .D.VA. verify embedded CRCs
bitstream .D.VA. detect bitstream specification deviations
buffer .D.VA. detect improper bitstream length
explode .D.VA. abort decoding on minor error detection
careful .D.VA. consider things that violate the spec and have not been seen in the wild as errors
compliant .D.VA. consider all spec non compliancies as errors
aggressive .D.VA. consider things that a sane encoder should not do as an error
-mpeg_quant E..V.. use MPEG quantizers instead of H.263 (from INT_MIN to INT_MAX)
-qsquish E..V.. how to keep quantizer between qmin and qmax (0 = clip, 1 = use differentiable function) (from 0 to 99)
-rc_qmod_amp E..V.. experimental quantizer modulation (from -3.40282e+038 to FLT_MAX)
-rc_qmod_freq E..V.. experimental quantizer modulation (from INT_MIN to INT_MAX)
-rc_eq E..V.. Set rate control equation. When computing the expression, besides the standard functions defined in the section 'Expression Evaluation', the following functions are available: bits2qp(bits), qp2bits(qp). Also the following constants are available: iTex pTex tex mv fCode iCount mcVar var isI isP isB avgQP qComp avgIITex avgPITex avgPPTex avgBPTex avgTex.
-maxrate E..VA. Set maximum bitrate tolerance (in bits/s). Requires bufsize to be set. (from INT_MIN to INT_MAX)
-minrate E..VA. Set minimum bitrate tolerance (in bits/s). Most useful in setting up a CBR encode. It is of little use otherwise. (from INT_MIN to INT_MAX)
-bufsize E..VA. set ratecontrol buffer size (in bits) (from INT_MIN to INT_MAX)
-rc_buf_aggressivity E..V.. currently useless (from -3.40282e+038 to FLT_MAX)
-i_qfactor E..V.. QP factor between P- and I-frames (from -3.40282e+038 to FLT_MAX)
-i_qoffset E..V.. QP offset between P- and I-frames (from -3.40282e+038 to FLT_MAX)
-rc_init_cplx E..V.. initial complexity for 1-pass encoding (from -3.40282e+038 to FLT_MAX)
-dct E..V.. DCT algorithm (from 0 to INT_MAX)
auto E..V.. autoselect a good one (default)
fastint E..V.. fast integer
int E..V.. accurate integer
mmx E..V..
altivec E..V..
faan E..V.. floating point AAN DCT
-lumi_mask E..V.. compresses bright areas stronger than medium ones (from -3.40282e+038 to FLT_MAX)
-tcplx_mask E..V.. temporal complexity masking (from -3.40282e+038 to FLT_MAX)
-scplx_mask E..V.. spatial complexity masking (from -3.40282e+038 to FLT_MAX)
-p_mask E..V.. inter masking (from -3.40282e+038 to FLT_MAX)
-dark_mask E..V.. compresses dark areas stronger than medium ones (from -3.40282e+038 to FLT_MAX)
-idct ED.V.. select IDCT implementation (from 0 to INT_MAX)
auto ED.V..
int ED.V..
simple ED.V..
simplemmx ED.V..
libmpeg2mmx ED.V..
mmi ED.V..
arm ED.V..
altivec ED.V..
sh4 ED.V..
simplearm ED.V..
simplearmv5te ED.V..
simplearmv6 ED.V..
simpleneon ED.V..
simplealpha ED.V..
h264 ED.V..
vp3 ED.V..
ipp ED.V..
xvidmmx ED.V..
faani ED.V.. floating point AAN IDCT
-ec .D.V.. set error concealment strategy
guess_mvs .D.V.. iterative motion vector (MV) search (slow)
deblock .D.V.. use strong deblock filter for damaged MBs
-pred E..V.. prediction method (from INT_MIN to INT_MAX)
left E..V..
plane E..V..
median E..V..
-aspect E..V.. sample aspect ratio (from 0 to 10)
-debug ED.VAS print specific debug info
pict .D.V.. picture info
rc E..V.. rate control
bitstream .D.V..
mb_type .D.V.. macroblock (MB) type
qp .D.V.. per-block quantization parameter (QP)
mv .D.V.. motion vector
dct_coeff .D.V..
skip .D.V..
startcode .D.V..
pts .D.V..
er .D.V.. error recognition
mmco .D.V.. memory management control operations (H.264)
bugs .D.V..
vis_qp .D.V.. visualize quantization parameter (QP), lower QP are tinted greener
vis_mb_type .D.V.. visualize block types
buffers .D.V.. picture buffer allocations
thread_ops .D.V.. threading operations
-vismv .D.V.. visualize motion vectors (MVs) (from 0 to INT_MAX)
pf .D.V.. forward predicted MVs of P-frames
bf .D.V.. forward predicted MVs of B-frames
bb .D.V.. backward predicted MVs of B-frames
-cmp E..V.. full-pel ME compare function (from INT_MIN to INT_MAX)
sad E..V.. sum of absolute differences, fast (default)
sse E..V.. sum of squared errors
satd E..V.. sum of absolute Hadamard transformed differences
dct E..V.. sum of absolute DCT transformed differences
psnr E..V.. sum of squared quantization errors (avoid, low quality)
bit E..V.. number of bits needed for the block
rd E..V.. rate distortion optimal, slow
zero E..V.. 0
vsad E..V.. sum of absolute vertical differences
vsse E..V.. sum of squared vertical differences
nsse E..V.. noise preserving sum of squared differences
w53 E..V.. 5/3 wavelet, only used in snow
w97 E..V.. 9/7 wavelet, only used in snow
dctmax E..V..
chroma E..V..
-subcmp E..V.. sub-pel ME compare function (from INT_MIN to INT_MAX)
sad E..V.. sum of absolute differences, fast (default)
sse E..V.. sum of squared errors
satd E..V.. sum of absolute Hadamard transformed differences
dct E..V.. sum of absolute DCT transformed differences
psnr E..V.. sum of squared quantization errors (avoid, low quality)
bit E..V.. number of bits needed for the block
rd E..V.. rate distortion optimal, slow
zero E..V.. 0
vsad E..V.. sum of absolute vertical differences
vsse E..V.. sum of squared vertical differences
nsse E..V.. noise preserving sum of squared differences
w53 E..V.. 5/3 wavelet, only used in snow
w97 E..V.. 9/7 wavelet, only used in snow
dctmax E..V..
chroma E..V..
-mbcmp E..V.. macroblock compare function (from INT_MIN to INT_MAX)
sad E..V.. sum of absolute differences, fast (default)
sse E..V.. sum of squared errors
satd E..V.. sum of absolute Hadamard transformed differences
dct E..V.. sum of absolute DCT transformed differences
psnr E..V.. sum of squared quantization errors (avoid, low quality)
bit E..V.. number of bits needed for the block
rd E..V.. rate distortion optimal, slow
zero E..V.. 0
vsad E..V.. sum of absolute vertical differences
vsse E..V.. sum of squared vertical differences
nsse E..V.. noise preserving sum of squared differences
w53 E..V.. 5/3 wavelet, only used in snow
w97 E..V.. 9/7 wavelet, only used in snow
dctmax E..V..
chroma E..V..
-ildctcmp E..V.. interlaced DCT compare function (from INT_MIN to INT_MAX)
sad E..V.. sum of absolute differences, fast (default)
sse E..V.. sum of squared errors
satd E..V.. sum of absolute Hadamard transformed differences
dct E..V.. sum of absolute DCT transformed differences
psnr E..V.. sum of squared quantization errors (avoid, low quality)
bit E..V.. number of bits needed for the block
rd E..V.. rate distortion optimal, slow
zero E..V.. 0
vsad E..V.. sum of absolute vertical differences
vsse E..V.. sum of squared vertical differences
nsse E..V.. noise preserving sum of squared differences
w53 E..V.. 5/3 wavelet, only used in snow
w97 E..V.. 9/7 wavelet, only used in snow
dctmax E..V..
chroma E..V..
-dia_size E..V.. diamond type & size for motion estimation (from INT_MIN to INT_MAX)
-last_pred E..V.. amount of motion predictors from the previous frame (from INT_MIN to INT_MAX)
-preme E..V.. pre motion estimation (from INT_MIN to INT_MAX)
-precmp E..V.. pre motion estimation compare function (from INT_MIN to INT_MAX)
sad E..V.. sum of absolute differences, fast (default)
sse E..V.. sum of squared errors
satd E..V.. sum of absolute Hadamard transformed differences
dct E..V.. sum of absolute DCT transformed differences
psnr E..V.. sum of squared quantization errors (avoid, low quality)
bit E..V.. number of bits needed for the block
rd E..V.. rate distortion optimal, slow
zero E..V.. 0
vsad E..V.. sum of absolute vertical differences
vsse E..V.. sum of squared vertical differences
nsse E..V.. noise preserving sum of squared differences
w53 E..V.. 5/3 wavelet, only used in snow
w97 E..V.. 9/7 wavelet, only used in snow
dctmax E..V..
chroma E..V..
-pre_dia_size E..V.. diamond type & size for motion estimation pre-pass (from INT_MIN to INT_MAX)
-subq E..V.. sub-pel motion estimation quality (from INT_MIN to INT_MAX)
-me_range E..V.. limit motion vectors range (1023 for DivX player) (from INT_MIN to INT_MAX)
-ibias E..V.. intra quant bias (from INT_MIN to INT_MAX)
-pbias E..V.. inter quant bias (from INT_MIN to INT_MAX)
-global_quality E..VA. (from INT_MIN to INT_MAX)
-coder E..V.. (from INT_MIN to INT_MAX)
vlc E..V.. variable length coder / Huffman coder
ac E..V.. arithmetic coder
raw E..V.. raw (no encoding)
rle E..V.. run-length coder
deflate E..V.. deflate-based coder
-context E..V.. context model (from INT_MIN to INT_MAX)
-mbd E..V.. macroblock decision algorithm (high quality mode) (from INT_MIN to INT_MAX)
simple E..V.. use mbcmp (default)
bits E..V.. use fewest bits
rd E..V.. use best rate distortion
-sc_threshold E..V.. scene change threshold (from INT_MIN to INT_MAX)
-lmin E..V.. minimum Lagrange factor (VBR) (from 0 to INT_MAX)
-lmax E..V.. maximum Lagrange factor (VBR) (from 0 to INT_MAX)
-nr E..V.. noise reduction (from INT_MIN to INT_MAX)
-rc_init_occupancy E..V.. number of bits which should be loaded into the rc buffer before decoding starts (from INT_MIN to INT_MAX)
-inter_threshold E..V.. (from INT_MIN to INT_MAX)
-flags2 ED.VA.
fast E..V.. allow non-spec-compliant speedup tricks
sgop E..V.. Deprecated, use mpegvideo private options instead
noout E..V.. skip bitstream encoding
local_header E..V.. place global headers at every keyframe instead of in extradata
chunks .D.V.. Frame data might be split into multiple chunks
showall .D.V.. Show all frames before the first keyframe
skiprd E..V.. Deprecated, use mpegvideo private options instead
-error E..V.. (from INT_MIN to INT_MAX)
-qns E..V.. deprecated, use mpegvideo private options instead (from INT_MIN to INT_MAX)
-threads ED.V.. (from 0 to INT_MAX)
auto ED.V.. autodetect a suitable number of threads to use
-me_threshold E..V.. motion estimation threshold (from INT_MIN to INT_MAX)
-mb_threshold E..V.. macroblock threshold (from INT_MIN to INT_MAX)
-dc E..V.. intra_dc_precision (from INT_MIN to INT_MAX)
-nssew E..V.. nsse weight (from INT_MIN to INT_MAX)
-skip_top .D.V.. number of macroblock rows at the top which are skipped (from INT_MIN to INT_MAX)
-skip_bottom .D.V.. number of macroblock rows at the bottom which are skipped (from INT_MIN to INT_MAX)
-profile E..VA. (from INT_MIN to INT_MAX)
unknown E..VA.
aac_main E...A.
aac_low E...A.
aac_ssr E...A.
aac_ltp E...A.
aac_he E...A.
aac_he_v2 E...A.
aac_ld E...A.
aac_eld E...A.
dts E...A.
dts_es E...A.
dts_96_24 E...A.
dts_hd_hra E...A.
dts_hd_ma E...A.
-level E..VA. (from INT_MIN to INT_MAX)
unknown E..VA.
-lowres .D.VA. decode at 1= 1/2, 2=1/4, 3=1/8 resolutions (from 0 to INT_MAX)
-skip_threshold E..V.. frame skip threshold (from INT_MIN to INT_MAX)
-skip_factor E..V.. frame skip factor (from INT_MIN to INT_MAX)
-skip_exp E..V.. frame skip exponent (from INT_MIN to INT_MAX)
-skipcmp E..V.. frame skip compare function (from INT_MIN to INT_MAX)
sad E..V.. sum of absolute differences, fast (default)
sse E..V.. sum of squared errors
satd E..V.. sum of absolute Hadamard transformed differences
dct E..V.. sum of absolute DCT transformed differences
psnr E..V.. sum of squared quantization errors (avoid, low quality)
bit E..V.. number of bits needed for the block
rd E..V.. rate distortion optimal, slow
zero E..V.. 0
vsad E..V.. sum of absolute vertical differences
vsse E..V.. sum of squared vertical differences
nsse E..V.. noise preserving sum of squared differences
w53 E..V.. 5/3 wavelet, only used in snow
w97 E..V.. 9/7 wavelet, only used in snow
dctmax E..V..
chroma E..V..
-border_mask E..V.. increase the quantizer for macroblocks close to borders (from -3.40282e+038 to FLT_MAX)
-mblmin E..V.. minimum macroblock Lagrange factor (VBR) (from 1 to 32767)
-mblmax E..V.. maximum macroblock Lagrange factor (VBR) (from 1 to 32767)
-mepc E..V.. motion estimation bitrate penalty compensation (1.0 = 256) (from INT_MIN to INT_MAX)
-skip_loop_filter .D.V.. (from INT_MIN to INT_MAX)
none .D.V..
default .D.V..
noref .D.V..
bidir .D.V..
nokey .D.V..
all .D.V..
-skip_idct .D.V.. (from INT_MIN to INT_MAX)
none .D.V..
default .D.V..
noref .D.V..
bidir .D.V..
nokey .D.V..
all .D.V..
-skip_frame .D.V.. (from INT_MIN to INT_MAX)
none .D.V..
default .D.V..
noref .D.V..
bidir .D.V..
nokey .D.V..
all .D.V..
-bidir_refine E..V.. refine the two motion vectors used in bidirectional macroblocks (from 0 to 4)
-brd_scale E..V.. downscale frames for dynamic B-frame decision (from 0 to 10)
-keyint_min E..V.. minimum interval between IDR-frames (from INT_MIN to INT_MAX)
-refs E..V.. reference frames to consider for motion compensation (from INT_MIN to INT_MAX)
-chromaoffset E..V.. chroma QP offset from luma (from INT_MIN to INT_MAX)
-trellis E..VA. rate-distortion optimal quantization (from INT_MIN to INT_MAX)
-sc_factor E..V.. multiplied by qscale for each frame and added to scene_change_score (from 0 to INT_MAX)
-mv0_threshold E..V.. (from 0 to INT_MAX)
-b_sensitivity E..V.. adjust sensitivity of b_frame_strategy 1 (from 1 to INT_MAX)
-compression_level E..VA. (from INT_MIN to INT_MAX)
-min_prediction_order E...A. (from INT_MIN to INT_MAX)
-max_prediction_order E...A. (from INT_MIN to INT_MAX)
-timecode_frame_start E..V.. GOP timecode frame start number, in non-drop-frame format (from 0 to I64_MAX)
-request_channels .D..A. set desired number of audio channels (from 0 to INT_MAX)
-channel_layout ED..A. (from 0 to I64_MAX)
-request_channel_layout .D..A. (from 0 to I64_MAX)
-rc_max_vbv_use E..V.. (from 0 to FLT_MAX)
-rc_min_vbv_use E..V.. (from 0 to FLT_MAX)
-ticks_per_frame ED.VA. (from 1 to INT_MAX)
-color_primaries ED.V.. (from 1 to 8)
-color_trc ED.V.. (from 1 to 7)
-colorspace ED.V.. (from 1 to 8)
-color_range ED.V.. (from 0 to 2)
-chroma_sample_location ED.V.. (from 0 to 6)
-slices E..V.. number of slices, used in parallelized encoding (from 0 to INT_MAX)
-thread_type ED.V.. select multithreading type
slice ED.V..
frame ED.V..
-audio_service_type E...A. audio service type (from 0 to 8)
ma E...A. Main Audio Service
ef E...A. Effects
vi E...A. Visually Impaired
hi E...A. Hearing Impaired
di E...A. Dialogue
co E...A. Commentary
em E...A. Emergency
vo E...A. Voice Over
ka E...A. Karaoke
-request_sample_fmt .D..A. sample format audio decoders should prefer
cljr encoder AVOptions:
-dither_type E..V.. Dither type (from 0 to 2)
dnxhd AVOptions:
-nitris_compat E..V.. encode with Avid Nitris compatibility (from 0 to 1)
ffv1 encoder AVOptions:
-slicecrc E..V.. Protect slices with CRCs (from -1 to 1)
flv encoder AVOptions:
-mpv_flags E..V.. Flags common for all mpegvideo-based encoders.
skip_rd E..V.. RD optimal MB level residual skipping
strict_gop E..V.. Strictly enforce gop size
qp_rd E..V.. Use rate distortion optimization for qp selection
cbp_rd E..V.. use rate distortion optimization for CBP
-luma_elim_threshold E..V.. single coefficient elimination threshold for luminance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX)
-chroma_elim_threshold E..V.. single coefficient elimination threshold for chrominance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX)
-quantizer_noise_shaping E..V.. (from 0 to INT_MAX)
frwu Decoder AVOptions:
-change_field_order .D.V.. Change field order (from 0 to 1)
gif decoder AVOptions:
-trans_color .D.V.. color value (ARGB) that is used instead of transparent color (from 0 to 4.29497e+009)
h261 encoder AVOptions:
-mpv_flags E..V.. Flags common for all mpegvideo-based encoders.
skip_rd E..V.. RD optimal MB level residual skipping
strict_gop E..V.. Strictly enforce gop size
qp_rd E..V.. Use rate distortion optimization for qp selection
cbp_rd E..V.. use rate distortion optimization for CBP
-luma_elim_threshold E..V.. single coefficient elimination threshold for luminance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX)
-chroma_elim_threshold E..V.. single coefficient elimination threshold for chrominance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX)
-quantizer_noise_shaping E..V.. (from 0 to INT_MAX)
H.263 encoder AVOptions:
-obmc E..V.. use overlapped block motion compensation. (from 0 to 1)
-structured_slices E..V.. Write slice start position at every GOB header instead of just GOB number. (from 0 to 1)
-mb_info E..V.. emit macroblock info for RFC 2190 packetization, the parameter value is the maximum payload size (from 0 to INT_MAX)
-mpv_flags E..V.. Flags common for all mpegvideo-based encoders.
skip_rd E..V.. RD optimal MB level residual skipping
strict_gop E..V.. Strictly enforce gop size
qp_rd E..V.. Use rate distortion optimization for qp selection
cbp_rd E..V.. use rate distortion optimization for CBP
-luma_elim_threshold E..V.. single coefficient elimination threshold for luminance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX)
-chroma_elim_threshold E..V.. single coefficient elimination threshold for chrominance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX)
-quantizer_noise_shaping E..V.. (from 0 to INT_MAX)
H.263p encoder AVOptions:
-umv E..V.. Use unlimited motion vectors. (from 0 to 1)
-aiv E..V.. Use alternative inter VLC. (from 0 to 1)
-obmc E..V.. use overlapped block motion compensation. (from 0 to 1)
-structured_slices E..V.. Write slice start position at every GOB header instead of just GOB number. (from 0 to 1)
-mpv_flags E..V.. Flags common for all mpegvideo-based encoders.
skip_rd E..V.. RD optimal MB level residual skipping
strict_gop E..V.. Strictly enforce gop size
qp_rd E..V.. Use rate distortion optimization for qp selection
cbp_rd E..V.. use rate distortion optimization for CBP
-luma_elim_threshold E..V.. single coefficient elimination threshold for luminance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX)
-chroma_elim_threshold E..V.. single coefficient elimination threshold for chrominance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX)
-quantizer_noise_shaping E..V.. (from 0 to INT_MAX)
H264 Decoder AVOptions:
MJPEG decoder AVOptions:
-extern_huff .D.V.. Use external huffman table. (from 0 to 1)
mpeg1video encoder AVOptions:
-gop_timecode E..V.. MPEG GOP Timecode in hh:mm:ss[:;.]ff format
-intra_vlc E..V.. Use MPEG-2 intra VLC table. (from 0 to 1)
-drop_frame_timecode E..V.. Timecode is in drop frame format. (from 0 to 1)
-scan_offset E..V.. Reserve space for SVCD scan offset user data. (from 0 to 1)
-mpv_flags E..V.. Flags common for all mpegvideo-based encoders.
skip_rd E..V.. RD optimal MB level residual skipping
strict_gop E..V.. Strictly enforce gop size
qp_rd E..V.. Use rate distortion optimization for qp selection
cbp_rd E..V.. use rate distortion optimization for CBP
-luma_elim_threshold E..V.. single coefficient elimination threshold for luminance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX)
-chroma_elim_threshold E..V.. single coefficient elimination threshold for chrominance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX)
-quantizer_noise_shaping E..V.. (from 0 to INT_MAX)
mpeg2video encoder AVOptions:
-gop_timecode E..V.. MPEG GOP Timecode in hh:mm:ss[:;.]ff format
-intra_vlc E..V.. Use MPEG-2 intra VLC table. (from 0 to 1)
-drop_frame_timecode E..V.. Timecode is in drop frame format. (from 0 to 1)
-scan_offset E..V.. Reserve space for SVCD scan offset user data. (from 0 to 1)
-non_linear_quant E..V.. Use nonlinear quantizer. (from 0 to 1)
-alternate_scan E..V.. Enable alternate scantable. (from 0 to 1)
-mpv_flags E..V.. Flags common for all mpegvideo-based encoders.
skip_rd E..V.. RD optimal MB level residual skipping
strict_gop E..V.. Strictly enforce gop size
qp_rd E..V.. Use rate distortion optimization for qp selection
cbp_rd E..V.. use rate distortion optimization for CBP
-luma_elim_threshold E..V.. single coefficient elimination threshold for luminance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX)
-chroma_elim_threshold E..V.. single coefficient elimination threshold for chrominance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX)
-quantizer_noise_shaping E..V.. (from 0 to INT_MAX)
MPEG4 encoder AVOptions:
-data_partitioning E..V.. Use data partitioning. (from 0 to 1)
-alternate_scan E..V.. Enable alternate scantable. (from 0 to 1)
-mpv_flags E..V.. Flags common for all mpegvideo-based encoders.
skip_rd E..V.. RD optimal MB level residual skipping
strict_gop E..V.. Strictly enforce gop size
qp_rd E..V.. Use rate distortion optimization for qp selection
cbp_rd E..V.. use rate distortion optimization for CBP
-luma_elim_threshold E..V.. single coefficient elimination threshold for luminance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX)
-chroma_elim_threshold E..V.. single coefficient elimination threshold for chrominance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX)
-quantizer_noise_shaping E..V.. (from 0 to INT_MAX)
MPEG4 Video Decoder AVOptions:
msmpeg4v2 encoder AVOptions:
-mpv_flags E..V.. Flags common for all mpegvideo-based encoders.
skip_rd E..V.. RD optimal MB level residual skipping
strict_gop E..V.. Strictly enforce gop size
qp_rd E..V.. Use rate distortion optimization for qp selection
cbp_rd E..V.. use rate distortion optimization for CBP
-luma_elim_threshold E..V.. single coefficient elimination threshold for luminance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX)
-chroma_elim_threshold E..V.. single coefficient elimination threshold for chrominance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX)
-quantizer_noise_shaping E..V.. (from 0 to INT_MAX)
msmpeg4v3 encoder AVOptions:
-mpv_flags E..V.. Flags common for all mpegvideo-based encoders.
skip_rd E..V.. RD optimal MB level residual skipping
strict_gop E..V.. Strictly enforce gop size
qp_rd E..V.. Use rate distortion optimization for qp selection
cbp_rd E..V.. use rate distortion optimization for CBP
-luma_elim_threshold E..V.. single coefficient elimination threshold for luminance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX)
-chroma_elim_threshold E..V.. single coefficient elimination threshold for chrominance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX)
-quantizer_noise_shaping E..V.. (from 0 to INT_MAX)
ProRes encoder AVOptions:
-mbs_per_slice E..V.. macroblocks per slice (from 1 to 8)
-profile E..V.. (from 0 to 3)
proxy E..V..
lt E..V..
standard E..V..
hq E..V..
-vendor E..V.. vendor ID
-bits_per_mb E..V.. desired bits per macroblock (from 0 to 8192)
-quant_mat E..V.. quantiser matrix (from -1 to 4)
auto E..V..
proxy E..V..
lt E..V..
standard E..V..
hq E..V..
default E..V..
rawdec AVOptions:
-top .D.V.. top field first (from -1 to 1)
rv10 encoder AVOptions:
-mpv_flags E..V.. Flags common for all mpegvideo-based encoders.
skip_rd E..V.. RD optimal MB level residual skipping
strict_gop E..V.. Strictly enforce gop size
qp_rd E..V.. Use rate distortion optimization for qp selection
cbp_rd E..V.. use rate distortion optimization for CBP
-luma_elim_threshold E..V.. single coefficient elimination threshold for luminance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX)
-chroma_elim_threshold E..V.. single coefficient elimination threshold for chrominance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX)
-quantizer_noise_shaping E..V.. (from 0 to INT_MAX)
rv20 encoder AVOptions:
-mpv_flags E..V.. Flags common for all mpegvideo-based encoders.
skip_rd E..V.. RD optimal MB level residual skipping
strict_gop E..V.. Strictly enforce gop size
qp_rd E..V.. Use rate distortion optimization for qp selection
cbp_rd E..V.. use rate distortion optimization for CBP
-luma_elim_threshold E..V.. single coefficient elimination threshold for luminance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX)
-chroma_elim_threshold E..V.. single coefficient elimination threshold for chrominance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX)
-quantizer_noise_shaping E..V.. (from 0 to INT_MAX)
snow encoder AVOptions:
-memc_only E..V.. Only do ME/MC (I frames -> ref, P frame -> ME+MC). (from 0 to 1)
-no_bitstream E..V.. Skip final bitstream writeout. (from 0 to 1)
TIFF encoder AVOptions:
-dpi E..V.. set the image resolution (in dpi) (from 1 to 65536)
-compression_algo E..V.. (from 1 to 32946)
packbits E..V..
raw E..V..
lzw E..V..
deflate E..V..
V210 Decoder AVOptions:
-custom_stride .D.V.. Custom V210 stride (from INT_MIN to INT_MAX)
wmv1 encoder AVOptions:
-mpv_flags E..V.. Flags common for all mpegvideo-based encoders.
skip_rd E..V.. RD optimal MB level residual skipping
strict_gop E..V.. Strictly enforce gop size
qp_rd E..V.. Use rate distortion optimization for qp selection
cbp_rd E..V.. use rate distortion optimization for CBP
-luma_elim_threshold E..V.. single coefficient elimination threshold for luminance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX)
-chroma_elim_threshold E..V.. single coefficient elimination threshold for chrominance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX)
-quantizer_noise_shaping E..V.. (from 0 to INT_MAX)
AAC encoder AVOptions:
-stereo_mode E...A. Stereo coding method (from -1 to 1)
auto E...A. Selected by the Encoder
ms_off E...A. Disable Mid/Side coding
ms_force E...A. Force Mid/Side for the whole frame if possible
-aac_coder E...A. (from 0 to 3)
AAC decoder AVOptions:
-dual_mono_mode .D..A. Select the channel to decode for dual mono (from -1 to 2)
auto .D..A. autoselection
main .D..A. Select Main/Left channel
sub .D..A. Select Sub/Right channel
both .D..A. Select both channels
AC-3 Encoder AVOptions:
-per_frame_metadata E...A. Allow Changing Metadata Per-Frame (from 0 to 1)
-center_mixlev E...A. Center Mix Level (from 0 to 1)
-surround_mixlev E...A. Surround Mix Level (from 0 to 1)
-mixing_level E...A. Mixing Level (from -1 to 111)
-room_type E...A. Room Type (from -1 to 2)
notindicated E...A. Not Indicated (default)
large E...A. Large Room
small E...A. Small Room
-copyright E...A. Copyright Bit (from -1 to 1)
-dialnorm E...A. Dialogue Level (dB) (from -31 to -1)
-dsur_mode E...A. Dolby Surround Mode (from -1 to 2)
notindicated E...A. Not Indicated (default)
on E...A. Dolby Surround Encoded
off E...A. Not Dolby Surround Encoded
-original E...A. Original Bit Stream (from -1 to 1)
-dmix_mode E...A. Preferred Stereo Downmix Mode (from -1 to 2)
notindicated E...A. Not Indicated (default)
ltrt E...A. Lt/Rt Downmix Preferred
loro E...A. Lo/Ro Downmix Preferred
-ltrt_cmixlev E...A. Lt/Rt Center Mix Level (from -1 to 2)
-ltrt_surmixlev E...A. Lt/Rt Surround Mix Level (from -1 to 2)
-loro_cmixlev E...A. Lo/Ro Center Mix Level (from -1 to 2)
-loro_surmixlev E...A. Lo/Ro Surround Mix Level (from -1 to 2)
-dsurex_mode E...A. Dolby Surround EX Mode (from -1 to 2)
notindicated E...A. Not Indicated (default)
on E...A. Dolby Surround EX Encoded
off E...A. Not Dolby Surround EX Encoded
-dheadphone_mode E...A. Dolby Headphone Mode (from -1 to 2)
notindicated E...A. Not Indicated (default)
on E...A. Dolby Headphone Encoded
off E...A. Not Dolby Headphone Encoded
-ad_conv_type E...A. A/D Converter Type (from -1 to 1)
standard E...A. Standard (default)
hdcd E...A. HDCD
-stereo_rematrixing E...A. Stereo Rematrixing (from 0 to 1)
-channel_coupling E...A. Channel Coupling (from -1 to 1)
auto E...A. Selected by the Encoder
-cpl_start_band E...A. Coupling Start Band (from -1 to 15)
auto E...A. Selected by the Encoder
AC3 decoder AVOptions:
-drc_scale .D..A. percentage of dynamic range compression to apply (from 0 to 1)
Fixed-Point AC-3 Encoder AVOptions:
-per_frame_metadata E...A. Allow Changing Metadata Per-Frame (from 0 to 1)
-center_mixlev E...A. Center Mix Level (from 0 to 1)
-surround_mixlev E...A. Surround Mix Level (from 0 to 1)
-mixing_level E...A. Mixing Level (from -1 to 111)
-room_type E...A. Room Type (from -1 to 2)
notindicated E...A. Not Indicated (default)
large E...A. Large Room
small E...A. Small Room
-copyright E...A. Copyright Bit (from -1 to 1)
-dialnorm E...A. Dialogue Level (dB) (from -31 to -1)
-dsur_mode E...A. Dolby Surround Mode (from -1 to 2)
notindicated E...A. Not Indicated (default)
on E...A. Dolby Surround Encoded
off E...A. Not Dolby Surround Encoded
-original E...A. Original Bit Stream (from -1 to 1)
-dmix_mode E...A. Preferred Stereo Downmix Mode (from -1 to 2)
notindicated E...A. Not Indicated (default)
ltrt E...A. Lt/Rt Downmix Preferred
loro E...A. Lo/Ro Downmix Preferred
-ltrt_cmixlev E...A. Lt/Rt Center Mix Level (from -1 to 2)
-ltrt_surmixlev E...A. Lt/Rt Surround Mix Level (from -1 to 2)