Codec Options

libavcodec provides some generic global options, which can be set on all the encoders and decoders. In addition each codec may support so-called private options, which are specific for a given codec.

Sometimes, a global option may only affect a specific kind of codec, and may be nonsensical or ignored by another, so you need to be aware of the meaning of the specified options. Also some options are meant only for decoding or encoding.

Options may be set by specifying -option value in the FFmpeg tools, or by setting the value explicitly in the AVCodecContext options or using the 'libavutil/opt.h' API for programmatic use.

The list of supported options follow:

'b integer (encoding,audio,video)'

Set bitrate in bits/s. Default value is 200K.

'ab integer (encoding,audio)'

Set audio bitrate (in bits/s). Default value is 128K.

'bt integer (encoding,video)'

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 min/max bitrate. Lowering tolerance too much has an adverse effect on quality.

'flags flags (decoding/encoding,audio,video,subtitles)'

Set generic flags.

Possible values:

'mv4'

Use four motion vector by macroblock (mpeg4).

'qpel'

Use 1/4 pel motion compensation.

'loop'

Use loop filter.

'qscale'

Use fixed qscale.

'pass1'

Use internal 2pass ratecontrol in first pass mode.

'pass2'

Use internal 2pass ratecontrol in second pass mode.

'gray'

Only decode/encode grayscale.

'emu_edge'

Do not draw edges.

'psnr'

Set error[?] variables during encoding.

'truncated'
'drop_changed'

Don't output frames whose parameters differ from first decoded frame in stream. Error AVERROR_INPUT_CHANGED is returned when a frame is dropped.

'ildct'

Use interlaced DCT.

'low_delay'

Force low delay.

'global_header'

Place global headers in extradata instead of every keyframe.

'bitexact'

Only write platform-, build- and time-independent data. (except (I)DCT). This ensures that file and data checksums are reproducible and match between platforms. Its primary use is for regression testing.

'aic'

Apply H263 advanced intra coding / mpeg4 ac prediction.

'cbp'

Deprecated, use mpegvideo private options instead.

'qprd'

Deprecated, use mpegvideo private options instead.

'ilme'

Apply interlaced motion estimation.

'cgop'

Use closed gop.

'me_method integer (encoding,video)'

Set motion estimation method.

Possible values:

'zero'

zero motion estimation (fastest)

'full'

full motion estimation (slowest)

'epzs'

EPZS motion estimation (default)

'esa'

esa motion estimation (alias for full)

'tesa'

tesa motion estimation

'dia'

dia motion estimation (alias for epzs)

'log'

log motion estimation

'phods'

phods motion estimation

'x1'

X1 motion estimation

'hex'

hex motion estimation

'umh'

umh motion estimation

'iter'

iter motion estimation

'extradata_size integer'

Set extradata size.

'time_base rational number'

Set codec time base.

It is the fundamental unit of time (in seconds) in terms of which frame timestamps are represented. For fixed-fps content, timebase should be 1 / frame_rate and timestamp increments should be identically 1.

'g integer (encoding,video)'

Set the group of picture (GOP) size. Default value is 12.

'ar integer (decoding/encoding,audio)'

Set audio sampling rate (in Hz).

'ac integer (decoding/encoding,audio)'

Set number of audio channels.

'cutoff integer (encoding,audio)'

Set cutoff bandwidth. (Supported only by selected encoders, see their respective documentation sections.)

'frame_size integer (encoding,audio)'

Set audio frame size.

Each submitted frame except the last must contain exactly frame_size samples per channel. May be 0 when the codec has CODEC_CAP_VARIABLE_FRAME_SIZE set, in that case the frame size is not restricted. It is set by some decoders to indicate constant frame size.

'frame_number integer'

Set the frame number.

'delay integer'
'qcomp float (encoding,video)'

Set video quantizer scale compression (VBR). It is used as a constant in the ratecontrol equation. Recommended range for default rc_eq: 0.0-1.0.

'qblur float (encoding,video)'

Set video quantizer scale blur (VBR).

'qmin integer (encoding,video)'

Set min video quantizer scale (VBR). Must be included between -1 and 69, default value is 2.

'qmax integer (encoding,video)'

Set max video quantizer scale (VBR). Must be included between -1 and 1024, default value is 31.

'qdiff integer (encoding,video)'

Set max difference between the quantizer scale (VBR).

'bf integer (encoding,video)'

Set max number of B frames between non-B-frames.

