options

AVCodecContext_AVOptions

-b

FFMPEG: Encode, Video

Full Name: Video Bitrate

Varibles: interger (bits/s)Description: Used to set video bitrate, in bits per second.

-ab

FFMPEG: Encode, Audio

Full Name: Audio Bitrate

Varibles: interger (bits/s)

Description: Used to set audio bitrate, in bits per second.

-bt

FFMPEG: Encode, Video

Varibles: Integer (in bits/s)

Description: set video bitrate tolerance

-g

FFMPEG: Encode, Video

Varibles: Integer

Description: set the group of picture size

-cutoff

FFMPEG: Encode, Audio

Varibles: Integer

Description: set cutoff bandwidth

-frame_size

FFMPEG: Encode, Audio

Varibles: Integer

-qcomp

FFMPEG: Encode, Video

Varibles: Float

Description: video quantizer scale compression (VBR)

-qblur

FFMPEG: Encode, Video

Varibles: Float

Description: video quantizer scale blur (VBR)

-qmin

FFMPEG: Encode, Video

Varibles: Integer

Description: min video quantizer scale (VBR)

-qmax

FFMPEG: Encode, Video

Varibles: Integer

Description: max video quantizer scale (VBR)

-qdiff

FFMPEG: Encode, Video

Varibles: Integer

Description: max difference between the quantizer scale (VBR)

-bf

FFMPEG: Encode, Video

Varibles: Integer

Description: use 'frames' B frames

-b_qfactor

FFMPEG: Encode, Video

Varibles: Float

Description: qp factor between p and b frames

-rc_strategy

FFMPEG: Encode, Video

Varibles: Integer

Description: ratecontrol method

-b_strategy

FFMPEG: Encode, Video

Varibles: Integer

Description: strategy to choose between I/P/B-frames

-hurry_up

FFMPEG: Decode, Video

Varibles: Integer

-ps

FFMPEG: Encode, Video

Varibles: Integer

Description: rtp payload size in bytes

-lelim

FFMPEG: Encode, Video

Varibles: Integer

Description: single coefficient elimination threshold for luminance (negative values also consider dc coefficient)

-celim

FFMPEG: Encode, Video

Varibles: Integer

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

-b_qoffset

FFMPEG: Encode, Video

Varibles: Float

Description: qp offset between P and B frames

-mpeg_quant

FFMPEG: Encode, Video

Varibles: Integer

Description: use MPEG quantizers instead of H.263

-qsquish

FFMPEG: Encode, Video

Varibles: Float

Description: how to keep quantizer between qmin and qmax (0 = clip, 1 = use differentiable function)

-rc_qmod_amp

FFMPEG: Encode, Video

Varibles: Float

Description: experimental quantizer modulation

-rc_qmod_freq

FFMPEG: Encode, Video

Varibles: Integer

Description: experimental quantizer modulation

-rc_eq

FFMPEG: Encode, Video

Varibles: String

Description: set rate control equation

-maxrate

FFMPEG: Encode, Video

Varibles: Integer

Description: set max video bitrate tolerance (in bits/s)

-minrate

FFMPEG: Encode, Video

Varibles: Integer

Description: set min video bitrate tolerance (in bits/s)

-bufsize

FFMPEG: Encode, Video, Audio

Varibles: Integer

Description: set ratecontrol buffer size (in bits)

-rc_buf_aggressivity

FFMPEG: Encode, Video

Varibles:

Codecs: allFloat

Web sites:

Description: currently useless

-i_qfactor

FFMPEG: Encode, Video

Varibles: Float

Description: qp factor between P and I frames

-i_qoffset

FFMPEG: Encode, Video

Varibles: Float

Description: qp offset between P and I frames

-rc_init_cplx

FFMPEG: Encode, Video

Varibles: Float

Description: initial complexity for 1-pass encoding

-lumi_mask

FFMPEG: Encode, Video

Varibles: Float

Description: compresses bright areas stronger than medium ones

-tcplx_mask

FFMPEG: Encode, Video

Varibles: Float

Description: temporal complexity masking

-scplx_mask

FFMPEG: Encode, Video

Varibles: Float

Description: spatial complexity masking

-p_mask

FFMPEG: Encode, Video

