Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/transitive-bullshit/ffmpeg-cli-flags

A comprehensive list of all ffmpeg commandline flags.
https://github.com/transitive-bullshit/ffmpeg-cli-flags

cli docs ffmpeg flags fluent-ffmpeg

Last synced: 29 days ago
JSON representation

A comprehensive list of all ffmpeg commandline flags.

Awesome Lists containing this project

README

        

# FFmpeg CLI Flags

> A comprehensive list of all [ffmpeg](http://ffmpeg.org) commandline flags.

It's really useful for `CTRL+F` searching random flags that you may come across in the wild!

This type of list was originally published [here](https://web.archive.org/web/20170823004401/http://ubwg.net/b/full-list-of-ffmpeg-flags-and-options), but that source is out-of-date and no longer available.

The full list of flags for your local version of ffmpeg can be generated via `ffmpeg -h full`. This repo just exists to format it nicely and make it easily searchable by folks on the interwebs. I've also tried to break the options up into more manageable sections.

**Note: Apparently, GitHub has a limit to the length of Markdown files it displays on repo landing pages.** View the readme directly [here](https://github.com/transitive-bullshit/ffmpeg-cli-flags/blob/master/readme.md) for the full list in all its markdown-y goodness.

## Table of Contents

- [Usage](#usage)
- [Info](#info)
- [Global options](#global-options)
- [Per-file main options](#per-file-main-options)
- [Video options](#video-options)
- [Audio options](#audio-options)
- [Subtitle options](#subtitle-options)
- [Encoder & Decoder Options](#encoder--decoder-options)
- [Demuxer Options](#demuxer-options)
- [Muxer Options](#muxer-options)
- [AVFilter Audio](#avfilter-audio)
- [AVFilter Video](#avfilter-video)
- [AVFilter Drawing](#avfilter-drawing)

#### Usage

```sh
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)
-h type=name -- print all options for the named decoder/encoder/demuxer/muxer/filter
See man ffmpeg for detailed description of the options.
```

#### Info

```
-L show license
-h topic show help
-? topic show help
-help topic show help
--help topic show help
-version show version
-buildconf show build configuration
-formats show available formats
-muxers show available muxers
-demuxers show available demuxers
-devices show available devices
-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
-colors show available color names
-opencl_bench run benchmark on all OpenCL devices and show results
-sources device list sources of the input device
-sinks device list sinks of the output device
-hwaccels show available HW acceleration methods
```

#### Global options

These affect the whole program instead of just one file.

```
-loglevel loglevel set logging level
-v loglevel set logging level
-report generate a report
-max_alloc bytes set maximum size of a single allocated block
-opencl_options set OpenCL environment options
-y overwrite output files
-n never overwrite output files
-ignore_unknown Ignore unknown stream types
-filter_threads number of non-complex filter threads
-filter_complex_threads number of threads for -filter_complex
-stats print progress report during encoding
-max_error_rate ratio of errors (0.0: no errors, 1.0: 100% error maximum error rate
-bits_per_raw_sample number set the number of bits per raw sample
-vol volume change audio volume (256=normal)
```

##### Advanced global options

```
-cpuflags flags force specific cpu flags
-hide_banner hide_banner do not show program banner
-copy_unknown Copy unknown stream types
-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
-frame_drop_threshold frame drop threshold
-async audio sync method
-adrift_threshold threshold audio drift threshold
-copyts copy timestamps
-start_at_zero shift input timestamps to start at 0 when using copyts
-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
-abort_on flags abort on the specified condition flags
-filter_complex graph_description create a complex filtergraph
-lavfi graph_description create a complex filtergraph
-filter_complex_script filename read complex filtergraph description from a file
-debug_ts print timestamp debugging info
-intra deprecated use -g 1
-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
-vstats_version Version of the vstats format to use.
-qphist show QP histogram
-videotoolbox_pixfmt
-hwaccel_lax_profile_check attempt to decode anyway if HW accelerated decoder's supported profiles do not exactly match the stream
-vc channel deprecated, use -channel
-tvstd standard deprecated, use -standard
-isync this option is deprecated and does nothing
-override_ffserver override the options from ffserver
-sdp_file file specify a file in which to print sdp information
-init_hw_device args initialise hardware device
-filter_hw_device device set hardware device used when filtering
```

#### 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
-to time_stop record or transcode stop time
-fs limit_size set the limit file size in bytes
-ss time_off set the start time offset
-sseof time_off set the start time offset relative to EOF
-seek_timestamp enable/disable seeking by timestamp with -ss
-timestamp time set the recording timestamp ('now' to set the current time)
-metadata string=string add metadata
-program title=string:st=number... add program with specified streams
-target type specify target file type ("vcd", "svcd", "dvd", "dv" or "dv50" with optional prefixes "pal-", "ntsc-" or "film-")
-apad audio pad
-frames number set the number of frames to output
-filter filter_graph set stream filtergraph
-filter_script filename read stream filtergraph description from a file
-reinit_filter reinit filtergraph on input parameter changes
-discard discard
-disposition disposition
```

##### Per-file advanced 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
-accurate_seek enable/disable accurate seeking with -ss
-itsoffset time_off set the input ts offset
-itsscale scale set the input ts scale
-dframes number set the number of data frames to output
-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
-stream_loop loop count set number of times input stream shall be looped
-thread_queue_size set the maximum number of queued packets from the demuxer
-find_stream_info read and decode the streams to fill missing information with heuristics
-autorotate automatically insert correct rotate filters
-muxdelay seconds set the maximum demux-decode delay
-muxpreload seconds set the initial demux-decode delay
-time_base ratio set the desired time base hint for output stream (1:24, 1:48000 or 0.04166, 2.0833e-5)
-enc_time_base ratio set the desired time base for the encoder (1:24, 1:48000 or 0.04166, 2.0833e-5). two special values are defined - 0 = use frame rate (video) or sample rate (audio),-1 = match source time base
-bsf bitstream_filters A comma-separated list of bitstream filters
-fpre filename set options from indicated preset file
-max_muxing_queue_size packets maximum number of packets that can be buffered while waiting for all streams to initialize
-dcodec codec force data codec ('copy' to copy stream)
```

#### Video options

```
-vframes number set the number of video frames to output
-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
-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
-ab bitrate audio bitrate (please use -b:a)
-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
-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
-vstats_version Version of the vstats format to use.
-intra_matrix matrix specify intra matrix coeffs
-inter_matrix matrix specify inter matrix coeffs
-chroma_intra_matrix matrix specify intra matrix coeffs
-top top=1/bottom=0/auto=-1 field first
-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
-hwaccel hwaccel name use HW accelerated decoding
-hwaccel_device devicename select a device for HW acceleration
-hwaccel_output_format format select output format used with HW accelerated decoding
-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 output
-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
-guess_layout_max set the maximum number of channels to try to guess the 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
-canvas_size size set canvas size (WxH or abbreviation)
-spre preset set the subtitle options to the indicated preset
```

#### Encoder & Decoder Options

###### AVCodecContext AVOptions

```
-b E..VA... set bitrate (in bits/s) (from 0 to I64_MAX) (default 200000)
-ab E...A... set bitrate (in bits/s) (from 0 to INT_MAX) (default 128000)
-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) (default 4e+06)
-flags ED.VAS.. (default 0)
unaligned .D.V.... allow decoders to produce unaligned output
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
truncated .D.V.... Input bitstream might be randomly truncated
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
ilme E..V.... interlaced motion estimation
cgop E..V.... closed GOP
output_corrupt .D.V.... Output even potentially corrupted frames
-me_method E..V.... set motion estimation method (from INT_MIN to INT_MAX) (default epzs)
zero E..V.... zero motion estimation (fastest)
full E..V.... full motion estimation (slowest)
epzs E..V.... EPZS motion estimation
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) (default 12)
-ar ED..A... set audio sampling rate (in Hz) (from 0 to INT_MAX) (default 0)
-ac ED..A... set number of audio channels (from 0 to INT_MAX) (default 0)
-cutoff E...A... set cutoff bandwidth (from INT_MIN to INT_MAX) (default 0)
-frame_size E...A... (from 0 to INT_MAX) (default 0)
-qcomp E..V.... video quantizer scale compression (VBR). Constant of ratecontrol equation. Recommended range for default rc_eq: 0.0-1.0 (from -FLT_MAX to FLT_MAX) (default 0.5)
-qblur E..V.... video quantizer scale blur (VBR) (from -1 to FLT_MAX) (default 0.5)
-qmin E..V.... minimum video quantizer scale (VBR) (from -1 to 69) (default 2)
-qmax E..V.... maximum video quantizer scale (VBR) (from -1 to 1024) (default 31)
-qdiff E..V.... maximum difference between the quantizer scales (VBR) (from INT_MIN to INT_MAX) (default 3)
-bf E..V.... set maximum number of B-frames between non-B-frames (from -1 to INT_MAX) (default 0)
-b_qfactor E..V.... QP factor between P- and B-frames (from -FLT_MAX to FLT_MAX) (default 1.25)
-rc_strategy E..V.... ratecontrol method (from INT_MIN to INT_MAX) (default 0)
-b_strategy E..V.... strategy to choose between I/P/B-frames (from INT_MIN to INT_MAX) (default 0)
-ps E..V.... RTP payload size in bytes (from INT_MIN to INT_MAX) (default 0)
-bug .D.V.... work around not autodetected encoder bugs (default autodetect)
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
iedge .D.V....
-strict ED.VA... how strictly to follow the standards (from INT_MIN to INT_MAX) (default normal)
very ED.VA... strictly conform to a older more strict version of the spec or reference software
strict ED.VA... strictly conform to all the things in the spec no matter what the consequences
normal ED.VA...
unofficial ED.VA... allow unofficial extensions
experimental ED.VA... allow non-standardized experimental things
-b_qoffset E..V.... QP offset between P- and B-frames (from -FLT_MAX to FLT_MAX) (default 1.25)
-err_detect .D.VA... set error detection flags (default 0)
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
ignore_err .D.VA... ignore errors
careful .D.VA... consider things that violate the spec, are fast to check 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) (default 0)
-qsquish E..V.... deprecated, use encoder private options instead (from 0 to 99) (default 0)
-rc_qmod_amp E..V.... deprecated, use encoder private options instead (from -FLT_MAX to FLT_MAX) (default 0)
-rc_qmod_freq E..V.... deprecated, use encoder private options instead (from INT_MIN to INT_MAX) (default 0)
-rc_eq E..V.... deprecated, use encoder private options instead
-maxrate E..VA... maximum bitrate (in bits/s). Used for VBV together with bufsize. (from 0 to INT_MAX) (default 0)
-minrate E..VA... minimum bitrate (in bits/s). Most useful in setting up a CBR encode. It is of little use otherwise. (from INT_MIN to INT_MAX) (default 0)
-bufsize E..VA... set ratecontrol buffer size (in bits) (from INT_MIN to INT_MAX) (default 0)
-rc_buf_aggressivity E..V.... deprecated, use encoder private options instead (from -FLT_MAX to FLT_MAX) (default 1)
-i_qfactor E..V.... QP factor between P- and I-frames (from -FLT_MAX to FLT_MAX) (default -0.8)
-i_qoffset E..V.... QP offset between P- and I-frames (from -FLT_MAX to FLT_MAX) (default 0)
-rc_init_cplx E..V.... deprecated, use encoder private options instead (from -FLT_MAX to FLT_MAX) (default 0)
-dct E..V.... DCT algorithm (from 0 to INT_MAX) (default auto)
auto E..V.... autoselect a good one
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 -FLT_MAX to FLT_MAX) (default 0)
-tcplx_mask E..V.... temporal complexity masking (from -FLT_MAX to FLT_MAX) (default 0)
-scplx_mask E..V.... spatial complexity masking (from -FLT_MAX to FLT_MAX) (default 0)
-p_mask E..V.... inter masking (from -FLT_MAX to FLT_MAX) (default 0)
-dark_mask E..V.... compresses dark areas stronger than medium ones (from -FLT_MAX to FLT_MAX) (default 0)
-idct ED.V.... select IDCT implementation (from 0 to INT_MAX) (default auto)
auto ED.V....
int ED.V....
simple ED.V....
simplemmx 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....
ipp ED.V....
xvid ED.V....
xvidmmx ED.V.... deprecated, for compatibility only
faani ED.V.... floating point AAN IDCT
simpleauto ED.V....
-ec .D.V.... set error concealment strategy (default guess_mvs+deblock)
guess_mvs .D.V.... iterative motion vector (MV) search (slow)
deblock .D.V.... use strong deblock filter for damaged MBs
favor_inter .D.V.... favor predicting from the previous frame
-pred E..V.... prediction method (from INT_MIN to INT_MAX) (default left)
left E..V....
plane E..V....
median E..V....
-aspect E..V.... sample aspect ratio (from 0 to 10) (default 0/1)
-sar E..V.... sample aspect ratio (from 0 to 10) (default 0/1)
-debug ED.VAS.. print specific debug info (default 0)
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....
green_metadata .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.VA... threading operations
nomc .D.VA... skip motion compensation
-vismv .D.V.... visualize motion vectors (MVs) (deprecated) (default 0)
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) (default sad)
sad E..V.... sum of absolute differences, fast
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....
msad E..V.... sum of absolute differences, median predicted
-subcmp E..V.... sub-pel ME compare function (from INT_MIN to INT_MAX) (default sad)
sad E..V.... sum of absolute differences, fast
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....
msad E..V.... sum of absolute differences, median predicted
-mbcmp E..V.... macroblock compare function (from INT_MIN to INT_MAX) (default sad)
sad E..V.... sum of absolute differences, fast
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....
msad E..V.... sum of absolute differences, median predicted
-ildctcmp E..V.... interlaced DCT compare function (from INT_MIN to INT_MAX) (default vsad)
sad E..V.... sum of absolute differences, fast
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....
msad E..V.... sum of absolute differences, median predicted
-dia_size E..V.... diamond type & size for motion estimation (from INT_MIN to INT_MAX) (default 0)
-last_pred E..V.... amount of motion predictors from the previous frame (from INT_MIN to INT_MAX) (default 0)
-preme E..V.... pre motion estimation (from INT_MIN to INT_MAX) (default 0)
-precmp E..V.... pre motion estimation compare function (from INT_MIN to INT_MAX) (default sad)
sad E..V.... sum of absolute differences, fast
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....
msad E..V.... sum of absolute differences, median predicted
-pre_dia_size E..V.... diamond type & size for motion estimation pre-pass (from INT_MIN to INT_MAX) (default 0)
-subq E..V.... sub-pel motion estimation quality (from INT_MIN to INT_MAX) (default 8)
-me_range E..V.... limit motion vectors range (1023 for DivX player) (from INT_MIN to INT_MAX) (default 0)
-ibias E..V.... intra quant bias (from INT_MIN to INT_MAX) (default 999999)
-pbias E..V.... inter quant bias (from INT_MIN to INT_MAX) (default 999999)
-global_quality E..VA... (from INT_MIN to INT_MAX) (default 0)
-coder E..V.... (from INT_MIN to INT_MAX) (default vlc)
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) (default 0)
-mbd E..V.... macroblock decision algorithm (high quality mode) (from 0 to 2) (default simple)
simple E..V.... use mbcmp
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) (default 0)
-lmin E..V.... deprecated, use encoder private options instead (from 0 to INT_MAX) (default 0)
-lmax E..V.... deprecated, use encoder private options instead (from 0 to INT_MAX) (default 0)
-nr E..V.... noise reduction (from INT_MIN to INT_MAX) (default 0)
-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) (default 0)
-flags2 ED.VA... (default 0)
fast E..V.... allow non-spec-compliant speedup tricks
noout E..V.... skip bitstream encoding
ignorecrop .D.V.... ignore cropping information from sps
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
export_mvs .D.V.... export motion vectors through frame side data
skip_manual .D.V.... do not skip samples and export skip information as frame side data
ass_ro_flush_noop .D...S.. do not reset ASS ReadOrder field on flush
-error E..V.... (from INT_MIN to INT_MAX) (default 0)
-threads ED.VA... set the number of threads (from 0 to INT_MAX) (default 1)
auto ED.V.... autodetect a suitable number of threads to use
-me_threshold E..V.... motion estimation threshold (from INT_MIN to INT_MAX) (default 0)
-mb_threshold E..V.... macroblock threshold (from INT_MIN to INT_MAX) (default 0)
-dc E..V.... intra_dc_precision (from -8 to 16) (default 0)
-nssew E..V.... nsse weight (from INT_MIN to INT_MAX) (default 8)
-skip_top .D.V.... number of macroblock rows at the top which are skipped (from INT_MIN to INT_MAX) (default 0)
-skip_bottom .D.V.... number of macroblock rows at the bottom which are skipped (from INT_MIN to INT_MAX) (default 0)
-profile E..VA... (from INT_MIN to INT_MAX) (default unknown)
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...
mpeg2_aac_low E...A...
mpeg2_aac_he E...A...
dts E...A...
dts_es E...A...
dts_96_24 E...A...
dts_hd_hra E...A...
dts_hd_ma E...A...
mpeg4_sp E..V....
mpeg4_core E..V....
mpeg4_main E..V....
mpeg4_asp E..V....
main10 E..V....
-level E..VA... (from INT_MIN to INT_MAX) (default unknown)
unknown E..VA...
-lowres .D.VA... decode at 1= 1/2, 2=1/4, 3=1/8 resolutions (from 0 to INT_MAX) (default 0)
-skip_threshold E..V.... frame skip threshold (from INT_MIN to INT_MAX) (default 0)
-skip_factor E..V.... frame skip factor (from INT_MIN to INT_MAX) (default 0)
-skip_exp E..V.... frame skip exponent (from INT_MIN to INT_MAX) (default 0)
-skipcmp E..V.... frame skip compare function (from INT_MIN to INT_MAX) (default dctmax)
sad E..V.... sum of absolute differences, fast
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....
msad E..V.... sum of absolute differences, median predicted
-border_mask E..V.... deprecated, use encoder private options instead (from -FLT_MAX to FLT_MAX) (default 0)
-mblmin E..V.... minimum macroblock Lagrange factor (VBR) (from 1 to 32767) (default 236)
-mblmax E..V.... maximum macroblock Lagrange factor (VBR) (from 1 to 32767) (default 3658)
-mepc E..V.... motion estimation bitrate penalty compensation (1.0 = 256) (from INT_MIN to INT_MAX) (default 256)
-skip_loop_filter .D.V.... skip loop filtering process for the selected frames (from INT_MIN to INT_MAX) (default default)
none .D.V.... discard no frame
default .D.V.... discard useless frames
noref .D.V.... discard all non-reference frames
bidir .D.V.... discard all bidirectional frames
nokey .D.V.... discard all frames except keyframes
nointra .D.V.... discard all frames except I frames
all .D.V.... discard all frames
-skip_idct .D.V.... skip IDCT/dequantization for the selected frames (from INT_MIN to INT_MAX) (default default)
none .D.V.... discard no frame
default .D.V.... discard useless frames
noref .D.V.... discard all non-reference frames
bidir .D.V.... discard all bidirectional frames
nokey .D.V.... discard all frames except keyframes
nointra .D.V.... discard all frames except I frames
all .D.V.... discard all frames
-skip_frame .D.V.... skip decoding for the selected frames (from INT_MIN to INT_MAX) (default default)
none .D.V.... discard no frame
default .D.V.... discard useless frames
noref .D.V.... discard all non-reference frames
bidir .D.V.... discard all bidirectional frames
nokey .D.V.... discard all frames except keyframes
nointra .D.V.... discard all frames except I frames
all .D.V.... discard all frames
-bidir_refine E..V.... refine the two motion vectors used in bidirectional macroblocks (from 0 to 4) (default 1)
-brd_scale E..V.... downscale frames for dynamic B-frame decision (from 0 to 10) (default 0)
-keyint_min E..V.... minimum interval between IDR-frames (from INT_MIN to INT_MAX) (default 25)
-refs E..V.... reference frames to consider for motion compensation (from INT_MIN to INT_MAX) (default 1)
-chromaoffset E..V.... chroma QP offset from luma (from INT_MIN to INT_MAX) (default 0)
-trellis E..VA... rate-distortion optimal quantization (from INT_MIN to INT_MAX) (default 0)
-sc_factor E..V.... multiplied by qscale for each frame and added to scene_change_score (from 0 to INT_MAX) (default 6)
-mv0_threshold E..V.... (from 0 to INT_MAX) (default 256)
-b_sensitivity E..V.... adjust sensitivity of b_frame_strategy 1 (from 1 to INT_MAX) (default 40)
-compression_level E..VA... (from INT_MIN to INT_MAX) (default -1)
-min_prediction_order E...A... (from INT_MIN to INT_MAX) (default -1)
-max_prediction_order E...A... (from INT_MIN to INT_MAX) (default -1)
-timecode_frame_start E..V.... GOP timecode frame start number, in non-drop-frame format (from -1 to I64_MAX) (default -1)
-channel_layout ED..A... (from 0 to 1.84467e+19) (default 0)
-request_channel_layout .D..A... (from 0 to 1.84467e+19) (default 0)
-rc_max_vbv_use E..V.... (from 0 to FLT_MAX) (default 0)
-rc_min_vbv_use E..V.... (from 0 to FLT_MAX) (default 3)
-ticks_per_frame ED.VA... (from 1 to INT_MAX) (default 1)
-color_primaries ED.V.... color primaries (from 1 to INT_MAX) (default unknown)
bt709 ED.V.... BT.709
unknown ED.V.... Unspecified
bt470m ED.V.... BT.470 M
bt470bg ED.V.... BT.470 BG
smpte170m ED.V.... SMPTE 170 M
smpte240m ED.V.... SMPTE 240 M
film ED.V.... Film
bt2020 ED.V.... BT.2020
smpte428 ED.V.... SMPTE 428-1
smpte428_1 ED.V.... SMPTE 428-1
smpte431 ED.V.... SMPTE 431-2
smpte432 ED.V.... SMPTE 422-1
jedec-p22 ED.V.... JEDEC P22
unspecified ED.V.... Unspecified
-color_trc ED.V.... color transfer characteristics (from 1 to INT_MAX) (default unknown)
bt709 ED.V.... BT.709
unknown ED.V.... Unspecified
gamma22 ED.V.... BT.470 M
gamma28 ED.V.... BT.470 BG
smpte170m ED.V.... SMPTE 170 M
smpte240m ED.V.... SMPTE 240 M
linear ED.V.... Linear
log100 ED.V.... Log
log316 ED.V.... Log square root
iec61966-2-4 ED.V.... IEC 61966-2-4
bt1361e ED.V.... BT.1361
iec61966-2-1 ED.V.... IEC 61966-2-1
bt2020-10 ED.V.... BT.2020 - 10 bit
bt2020-12 ED.V.... BT.2020 - 12 bit
smpte2084 ED.V.... SMPTE 2084
smpte428 ED.V.... SMPTE 428-1
arib-std-b67 ED.V.... ARIB STD-B67
unspecified ED.V.... Unspecified
log ED.V.... Log
log_sqrt ED.V.... Log square root
iec61966_2_4 ED.V.... IEC 61966-2-4
bt1361 ED.V.... BT.1361
iec61966_2_1 ED.V.... IEC 61966-2-1
bt2020_10bit ED.V.... BT.2020 - 10 bit
bt2020_12bit ED.V.... BT.2020 - 12 bit
smpte428_1 ED.V.... SMPTE 428-1
-colorspace ED.V.... color space (from 0 to INT_MAX) (default unknown)
rgb ED.V.... RGB
bt709 ED.V.... BT.709
unknown ED.V.... Unspecified
fcc ED.V.... FCC
bt470bg ED.V.... BT.470 BG
smpte170m ED.V.... SMPTE 170 M
smpte240m ED.V.... SMPTE 240 M
ycgco ED.V.... YCGCO
bt2020nc ED.V.... BT.2020 NCL
bt2020c ED.V.... BT.2020 CL
smpte2085 ED.V.... SMPTE 2085
unspecified ED.V.... Unspecified
ycocg ED.V.... YCGCO
bt2020_ncl ED.V.... BT.2020 NCL
bt2020_cl ED.V.... BT.2020 CL
-color_range ED.V.... color range (from 0 to INT_MAX) (default unknown)
unknown ED.V.... Unspecified
tv ED.V.... MPEG (219*2^(n-8))
pc ED.V.... JPEG (2^n-1)
unspecified ED.V.... Unspecified
mpeg ED.V.... MPEG (219*2^(n-8))
jpeg ED.V.... JPEG (2^n-1)
-chroma_sample_location ED.V.... chroma sample location (from 0 to INT_MAX) (default unknown)
unknown ED.V.... Unspecified
left ED.V.... Left
center ED.V.... Center
topleft ED.V.... Top-left
top ED.V.... Top
bottomleft ED.V.... Bottom-left
bottom ED.V.... Bottom
unspecified ED.V.... Unspecified
-slices E..V.... set the number of slices, used in parallelized encoding (from 0 to INT_MAX) (default 0)
-thread_type ED.VA... select multithreading type (default slice+frame)
slice ED.V....
frame ED.V....
-audio_service_type E...A... audio service type (from 0 to 8) (default ma)
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 (default none)
-sub_charenc .D...S.. set input text subtitles character encoding
-sub_charenc_mode .D...S.. set input text subtitles character encoding mode (default 0)
do_nothing .D...S..
auto .D...S..
pre_decoder .D...S..
-sub_text_format .D...S.. set decoded text subtitle format (from 0 to 1) (default ass_with_timings)
ass .D...S..
ass_with_timings .D...S..
-refcounted_frames .D.VA... (default false)
-side_data_only_packets E..VA... (default true)
-apply_cropping .D.V.... (default true)
-skip_alpha .D.V.... Skip processing alpha (default false)
-field_order ED.V.... Field order (from 0 to 5) (default 0)
progressive ED.V....
tt ED.V....
bb ED.V....
tb ED.V....
bt ED.V....
-dump_separator ED.VAS.. set information dump field separator
-codec_whitelist .D.VAS.. List of decoders that are allowed to be used
-max_pixels ED.VAS.. Maximum number of pixels (from 0 to INT_MAX) (default INT_MAX)
-hwaccel_flags .D.V.... (default ignore_level)
ignore_level .D.V.... ignore level even if the codec level used is unknown or higher than the maximum supported level reported by the hardware driver
allow_high_depth .D.V.... allow to output YUV pixel formats with a different chroma sampling than 4:2:0 and/or other than 8 bits per component
allow_profile_mismatch .D.V.... attempt to decode anyway if HW accelerated decoder's supported profiles do not exactly match the stream
```

###### amv encoder AVOptions

```
-mpv_flags E..V.... Flags common for all mpegvideo-based encoders. (default 0)
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
naq E..V.... normalize adaptive quantization
mv0 E..V.... always try a mb with mv=<0,0>
-luma_elim_threshold E..V.... single coefficient elimination threshold for luminance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX) (default 0)
-chroma_elim_threshold E..V.... single coefficient elimination threshold for chrominance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX) (default 0)
-quantizer_noise_shaping E..V.... (from 0 to INT_MAX) (default 0)
-error_rate E..V.... Simulate errors in the bitstream to test error concealment. (from 0 to INT_MAX) (default 0)
-qsquish E..V.... how to keep quantizer between qmin and qmax (0 = clip, 1 = use differentiable function) (from 0 to 99) (default 0)
-rc_qmod_amp E..V.... experimental quantizer modulation (from -FLT_MAX to FLT_MAX) (default 0)
-rc_qmod_freq E..V.... experimental quantizer modulation (from INT_MIN to INT_MAX) (default 0)
-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.
-rc_init_cplx E..V.... initial complexity for 1-pass encoding (from -FLT_MAX to FLT_MAX) (default 0)
-rc_buf_aggressivity E..V.... currently useless (from -FLT_MAX to FLT_MAX) (default 1)
-border_mask E..V.... increase the quantizer for macroblocks close to borders (from -FLT_MAX to FLT_MAX) (default 0)
-lmin E..V.... minimum Lagrange factor (VBR) (from 0 to INT_MAX) (default 236)
-lmax E..V.... maximum Lagrange factor (VBR) (from 0 to INT_MAX) (default 3658)
-ibias E..V.... intra quant bias (from INT_MIN to INT_MAX) (default 999999)
-pbias E..V.... inter quant bias (from INT_MIN to INT_MAX) (default 999999)
-rc_strategy E..V.... ratecontrol method (from 0 to 1) (default ffmpeg)
ffmpeg E..V.... default native rate control
xvid E..V.... libxvid (2 pass only)
-motion_est E..V.... motion estimation algorithm (from 0 to 2) (default epzs)
zero E..V....
epzs E..V....
xone E..V....
-force_duplicated_matrix E..V.... Always write luma and chroma matrix for mjpeg, useful for rtp streaming. (default false)
-b_strategy E..V.... Strategy to choose between I/P/B-frames (from 0 to 2) (default 0)
-b_sensitivity E..V.... Adjust sensitivity of b_frame_strategy 1 (from 1 to INT_MAX) (default 40)
-brd_scale E..V.... Downscale frames for dynamic B-frame decision (from 0 to 3) (default 0)
-skip_threshold E..V.... Frame skip threshold (from INT_MIN to INT_MAX) (default 0)
-skip_factor E..V.... Frame skip factor (from INT_MIN to INT_MAX) (default 0)
-skip_exp E..V.... Frame skip exponent (from INT_MIN to INT_MAX) (default 0)
-skip_cmp E..V.... Frame skip compare function (from INT_MIN to INT_MAX) (default dctmax)
sad E..V.... Sum of absolute differences, fast
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, low quality
bit E..V.... Number of bits needed for the block
rd E..V.... Rate distortion optimal, slow
zero E..V.... Zero
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
dct264 E..V....
dctmax E..V....
chroma E..V....
msad E..V.... Sum of absolute differences, median predicted
-sc_threshold E..V.... Scene change threshold (from INT_MIN to INT_MAX) (default 0)
-noise_reduction E..V.... Noise reduction (from INT_MIN to INT_MAX) (default 0)
-mpeg_quant E..V.... Use MPEG quantizers instead of H.263 (from 0 to 1) (default 0)
-ps E..V.... RTP payload size in bytes (from INT_MIN to INT_MAX) (default 0)
-mepc E..V.... Motion estimation bitrate penalty compensation (1.0 = 256) (from INT_MIN to INT_MAX) (default 256)
-mepre E..V.... pre motion estimation (from INT_MIN to INT_MAX) (default 0)
-pred E..V.... Prediction method (from 1 to 3) (default left)
left E..V....
plane E..V....
median E..V....
-huffman E..V.... Huffman table strategy (from 0 to 1) (default optimal)
default E..V....
optimal E..V....
```

###### APNG encoder AVOptions

```
-dpi E..V.... Set image resolution (in dots per inch) (from 0 to 65536) (default 0)
-dpm E..V.... Set image resolution (in dots per meter) (from 0 to 65536) (default 0)
-pred E..V.... Prediction method (from 0 to 5) (default none)
none E..V....
sub E..V....
up E..V....
avg E..V....
paeth E..V....
mixed E..V....
```

###### cinepak AVOptions

```
-max_extra_cb_iterations E..V.... Max extra codebook recalculation passes, more is better and slower (from 0 to INT_MAX) (default 2)
-skip_empty_cb E..V.... Avoid wasting bytes, ignore vintage MacOS decoder (default false)
-max_strips E..V.... Limit strips/frame, vintage compatible is 1..3, otherwise the more the better (from 1 to 32) (default 3)
-min_strips E..V.... Enforce min strips/frame, more is worse and faster, must be <= max_strips (from 1 to 32) (default 1)
-strip_number_adaptivity E..V.... How fast the strip number adapts, more is slightly better, much slower (from 0 to 31) (default 0)

cljr encoder AVOptions
-dither_type E..V.... Dither type (from 0 to 2) (default 1)
```

###### dnxhd AVOptions

```
-nitris_compat E..V.... encode with Avid Nitris compatibility (default false)
-ibias E..V.... intra quant bias (from INT_MIN to INT_MAX) (default 0)
-profile E..V.... (from 0 to 5) (default dnxhd)
dnxhd E..V....
dnxhr_444 E..V....
dnxhr_hqx E..V....
dnxhr_hq E..V....
dnxhr_sq E..V....
dnxhr_lb E..V....
```

###### dvvideo encoder AVOptions

```
-quant_deadzone E..V.... Quantizer dead zone (from 0 to 1024) (default 7)
```

###### EXR AVOptions

```
-layer .D.V.... Set the decoding layer (default "")
-gamma .D.V.... Set the float gamma value when decoding (from 0.001 to FLT_MAX) (default 1)
-apply_trc .D.V.... color transfer characteristics to apply to EXR linear input (from 1 to 18) (default gamma)
bt709 .D.V.... BT.709
gamma .D.V.... gamma
gamma22 .D.V.... BT.470 M
gamma28 .D.V.... BT.470 BG
smpte170m .D.V.... SMPTE 170 M
smpte240m .D.V.... SMPTE 240 M
linear .D.V.... Linear
log .D.V.... Log
log_sqrt .D.V.... Log square root
iec61966_2_4 .D.V.... IEC 61966-2-4
bt1361 .D.V.... BT.1361
iec61966_2_1 .D.V.... IEC 61966-2-1
bt2020_10bit .D.V.... BT.2020 - 10 bit
bt2020_12bit .D.V.... BT.2020 - 12 bit
smpte2084 .D.V.... SMPTE ST 2084
smpte428_1 .D.V.... SMPTE ST 428-1
```

###### ffv1 encoder AVOptions

```
-slicecrc E..V.... Protect slices with CRCs (default auto)
-coder E..V.... Coder type (from -2 to 2) (default rice)
rice E..V.... Golomb rice
range_def E..V.... Range with default table
range_tab E..V.... Range with custom table
ac E..V.... Range with custom table (the ac option exists for compatibility and is deprecated)
-context E..V.... Context model (from 0 to 1) (default 0)
```

###### ffvhuff AVOptions

```
-non_deterministic E..V.... Allow multithreading for e.g. context=1 at the expense of determinism (default true)
-pred E..V.... Prediction method (from 0 to 2) (default left)
left E..V....
plane E..V....
median E..V....
-context E..V.... Set per-frame huffman tables (from 0 to 1) (default 0)
```

###### FIC encoder AVOptions

```
-skip_cursor .D.V.... skip the cursor (default false)
```

###### FITS decoder AVOptions

```
-blank_value .D.V.... value that is used to replace BLANK pixels in data array (from 0 to 65535) (default 0)
```

###### flv encoder AVOptions

```
-mpv_flags E..V.... Flags common for all mpegvideo-based encoders. (default 0)
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
naq E..V.... normalize adaptive quantization
mv0 E..V.... always try a mb with mv=<0,0>
-luma_elim_threshold E..V.... single coefficient elimination threshold for luminance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX) (default 0)
-chroma_elim_threshold E..V.... single coefficient elimination threshold for chrominance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX) (default 0)
-quantizer_noise_shaping E..V.... (from 0 to INT_MAX) (default 0)
-error_rate E..V.... Simulate errors in the bitstream to test error concealment. (from 0 to INT_MAX) (default 0)
-qsquish E..V.... how to keep quantizer between qmin and qmax (0 = clip, 1 = use differentiable function) (from 0 to 99) (default 0)
-rc_qmod_amp E..V.... experimental quantizer modulation (from -FLT_MAX to FLT_MAX) (default 0)
-rc_qmod_freq E..V.... experimental quantizer modulation (from INT_MIN to INT_MAX) (default 0)
-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.
-rc_init_cplx E..V.... initial complexity for 1-pass encoding (from -FLT_MAX to FLT_MAX) (default 0)
-rc_buf_aggressivity E..V.... currently useless (from -FLT_MAX to FLT_MAX) (default 1)
-border_mask E..V.... increase the quantizer for macroblocks close to borders (from -FLT_MAX to FLT_MAX) (default 0)
-lmin E..V.... minimum Lagrange factor (VBR) (from 0 to INT_MAX) (default 236)
-lmax E..V.... maximum Lagrange factor (VBR) (from 0 to INT_MAX) (default 3658)
-ibias E..V.... intra quant bias (from INT_MIN to INT_MAX) (default 999999)
-pbias E..V.... inter quant bias (from INT_MIN to INT_MAX) (default 999999)
-rc_strategy E..V.... ratecontrol method (from 0 to 1) (default ffmpeg)
ffmpeg E..V.... default native rate control
xvid E..V.... libxvid (2 pass only)
-motion_est E..V.... motion estimation algorithm (from 0 to 2) (default epzs)
zero E..V....
epzs E..V....
xone E..V....
-force_duplicated_matrix E..V.... Always write luma and chroma matrix for mjpeg, useful for rtp streaming. (default false)
-b_strategy E..V.... Strategy to choose between I/P/B-frames (from 0 to 2) (default 0)
-b_sensitivity E..V.... Adjust sensitivity of b_frame_strategy 1 (from 1 to INT_MAX) (default 40)
-brd_scale E..V.... Downscale frames for dynamic B-frame decision (from 0 to 3) (default 0)
-skip_threshold E..V.... Frame skip threshold (from INT_MIN to INT_MAX) (default 0)
-skip_factor E..V.... Frame skip factor (from INT_MIN to INT_MAX) (default 0)
-skip_exp E..V.... Frame skip exponent (from INT_MIN to INT_MAX) (default 0)
-skip_cmp E..V.... Frame skip compare function (from INT_MIN to INT_MAX) (default dctmax)
sad E..V.... Sum of absolute differences, fast
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, low quality
bit E..V.... Number of bits needed for the block
rd E..V.... Rate distortion optimal, slow
zero E..V.... Zero
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
dct264 E..V....
dctmax E..V....
chroma E..V....
msad E..V.... Sum of absolute differences, median predicted
-sc_threshold E..V.... Scene change threshold (from INT_MIN to INT_MAX) (default 0)
-noise_reduction E..V.... Noise reduction (from INT_MIN to INT_MAX) (default 0)
-mpeg_quant E..V.... Use MPEG quantizers instead of H.263 (from 0 to 1) (default 0)
-ps E..V.... RTP payload size in bytes (from INT_MIN to INT_MAX) (default 0)
-mepc E..V.... Motion estimation bitrate penalty compensation (1.0 = 256) (from INT_MIN to INT_MAX) (default 256)
-mepre E..V.... pre motion estimation (from INT_MIN to INT_MAX) (default 0)
```

###### frwu Decoder AVOptions

```
-change_field_order .D.V.... Change field order (default false)
```

###### GIF encoder AVOptions

```
-gifflags E..V.... set GIF flags (default offsetting+transdiff)
offsetting E..V.... enable picture offsetting
transdiff E..V.... enable transparency detection between frames
```

###### gif decoder AVOptions

```
-trans_color .D.V.... color value (ARGB) that is used instead of transparent color (from 0 to UINT32_MAX) (default 1.67772e+07)
```

###### h261 encoder AVOptions

```
-mpv_flags E..V.... Flags common for all mpegvideo-based encoders. (default 0)
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
naq E..V.... normalize adaptive quantization
mv0 E..V.... always try a mb with mv=<0,0>
-luma_elim_threshold E..V.... single coefficient elimination threshold for luminance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX) (default 0)
-chroma_elim_threshold E..V.... single coefficient elimination threshold for chrominance (negative values also consider dc coefficient) (from INT_MIN to INT_MAX) (default 0)
-quantizer_noise_shaping E..V.... (from 0 to INT_MAX) (default 0)
-error_rate E..V.... Simulate errors in the bitstream to test error concealment. (from 0 to INT_MAX) (default 0)
-qsquish E..V.... how to keep quantizer between qmin and qmax (0 = clip, 1 = use differentiable function) (from 0 to 99) (default 0)
-rc_qmod_amp E..V.... experimental quantizer modulation (from -FLT_MAX to FLT_MAX) (default 0)
-rc_qmod_freq E..V.... experimental quantizer modulation (from INT_MIN to INT_MAX) (default 0)
-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.
-rc_init_cplx E..V.... initial complexity for 1-pass encoding (from -FLT_MAX to FLT_MAX) (default 0)
-rc_buf_aggressivity E..V.... currently useless (from -FLT_MAX to FLT_MAX) (default 1)
-border_mask E..V.... increase the quantizer for macroblocks close to borders (from -FLT_MAX to FLT_MAX) (default 0)
-lmin E..V.... minimum Lagrange factor (VBR) (from 0 to INT_MAX) (default 236)
-lmax E..V.... maximum Lagrange factor (VBR) (from 0 to INT_MAX) (default 3658)
-ibias E..V.... intra quant bias (from INT_MIN to INT_MAX) (default 999999)
-pbias E..V.... inter quant bias (from INT_MIN to INT_MAX) (default 999999)
-rc_strategy E..V.... ratecontrol method (from 0 to 1) (default ffmpeg)
ffmpeg E..V.... default native rate control
xvid E..V.... libxvid (2 pass only)
-motion_est E..V.... motion estimation algorithm (from 0 to 2) (default epzs)
zero E..V....
epzs E..V....
xone E..V....
-force_duplicated_matrix E..V.... Always write luma and chroma matrix for mjpeg, useful for rtp streaming. (default false)
-b_strategy E..V.... Strategy to choose between I/P/B-frames (from 0 to 2) (default 0)
-b_sensitivity E..V.... Adjust sensitivity of b_frame_strategy 1 (from 1 to INT_MAX) (default 40)
-brd_scale E..V.... Downscale frames for dynamic B-frame decision (from 0 to 3) (default 0)
-skip_threshold E..V.... Frame skip threshold (from INT_MIN to INT_MAX) (default 0)
-skip_factor E..V.... Frame skip factor (from INT_MIN to INT_MAX) (default 0)
-skip_exp E..V.... Frame skip exponent (from INT_MIN to INT_MAX) (default 0)
-skip_cmp E..V.... Frame skip compare function (from INT_MIN to INT_MAX) (default dctmax)
sad E..V.... Sum of absolute differences, fast
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, low quality
bit E..V.... Number of bits needed for the block
rd E..V.... Rate distortion optimal, slow
zero E..V.... Zero
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
dct264 E..V....
dctmax E..V....
chroma E..V....
msad E..V.... Sum of absolute differences, median predicted
-sc_threshold E..V.... Scene change threshold (from INT_MIN to INT_MAX) (default 0)
-noise_reduction E..V.... Noise reduction (from INT_MIN to INT_MAX) (default 0)
-mpeg_quant E..V.... Use MPEG quantizers instead of H.263 (from 0 to 1) (default 0)
-ps