Must be an integer between -1 and 16. 0 means that B-frames are disabled. If a value of -1 is used, it will choose an automatic value depending on the encoder.

Default value is 0.

'b_qfactor float (encoding,video)'

Set qp factor between P and B frames.

'rc_strategy integer (encoding,video)'

Set ratecontrol method.

'b_strategy integer (encoding,video)'

Set strategy to choose between I/P/B-frames.

'ps integer (encoding,video)'

Set RTP payload size in bytes.

'mv_bits integer'
'header_bits integer'
'i_tex_bits integer'
'p_tex_bits integer'
'i_count integer'
'p_count integer'
'skip_count integer'
'misc_bits integer'
'frame_bits integer'
'codec_tag integer'
'bug flags (decoding,video)'

Workaround not auto detected encoder bugs.

Possible values:

'autodetect'
'old_msmpeg4'

some old lavc generated msmpeg4v3 files (no autodetection)

'xvid_ilace'

Xvid interlacing bug (autodetected if fourcc==XVIX)

'ump4'

(autodetected if fourcc==UMP4)

'no_padding'

padding bug (autodetected)

'amv'
'ac_vlc'

illegal vlc bug (autodetected per fourcc)

'qpel_chroma'
'std_qpel'

old standard qpel (autodetected per fourcc/version)

'qpel_chroma2'
'direct_blocksize'

direct-qpel-blocksize bug (autodetected per fourcc/version)

'edge'

edge padding bug (autodetected per fourcc/version)

'hpel_chroma'
'dc_clip'
'ms'

Workaround various bugs in microsoft broken decoders.

'trunc'

trancated frames

'lelim integer (encoding,video)'

Set single coefficient elimination threshold for luminance (negative values also consider DC coefficient).

'celim integer (encoding,video)'

Set single coefficient elimination threshold for chrominance (negative values also consider dc coefficient)

'strict integer (decoding/encoding,audio,video)'

Specify how strictly to follow the standards.

Possible values:

'very'

strictly conform to an older more strict version of the spec or reference software

'strict'

strictly conform to all the things in the spec no matter what consequences

'normal'
'unofficial'

allow unofficial extensions

'experimental'

allow non standardized experimental things, experimental (unfinished/work in progress/not well tested) decoders and encoders. Note: experimental decoders can pose a security risk, do not use this for decoding untrusted input.

'b_qoffset float (encoding,video)'

Set QP offset between P and B frames.

'err_detect flags (decoding,audio,video)'

Set error detection flags.

Possible values:

'crccheck'

verify embedded CRCs

'bitstream'

detect bitstream specification deviations

'buffer'

detect improper bitstream length

'explode'

abort decoding on minor error detection

'ignore_err'

ignore decoding errors, and continue decoding. This is useful if you want to analyze the content of a video and thus want everything to be decoded no matter what. This option will not result in a video that is pleasing to watch in case of errors.

'careful'

consider things that violate the spec and have not been seen in the wild as errors

'compliant'

consider all spec non compliancies as errors

'aggressive'

consider things that a sane encoder should not do as an error

'has_b_frames integer'
'block_align integer'
'mpeg_quant integer (encoding,video)'

Use MPEG quantizers instead of H.263.

'qsquish float (encoding,video)'

How to keep quantizer between qmin and qmax (0 = clip, 1 = use differentiable function).

'rc_qmod_amp float (encoding,video)'

Set experimental quantizer modulation.

'rc_qmod_freq integer (encoding,video)'

Set experimental quantizer modulation.

'rc_override_count integer'
'rc_eq string (encoding,video)'

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 integer (encoding,audio,video)'

Set max bitrate tolerance (in bits/s). Requires bufsize to be set.

'minrate integer (encoding,audio,video)'

Set min bitrate tolerance (in bits/s). Most useful in setting up a CBR encode. It is of little use elsewise.

'bufsize integer (encoding,audio,video)'

Set ratecontrol buffer size (in bits).

'rc_buf_aggressivity float (encoding,video)'

Currently useless.

'i_qfactor float (encoding,video)'

Set QP factor between P and I frames.

'i_qoffset float (encoding,video)'

Set QP offset between P and I frames.

'rc_init_cplx float (encoding,video)'

Set initial complexity for 1-pass encoding.

'dct integer (encoding,video)'

Set DCT algorithm.

Possible values:

'auto'

autoselect a good one (default)

'fastint'

fast integer

'int'

accurate integer