Varibles: Float

Description: inter masking

-dark_mask

FFMPEG: Encode, Video

Varibles: Float

Description: compresses dark areas stronger than medium ones

-aspect

FFMPEG: Encode, Video

Varibles: Rational

Description: sample aspect ratio

-mb_qmin

FFMPEG: Encode, Video

Varibles: Integer

Description: obsolete, use qmin

-mb_qmax

FFMPEG: Encode, Video

Varibles: Integer

Description: obsolete, use qmax

-dia_size

FFMPEG: Encode, Video

Varibles: Integer

Description: diamond type & size for motion estimation

-last_pred

FFMPEG: Encode, Video

Varibles: Integer

Description: amount of motion predictors from the previous frame

-preme

FFMPEG: Encode, Video

Varibles: Integer

Description: pre motion estimation

-precmp

FFMPEG: Encode, Video

Varibles: Integer

Description: pre motion estimation compare function

-pre_dia_size

FFMPEG: Encode, Video

Varibles: Integer

Description: diamond type & size for motion estimation pre-pass

-subq

FFMPEG: Encode, Video

Varibles: Integer

Description: sub pel motion estimation quality

-me_range

FFMPEG: Encode, Video

Varibles: Integer

Description: limit motion vectors range (1023 for DivX player)

-ibias

FFMPEG: Encode, Video

Varibles: Integer

Description: intra quant bias

-pbias

FFMPEG: Encode, Video

Varibles: Integer

Description: inter quant bias

-context

FFMPEG: Encode, Video

Varibles: Integer

Description: context model

-sc_threshold

FFMPEG: Encode, Video

Varibles: Integer

Description: scene change threshold

-lmin

FFMPEG: Encode, Video

Varibles: Integer

Description: min lagrange factor (VBR)

-lmax

FFMPEG: Encode, Video

Varibles: Integer

Description: max lagrange factor (VBR)

-nr

FFMPEG: Encode, Video

Varibles: Integer

Description: noise reduction

-rc_init_occupancy

FFMPEG: Encode, Video

Varibles: Integer

Description: number of bits which should be loaded into the rc buffer before decoding starts

-inter_threshold

FFMPEG: Encode, Video

Varibles: Integer

-error

FFMPEG:

Varibles: Integer

Description: Encode, Video

-qns

FFMPEG: Encode, Video

Varibles: Integer

Description: quantizer noise shaping

-threads

FFMPEG: Encode, Decode, Video

Varibles: Integer

-mb_threshold

FFMPEG: Encode, Video

Varibles: Integer

Description: macroblock threshold

-dc

FFMPEG: Encode, Video

Varibles: Integer

Description: intra_dc_precision

-nssew

FFMPEG: Encode, Video

Varibles: Integer

Description: nsse weight

-skip_top

FFMPEG: Decode, Video

Varibles: Integer

Description: number of macroblock rows at the top which are skipped

-skip_bottom

FFMPEG: Decode, Video

Varibles: Integer

Description: number of macroblock rows at the bottom which are skipped

-lowres

FFMPEG: Decode, Video

Varibles: Integer

Description: decode at 1= 1/2, 2=1/4, 3=1/8 resolutions

-skip_threshold

FFMPEG: Encode, Video

Varibles: Integer

Description: frame skip threshold

-skip_factor

FFMPEG: Encode, Video

Varibles: Integer

Description: frame skip factor

-skip_exp

FFMPEG: Encode, Video

Varibles: Integer

Description: frame skip exponent

-border_mask

FFMPEG: Encode, Video

Varibles: Float

Description: increases the quantizer for macroblocks close to borders

-mblmin

FFMPEG: Encode, Video

Varibles: Integer

Description: min macroblock lagrange factor (VBR)

-mblmax

FFMPEG: Encode, Video

Varibles: Integer

Description: max macroblock lagrange factor (VBR)

-mepc

FFMPEG: Encode, Video

Varibles: Integer

Description: motion estimation bitrate penalty compensation (1.0 = 256)

-bidir_refine

FFMPEG: Encode, Video

Varibles: Integer

Description: refine the two motion vectors used in bidirectional macroblocks

-brd_scale

FFMPEG: Encode, Video