'mmx'
'altivec'
'faan'

floating point AAN DCT

'lumi_mask float (encoding,video)'

Compress bright areas stronger than medium ones.

'tcplx_mask float (encoding,video)'

Set temporal complexity masking.

'scplx_mask float (encoding,video)'

Set spatial complexity masking.

'p_mask float (encoding,video)'

Set inter masking.

'dark_mask float (encoding,video)'

Compress dark areas stronger than medium ones.

'idct integer (decoding/encoding,video)'

Select IDCT implementation.

Possible values:

'auto'
'int'
'simple'
'simplemmx'
'simpleauto'

Automatically pick a IDCT compatible with the simple one

'arm'
'altivec'
'sh4'
'simplearm'
'simplearmv5te'
'simplearmv6'
'simpleneon'
'simplealpha'
'ipp'
'xvidmmx'
'faani'

floating point AAN IDCT

'slice_count integer'
'ec flags (decoding,video)'

Set error concealment strategy.

Possible values:

'guess_mvs'

iterative motion vector (MV) search (slow)

'deblock'

use strong deblock filter for damaged MBs

'favor_inter'

favor predicting from the previous frame instead of the current

'bits_per_coded_sample integer'
'pred integer (encoding,video)'

Set prediction method.

Possible values:

'left'
'plane'
'median'
'aspect rational number (encoding,video)'

Set sample aspect ratio.

'sar rational number (encoding,video)'

Set sample aspect ratio. Alias to aspect.

'debug flags (decoding/encoding,audio,video,subtitles)'

Print specific debug info.

Possible values:

'pict'

picture info

'rc'

rate control

'bitstream'
'mb_type'

macroblock (MB) type

'qp'

per-block quantization parameter (QP)

'dct_coeff'
'green_metadata'

display complexity metadata for the upcoming frame, GoP or for a given duration.

'skip'
'startcode'
'er'

error recognition

'mmco'

memory management control operations (H.264)

'bugs'
'buffers'

picture buffer allocations

'thread_ops'

threading operations

'nomc'

skip motion compensation

'cmp integer (encoding,video)'

Set full pel me compare function.

Possible values:

'sad'

sum of absolute differences, fast (default)

'sse'

sum of squared errors

'satd'

sum of absolute Hadamard transformed differences

'dct'

sum of absolute DCT transformed differences

'psnr'

sum of squared quantization errors (avoid, low quality)

'bit'

number of bits needed for the block

'rd'

rate distortion optimal, slow

'zero'

0

'vsad'

sum of absolute vertical differences

'vsse'

sum of squared vertical differences

'nsse'

noise preserving sum of squared differences

'w53'

5/3 wavelet, only used in snow

'w97'

9/7 wavelet, only used in snow

'dctmax'
'chroma'
'subcmp integer (encoding,video)'

Set sub pel me compare function.

Possible values:

'sad'

sum of absolute differences, fast (default)

'sse'

sum of squared errors

'satd'

sum of absolute Hadamard transformed differences

'dct'

sum of absolute DCT transformed differences

'psnr'

sum of squared quantization errors (avoid, low quality)

'bit'

number of bits needed for the block

'rd'

rate distortion optimal, slow

'zero'

0

'vsad'

sum of absolute vertical differences

'vsse'

sum of squared vertical differences

'nsse'

noise preserving sum of squared differences

'w53'

5/3 wavelet, only used in snow

'w97'

9/7 wavelet, only used in snow

'dctmax'
'chroma'
'mbcmp integer (encoding,video)'

Set macroblock compare function.

Possible values:

'sad'

sum of absolute differences, fast (default)

'sse'

sum of squared errors

'satd'

sum of absolute Hadamard transformed differences

'dct'

sum of absolute DCT transformed differences

'psnr'

sum of squared quantization errors (avoid, low quality)

'bit'

number of bits needed for the block

'rd'

rate distortion optimal, slow

'zero'

0

'vsad'

sum of absolute vertical differences

'vsse'

sum of squared vertical differences

'nsse'

noise preserving sum of squared differences

'w53'

5/3 wavelet, only used in snow

'w97'

9/7 wavelet, only used in snow

'dctmax'
'chroma'
'ildctcmp integer (encoding,video)'

Set interlaced dct compare function.

Possible values:

'sad'

sum of absolute differences, fast (default)

'sse'

sum of squared errors

'satd'

sum of absolute Hadamard transformed differences

'dct'

sum of absolute DCT transformed differences

'psnr'

sum of squared quantization errors (avoid, low quality)

'bit'

number of bits needed for the block

'rd'

rate distortion optimal, slow

'zero'

0

'vsad'

sum of absolute vertical differences

'vsse'

sum of squared vertical differences

'nsse'

noise preserving sum of squared differences

'w53'

5/3 wavelet, only used in snow

'w97'

9/7 wavelet, only used in snow

'dctmax'
'chroma'
'dia_size integer (encoding,video)'

Set diamond type & size for motion estimation.

'last_pred integer (encoding,video)'

Set amount of motion predictors from the previous frame.

'preme integer (encoding,video)'

Set pre motion estimation.

'precmp integer (encoding,video)'

Set pre motion estimation compare function.

Possible values:

'sad'

sum of absolute differences, fast (default)

'sse'

sum of squared errors

'satd'

sum of absolute Hadamard transformed differences

'dct'

sum of absolute DCT transformed differences

'psnr'

sum of squared quantization errors (avoid, low quality)

'bit'

number of bits needed for the block

'rd'

rate distortion optimal, slow

'zero'

0

'vsad'

sum of absolute vertical differences

'vsse'

sum of squared vertical differences

'nsse'

noise preserving sum of squared differences

'w53'

5/3 wavelet, only used in snow

'w97'

9/7 wavelet, only used in snow

'dctmax'
'chroma'
'pre_dia_size integer (encoding,video)'

Set diamond type & size for motion estimation pre-pass.

'subq integer (encoding,video)'

Set sub pel motion estimation quality.

'dtg_active_format integer'
'me_range integer (encoding,video)'

Set limit motion vectors range (1023 for DivX player).

'ibias integer (encoding,video)'

Set intra quant bias.

'pbias integer (encoding,video)'

Set inter quant bias.

'color_table_id integer'
'global_quality integer (encoding,audio,video)'
'coder integer (encoding,video)'

Possible values:

'vlc'

variable length coder / huffman coder

'ac'

arithmetic coder

'raw'

raw (no encoding)

'rle'

run-length coder

'deflate'

deflate-based coder

'context integer (encoding,video)'

Set context model.

'slice_flags integer'
'mbd integer (encoding,video)'

Set macroblock decision algorithm (high quality mode).

Possible values:

'simple'

use mbcmp (default)

'bits'

use fewest bits

'rd'

use best rate distortion

'stream_codec_tag integer'
'sc_threshold integer (encoding,video)'

Set scene change threshold.

'lmin integer (encoding,video)'

Set min lagrange factor (VBR).

'lmax integer (encoding,video)'

Set max lagrange factor (VBR).

'nr integer (encoding,video)'

Set noise reduction.

'rc_init_occupancy integer (encoding,video)'

Set number of bits which should be loaded into the rc buffer before decoding starts.

'flags2 flags (decoding/encoding,audio,video)'

Possible values:

'fast'

Allow non spec compliant speedup tricks.

'sgop'

Deprecated, use mpegvideo private options instead.

'noout'

Skip bitstream encoding.

'ignorecrop'

Ignore cropping information from sps.

'local_header'

Place global headers at every keyframe instead of in extradata.

'chunks'

Frame data might be split into multiple chunks.

'showall'

Show all frames before the first keyframe.

'export_mvs'

Export motion vectors into frame side-data (see AV_FRAME_DATA_MOTION_VECTORS) for codecs that support it. See also 'doc/examples/export_mvs.c'.

'error integer (encoding,video)'
'qns integer (encoding,video)'

Deprecated, use mpegvideo private options instead.

'threads integer (decoding/encoding,video)'

Set the number of threads to be used, in case the selected codec implementation supports multi-threading.

Possible values:

'auto, 0'

automatically select the number of threads to set

Default value is 'auto'.

'me_threshold integer (encoding,video)'

Set motion estimation threshold.

'mb_threshold integer (encoding,video)'

Set macroblock threshold.

'dc integer (encoding,video)'

Set intra_dc_precision.

'nssew integer (encoding,video)'

Set nsse weight.

'skip_top integer (decoding,video)'

Set number of macroblock rows at the top which are skipped.

'skip_bottom integer (decoding,video)'

Set number of macroblock rows at the bottom which are skipped.

'profile integer (encoding,audio,video)'

Possible values:

'unknown'
'aac_main'
'aac_low'
'aac_ssr'
'aac_ltp'
'aac_he'
'aac_he_v2'
'aac_ld'
'aac_eld'
'mpeg2_aac_low'
'mpeg2_aac_he'
'mpeg4_sp'
'mpeg4_core'
'mpeg4_main'
'mpeg4_asp'
'dts'
'dts_es'
'dts_96_24'
'dts_hd_hra'
'dts_hd_ma'
'level integer (encoding,audio,video)'

Possible values:

'unknown'
'lowres integer (decoding,audio,video)'

Decode at 1= 1/2, 2=1/4, 3=1/8 resolutions.

'skip_threshold integer (encoding,video)'

Set frame skip threshold.

'skip_factor integer (encoding,video)'

Set frame skip factor.

'skip_exp integer (encoding,video)'

Set frame skip exponent. Negative values behave identical to the corresponding positive ones, except that the score is normalized. Positive values exist primarily for compatibility reasons and are not so useful.

'skipcmp integer (encoding,video)'

Set frame skip compare function.

Possible values:

'sad'

sum of absolute differences, fast (default)

'sse'

sum of squared errors

'satd'

sum of absolute Hadamard transformed differences

'dct'

sum of absolute DCT transformed differences

'psnr'

sum of squared quantization errors (avoid, low quality)

'bit'

number of bits needed for the block

'rd'

rate distortion optimal, slow

'zero'

0

'vsad'

sum of absolute vertical differences

'vsse'

sum of squared vertical differences

'nsse'

noise preserving sum of squared differences

'w53'

5/3 wavelet, only used in snow

'w97'

9/7 wavelet, only used in snow

'dctmax'
'chroma'
'border_mask float (encoding,video)'

Increase the quantizer for macroblocks close to borders.

'mblmin integer (encoding,video)'

Set min macroblock lagrange factor (VBR).

'mblmax integer (encoding,video)'

Set max macroblock lagrange factor (VBR).

'mepc integer (encoding,video)'

Set motion estimation bitrate penalty compensation (1.0 = 256).

'skip_loop_filter integer (decoding,video)'
'skip_idct integer (decoding,video)'
'skip_frame integer (decoding,video)'

Make decoder discard processing depending on the frame type selected by the option value.

'skip_loop_filter' skips frame loop filtering, 'skip_idct' skips frame IDCT/dequantization, 'skip_frame' skips decoding.

Possible values:

'none'

Discard no frame.

'default'

Discard useless frames like 0-sized frames.

'noref'

Discard all non-reference frames.

'bidir'

Discard all bidirectional frames.

'nokey'

Discard all frames excepts keyframes.

'all'

Discard all frames.

Default value is 'default'.

'bidir_refine integer (encoding,video)'

Refine the two motion vectors used in bidirectional macroblocks.

'brd_scale integer (encoding,video)'

Downscale frames for dynamic B-frame decision.

'keyint_min integer (encoding,video)'

Set minimum interval between IDR-frames.

'refs integer (encoding,video)'

Set reference frames to consider for motion compensation.

'chromaoffset integer (encoding,video)'

Set chroma qp offset from luma.

'trellis integer (encoding,audio,video)'

Set rate-distortion optimal quantization.

'mv0_threshold integer (encoding,video)'
'b_sensitivity integer (encoding,video)'

Adjust sensitivity of b_frame_strategy 1.

'compression_level integer (encoding,audio,video)'
'min_prediction_order integer (encoding,audio)'
'max_prediction_order integer (encoding,audio)'
'timecode_frame_start integer (encoding,video)'

Set GOP timecode frame start number, in non drop frame format.

'request_channels integer (decoding,audio)'

Set desired number of audio channels.

'bits_per_raw_sample integer'
'channel_layout integer (decoding/encoding,audio)'

Possible values:

'request_channel_layout integer (decoding,audio)'

Possible values:

'rc_max_vbv_use float (encoding,video)'
'rc_min_vbv_use float (encoding,video)'
'ticks_per_frame integer (decoding/encoding,audio,video)'
'color_primaries integer (decoding/encoding,video)'

Possible values:

'bt709'

BT.709

'bt470m'

BT.470 M

'bt470bg'

BT.470 BG

'smpte170m'

SMPTE 170 M

'smpte240m'

SMPTE 240 M

'film'

Film

'bt2020'

BT.2020

'smpte428'
'smpte428_1'

SMPTE ST 428-1

'smpte431'

SMPTE 431-2

'smpte432'

SMPTE 432-1