Varibles: Integer

Description: downscales frames for dynamic B-frame decision

-crf

FFMPEG: Encode, Video

Varibles: Float

Codecs: x264

Web sites:

Description: enables constant quality mode, and selects the quality

-cqp

FFMPEG: Encode, Video

Varibles: Integer

Description: constant quantization parameter rate control method

-keyint_min

FFMPEG: Encode, Video

Varibles: Integer

Codecs: x264

Web sites:

Description: minimum interval between IDR-frames

-refs

FFMPEG: Encode, Video

Varibles: Integer

Codecs: Snow

Web sites:

Description: reference frames to consider for motion compensation

-chromaoffset

FFMPEG: Encode, Video

Varibles: Integer

Description: chroma qp offset from luma

-bframebias

FFMPEG: Encode, Video

Varibles: Integer

Description: influences how often B-frames are used

-trellis

FFMPEG: Encode, Video, Audio

Varibles: Integer

Description: rate-distortion optimal quantization

* In lavc:

o trellis 0 = no trellis

o trellis 1 = trellis on final encode

* In x264:

*

o trellis 0 = no trellis

o trellis 1 = trellis on final encode

o trellis 2 = trellis on all RD calls (slow)

-directpred

FFMPEG: Encode, Video

Varibles: Integer

Description: direct mv prediction mode- 0 (none), 1 (spatial), 2 (temporal), 3 (auto)

-complexityblur

FFMPEG: Encode, Video

Varibles: Float

Description: reduce fluctuations in qp (before curve compression)

-deblockalpha

FFMPEG: Integer

Varibles: Encode, Video

Description: in-loop deblocking filter alphac0 parameter

-deblockbeta

FFMPEG: Encode, Video

Varibles: Integer

Description: in-loop deblocking filter beta parameter

-sc_factor

FFMPEG: Encode, Video

Varibles: Integer

Description: multiplied by qscale for each frame and added to scene_change_score

-mv0_threshold

FFMPEG: Encode, Video

Varibles: Integer

-b_sensitivity

FFMPEG: Encode, Video

Varibles: Integer

Description: adjusts sensitivity of b_frame_strategy 1

-compression_level

FFMPEG: Encode, Video, Audio

Varibles: Integer

-use_lpc

FFMPEG: Encode, Audio

Varibles: Integer

Description: sets whether to use LPC mode (FLAC)

-lpc_coeff_precision

FFMPEG: Encode, Audio

Varibles: Integer

Description: LPC coefficient precision (FLAC)

-min_prediction_order

FFMPEG: Encode, Audio

Varibles: Integer

-max_prediction_order

FFMPEG: Encode, Audio

Varibles: Integer

-prediction_order_method

FFMPEG: Encode, Audio

Varibles: Integer

Description: search method for selecting prediction order

-min_partition_order

FFMPEG: Encode, Audio

Varibles: Integer

-max_partition_order

FFMPEG: Encode, Audio

Varibles: Integer

-timecode_frame_start

FFMPEG: Encode, Video

Varibles: Integer 64bit

Description: GOP timecode frame start number, in non drop frame format

-request_channels

FFMPEG: Decode, Audio

Varibles: Integer

Description: set desired number of audio channels

-drc_scale

FFMPEG: Decode, Audio

Varibles: Float

Description: percentage of dynamic range compression to apply

-channel_layout

FFMPEG: Encode, Decode, Audio

Varibles: Interger 64bit

-request_channel_layout

FFMPEG: Decode, Audio

Varibles: Interger 64bit

-rc_max_vbv_use

FFMPEG: Encode, Video

Varibles: Float

-rc_min_vbv_use

FFMPEG: Encode, Video

Varibles: Float

-ticks_per_frame

FFMPEG: Encode, Decode, Video, Audio

Varibles: Integer

-color_primaries

FFMPEG: Encode, Decode, Video

Varibles: Integer

-color_trc

FFMPEG: Encode, Decode, Video

Varibles: Integer

-colorspace

FFMPEG: Encode, Decode, Video

Varibles: Integer

-color_range

FFMPEG: Encode, Decode, Video

Varibles: Integer

-chroma_sample_location

FFMPEG: Encode, Decode, Video

Varibles: Integer