'jedec-p22'

JEDEC P22

'color_trc integer (decoding/encoding,video)'

Possible values:

'bt709'

BT.709

'gamma22'

BT.470 M

'gamma28'

BT.470 BG

'smpte170m'

SMPTE 170 M

'smpte240m'

SMPTE 240 M

'linear'

Linear

'log'
'log100'

Log

'log_sqrt'
'log316'

Log square root

'iec61966_2_4'
'iec61966-2-4'

IEC 61966-2-4

'bt1361'
'bt1361e'

BT.1361

'iec61966_2_1'
'iec61966-2-1'

IEC 61966-2-1

'bt2020_10'
'bt2020_10bit'

BT.2020 - 10 bit

'bt2020_12'
'bt2020_12bit'

BT.2020 - 12 bit

'smpte2084'

SMPTE ST 2084

'smpte428'
'smpte428_1'

SMPTE ST 428-1

'arib-std-b67'

ARIB STD-B67

'colorspace integer (decoding/encoding,video)'

Possible values:

'rgb'

RGB

'bt709'

BT.709

'fcc'

FCC

'bt470bg'

BT.470 BG

'smpte170m'

SMPTE 170 M

'smpte240m'

SMPTE 240 M

'ycocg'

YCOCG

'bt2020nc'
'bt2020_ncl'

BT.2020 NCL

'bt2020c'
'bt2020_cl'

BT.2020 CL

'smpte2085'

SMPTE 2085

'color_range integer (decoding/encoding,video)'

If used as input parameter, it serves as a hint to the decoder, which color_range the input has. Possible values:

'tv'
'mpeg'

MPEG (219*2^(n-8))

'pc'
'jpeg'

JPEG (2^n-1)

'chroma_sample_location integer (decoding/encoding,video)'

Possible values:

'left'
'center'
'topleft'
'top'
'bottomleft'
'bottom'
'log_level_offset integer'

Set the log level offset.

'slices integer (encoding,video)'

Number of slices, used in parallelized encoding.

'thread_type flags (decoding/encoding,video)'

Select which multithreading methods to use.

Use of 'frame' will increase decoding delay by one frame per thread, so clients which cannot provide future frames should not use it.

Possible values:

'slice'

Decode more than one part of a single frame at once.

Multithreading using slices works only when the video was encoded with slices.

'frame'

Decode more than one frame at once.

Default value is 'slice+frame'.

'audio_service_type integer (encoding,audio)'

Set audio service type.

Possible values:

'ma'

Main Audio Service

'ef'

Effects

'vi'

Visually Impaired

'hi'

Hearing Impaired

'di'

Dialogue

'co'

Commentary

'em'

Emergency

'vo'

Voice Over

'ka'

Karaoke

'request_sample_fmt sample_fmt (decoding,audio)'

Set sample format audio decoders should prefer. Default value is none.

'pkt_timebase rational number'
'sub_charenc encoding (decoding,subtitles)'

Set the input subtitles character encoding.

'field_order field_order (video)'

Set/override the field order of the video. Possible values:

'progressive'

Progressive video

'tt'

Interlaced video, top field coded and displayed first

'bb'

Interlaced video, bottom field coded and displayed first

'tb'

Interlaced video, top coded first, bottom displayed first

'bt'

Interlaced video, bottom coded first, top displayed first

'skip_alpha bool (decoding,video)'

Set to 1 to disable processing alpha (transparency). This works like the 'gray' flag in the 'flags' option which skips chroma information instead of alpha. Default is 0.

'codec_whitelist list (input)'

"," separated list of allowed decoders. By default all are allowed.

'dump_separator string (input)'

Separator used to separate the fields printed on the command line about the Stream parameters. For example, to separate the fields with newlines and indentation:

ffprobe -dump_separator "
                          "  -i ~/videos/matrixbench_mpeg2.mpg
'max_pixels integer (decoding/encoding,video)'

Maximum number of pixels per image. This value can be used to avoid out of memory failures due to large images.

'apply_cropping bool (decoding,video)'

Enable cropping if cropping parameters are multiples of the required alignment for the left and top parameters. If the alignment is not met the cropping will be partially applied to maintain alignment. Default is 1 (enabled). Note: The required alignment depends on if AV_CODEC_FLAG_UNALIGNED is set and the CPU. AV_CODEC_FLAG_UNALIGNED cannot be changed from the command line. Also hardware decoders will not apply left/top Cropping.