[FFmpeg-devel] [PATCH] doc: move ffmpeg-codecs.texi content to separated file

Stefano Sabatini stefasab at gmail.com
Tue Mar 19 20:55:59 CET 2013


This should simplify inclusion in monolithic tool manuals.
---
 doc/codecs.texi        | 1082 +++++++++++++++++++++++++++++++++++++++++++++++
 doc/ffmpeg-codecs.texi | 1083 +-----------------------------------------------
 2 files changed, 1083 insertions(+), 1082 deletions(-)
 create mode 100644 doc/codecs.texi

diff --git a/doc/codecs.texi b/doc/codecs.texi
new file mode 100644
index 0000000..3e9093b
--- /dev/null
+++ b/doc/codecs.texi
@@ -0,0 +1,1082 @@
+ at chapter Codec Options
+ at c man begin 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 unsensical 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 - at var{option} @var{value} in the
+FFmpeg tools, or by setting the value explicitly in the
+ at code{AVCodecContext} options or using the @file{libavutil/opt.h} API
+for programmatic use.
+
+The list of supported options follow:
+
+ at table @option
+ at item b @var{integer} (@emph{encoding,audio,video})
+Set bitrate in bits/s. Default value is 200K.
+
+ at item ab @var{integer} (@emph{encoding,audio})
+Set audio bitrate (in bits/s). Default value is 128K.
+
+ at item bt @var{integer} (@emph{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.
+
+ at item flags @var{flags} (@emph{decoding/encoding,audio,video,subtitles})
+Set generic flags.
+
+Possible values:
+ at table @samp
+ at item mv4
+Use four motion vector by macroblock (mpeg4).
+ at item qpel
+Use 1/4 pel motion compensation.
+ at item loop
+Use loop filter.
+ at item qscale
+Use fixed qscale.
+ at item gmc
+Use gmc.
+ at item mv0
+Always try a mb with mv=<0,0>.
+ at item input_preserved
+
+ at item pass1
+Use internal 2pass ratecontrol in first pass mode.
+ at item pass2
+Use internal 2pass ratecontrol in second pass mode.
+ at item gray
+Only decode/encode grayscale.
+ at item emu_edge
+Do not draw edges.
+ at item psnr
+Set error[?] variables during encoding.
+ at item truncated
+
+ at item naq
+Normalize adaptive quantization.
+ at item ildct
+Use interlaced DCT.
+ at item low_delay
+Force low delay.
+ at item global_header
+Place global headers in extradata instead of every keyframe.
+ at item bitexact
+Use only bitexact stuff (except (I)DCT).
+ at item aic
+Apply H263 advanced intra coding / mpeg4 ac prediction.
+ at item cbp
+Deprecated, use mpegvideo private options instead.
+ at item qprd
+Deprecated, use mpegvideo private options instead.
+ at item ilme
+Apply interlaced motion estimation.
+ at item cgop
+Use closed gop.
+ at end table
+
+ at item sub_id @var{integer}
+Deprecated, currently unused.
+
+ at item me_method @var{integer} (@emph{encoding,video})
+Set motion estimation method.
+
+Possible values:
+ at table @samp
+ at item zero
+zero motion estimation (fastest)
+ at item full
+full motion estimation (slowest)
+ at item epzs
+EPZS motion estimation (default)
+ at item esa
+esa motion estimation (alias for full)
+ at item tesa
+tesa motion estimation
+ at item dia
+dia motion estimation (alias for epzs)
+ at item log
+log motion estimation
+ at item phods
+phods motion estimation
+ at item x1
+X1 motion estimation
+ at item hex
+hex motion estimation
+ at item umh
+umh motion estimation
+ at item iter
+iter motion estimation
+ at end table
+
+ at item extradata_size @var{integer}
+Set extradata size.
+
+ at item time_base @var{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/framerate and timestamp increments should be identically
+1.
+
+ at item g @var{integer} (@emph{encoding,video})
+Set the group of picture size. Default value is 12.
+
+ at item ar @var{integer} (@emph{decoding/encoding,audio})
+Set audio sampling rate (in Hz).
+
+ at item ac @var{integer} (@emph{decoding/encoding,audio})
+Set number of audio channels.
+
+ at item cutoff @var{integer} (@emph{encoding,audio})
+Set cutoff bandwidth.
+
+ at item frame_size @var{integer} (@emph{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.
+
+ at item frame_number @var{integer}
+Set the frame number.
+
+ at item delay @var{integer}
+
+ at item qcomp @var{float} (@emph{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.
+
+ at item qblur @var{float} (@emph{encoding,video})
+Set video quantizer scale blur (VBR).
+
+ at item qmin @var{integer} (@emph{encoding,video})
+Set min video quantizer scale (VBR). Must be included between -1 and
+69, default value is 2.
+
+ at item qmax @var{integer} (@emph{encoding,video})
+Set max video quantizer scale (VBR). Must be included between -1 and
+1024, default value is 31.
+
+ at item qdiff @var{integer} (@emph{encoding,video})
+Set max difference between the quantizer scale (VBR).
+
+ at item bf @var{integer} (@emph{encoding,video})
+Set max number of B frames.
+
+ at item b_qfactor @var{float} (@emph{encoding,video})
+Set qp factor between P and B frames.
+
+ at item rc_strategy @var{integer} (@emph{encoding,video})
+Set ratecontrol method.
+
+ at item b_strategy @var{integer} (@emph{encoding,video})
+Set strategy to choose between I/P/B-frames.
+
+ at item ps @var{integer} (@emph{encoding,video})
+Set RTP payload size in bytes.
+
+ at item mv_bits @var{integer}
+ at item header_bits @var{integer}
+ at item i_tex_bits @var{integer}
+ at item p_tex_bits @var{integer}
+ at item i_count @var{integer}
+ at item p_count @var{integer}
+ at item skip_count @var{integer}
+ at item misc_bits @var{integer}
+ at item frame_bits @var{integer}
+ at item codec_tag @var{integer}
+ at item bug @var{flags} (@emph{decoding,video})
+Workaround not auto detected encoder bugs.
+
+Possible values:
+ at table @samp
+ at item autodetect
+
+ at item old_msmpeg4
+some old lavc generated msmpeg4v3 files (no autodetection)
+ at item xvid_ilace
+Xvid interlacing bug (autodetected if fourcc==XVIX)
+ at item ump4
+(autodetected if fourcc==UMP4)
+ at item no_padding
+padding bug (autodetected)
+ at item amv
+
+ at item ac_vlc
+illegal vlc bug (autodetected per fourcc)
+ at item qpel_chroma
+
+ at item std_qpel
+old standard qpel (autodetected per fourcc/version)
+ at item qpel_chroma2
+
+ at item direct_blocksize
+direct-qpel-blocksize bug (autodetected per fourcc/version)
+ at item edge
+edge padding bug (autodetected per fourcc/version)
+ at item hpel_chroma
+
+ at item dc_clip
+
+ at item ms
+Workaround various bugs in microsoft broken decoders.
+ at item trunc
+trancated frames
+ at end table
+
+ at item lelim @var{integer} (@emph{encoding,video})
+Set single coefficient elimination threshold for luminance (negative
+values also consider DC coefficient).
+
+ at item celim @var{integer} (@emph{encoding,video})
+Set single coefficient elimination threshold for chrominance (negative
+values also consider dc coefficient)
+
+ at item strict @var{integer} (@emph{decoding/encoding,audio,video})
+Specify how strictly to follow the standards.
+
+Possible values:
+ at table @samp
+ at item very
+strictly conform to a older more strict version of the spec or reference software
+ at item strict
+strictly conform to all the things in the spec no matter what consequences
+ at item normal
+
+ at item unofficial
+allow unofficial extensions
+ at item experimental
+allow non standardized experimental things
+ at end table
+
+ at item b_qoffset @var{float} (@emph{encoding,video})
+Set QP offset between P and B frames.
+
+ at item err_detect @var{flags} (@emph{decoding,audio,video})
+Set error detection flags.
+
+Possible values:
+ at table @samp
+ at item crccheck
+verify embedded CRCs
+ at item bitstream
+detect bitstream specification deviations
+ at item buffer
+detect improper bitstream length
+ at item explode
+abort decoding on minor error detection
+ at item careful
+consider things that violate the spec and have not been seen in the wild as errors
+ at item compliant
+consider all spec non compliancies as errors
+ at item aggressive
+consider things that a sane encoder should not do as an error
+ at end table
+
+ at item has_b_frames @var{integer}
+
+ at item block_align @var{integer}
+
+ at item mpeg_quant @var{integer} (@emph{encoding,video})
+Use MPEG quantizers instead of H.263.
+
+ at item qsquish @var{float} (@emph{encoding,video})
+How to keep quantizer between qmin and qmax (0 = clip, 1 = use
+differentiable function).
+
+ at item rc_qmod_amp @var{float} (@emph{encoding,video})
+Set experimental quantizer modulation.
+
+ at item rc_qmod_freq @var{integer} (@emph{encoding,video})
+Set experimental quantizer modulation.
+
+ at item rc_override_count @var{integer}
+
+ at item rc_eq @var{string} (@emph{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.
+
+ at item maxrate @var{integer} (@emph{encoding,audio,video})
+Set max bitrate tolerance (in bits/s). Requires bufsize to be set.
+
+ at item minrate @var{integer} (@emph{encoding,audio,video})
+Set min bitrate tolerance (in bits/s). Most useful in setting up a CBR
+encode. It is of little use elsewise.
+
+ at item bufsize @var{integer} (@emph{encoding,audio,video})
+Set ratecontrol buffer size (in bits).
+
+ at item rc_buf_aggressivity @var{float} (@emph{encoding,video})
+Currently useless.
+
+ at item i_qfactor @var{float} (@emph{encoding,video})
+Set QP factor between P and I frames.
+
+ at item i_qoffset @var{float} (@emph{encoding,video})
+Set QP offset between P and I frames.
+
+ at item rc_init_cplx @var{float} (@emph{encoding,video})
+Set initial complexity for 1-pass encoding.
+
+ at item dct @var{integer} (@emph{encoding,video})
+Set DCT algorithm.
+
+Possible values:
+ at table @samp
+ at item auto
+autoselect a good one (default)
+ at item fastint
+fast integer
+ at item int
+accurate integer
+ at item mmx
+
+ at item altivec
+
+ at item faan
+floating point AAN DCT
+ at end table
+
+ at item lumi_mask @var{float} (@emph{encoding,video})
+Compress bright areas stronger than medium ones.
+
+ at item tcplx_mask @var{float} (@emph{encoding,video})
+Set temporal complexity masking.
+
+ at item scplx_mask @var{float} (@emph{encoding,video})
+Set spatial complexity masking.
+
+ at item p_mask @var{float} (@emph{encoding,video})
+Set inter masking.
+
+ at item dark_mask @var{float} (@emph{encoding,video})
+Compress dark areas stronger than medium ones.
+
+ at item idct @var{integer} (@emph{decoding/encoding,video})
+Select IDCT implementation.
+
+Possible values:
+ at table @samp
+ at item auto
+
+ at item int
+
+ at item simple
+
+ at item simplemmx
+
+ at item libmpeg2mmx
+
+ at item mmi
+
+ at item arm
+
+ at item altivec
+
+ at item sh4
+
+ at item simplearm
+
+ at item simplearmv5te
+
+ at item simplearmv6
+
+ at item simpleneon
+
+ at item simplealpha
+
+ at item h264
+
+ at item vp3
+
+ at item ipp
+
+ at item xvidmmx
+
+ at item faani
+floating point AAN IDCT
+ at end table
+
+ at item slice_count @var{integer}
+
+ at item ec @var{flags} (@emph{decoding,video})
+Set error concealment strategy.
+
+Possible values:
+ at table @samp
+ at item guess_mvs
+iterative motion vector (MV) search (slow)
+ at item deblock
+use strong deblock filter for damaged MBs
+ at end table
+
+ at item bits_per_coded_sample @var{integer}
+
+ at item pred @var{integer} (@emph{encoding,video})
+Set prediction method.
+
+Possible values:
+ at table @samp
+ at item left
+
+ at item plane
+
+ at item median
+
+ at end table
+
+ at item aspect @var{rational number} (@emph{encoding,video})
+Set sample aspect ratio.
+
+ at item debug @var{flags} (@emph{decoding/encoding,audio,video,subtitles})
+Print specific debug info.
+
+Possible values:
+ at table @samp
+ at item pict
+picture info
+ at item rc
+rate control
+ at item bitstream
+
+ at item mb_type
+macroblock (MB) type
+ at item qp
+per-block quantization parameter (QP)
+ at item mv
+motion vector
+ at item dct_coeff
+
+ at item skip
+
+ at item startcode
+
+ at item pts
+
+ at item er
+error recognition
+ at item mmco
+memory management control operations (H.264)
+ at item bugs
+
+ at item vis_qp
+visualize quantization parameter (QP), lower QP are tinted greener
+ at item vis_mb_type
+visualize block types
+ at item buffers
+picture buffer allocations
+ at item thread_ops
+threading operations
+ at end table
+
+ at item vismv @var{integer} (@emph{decoding,video})
+Visualize motion vectors (MVs).
+
+Possible values:
+ at table @samp
+ at item pf
+forward predicted MVs of P-frames
+ at item bf
+forward predicted MVs of B-frames
+ at item bb
+backward predicted MVs of B-frames
+ at end table
+
+ at item cmp @var{integer} (@emph{encoding,video})
+Set full pel me compare function.
+
+Possible values:
+ at table @samp
+ at item sad
+sum of absolute differences, fast (default)
+ at item sse
+sum of squared errors
+ at item satd
+sum of absolute Hadamard transformed differences
+ at item dct
+sum of absolute DCT transformed differences
+ at item psnr
+sum of squared quantization errors (avoid, low quality)
+ at item bit
+number of bits needed for the block
+ at item rd
+rate distortion optimal, slow
+ at item zero
+0
+ at item vsad
+sum of absolute vertical differences
+ at item vsse
+sum of squared vertical differences
+ at item nsse
+noise preserving sum of squared differences
+ at item w53
+5/3 wavelet, only used in snow
+ at item w97
+9/7 wavelet, only used in snow
+ at item dctmax
+
+ at item chroma
+
+ at end table
+
+ at item subcmp @var{integer} (@emph{encoding,video})
+Set sub pel me compare function.
+
+Possible values:
+ at table @samp
+ at item sad
+sum of absolute differences, fast (default)
+ at item sse
+sum of squared errors
+ at item satd
+sum of absolute Hadamard transformed differences
+ at item dct
+sum of absolute DCT transformed differences
+ at item psnr
+sum of squared quantization errors (avoid, low quality)
+ at item bit
+number of bits needed for the block
+ at item rd
+rate distortion optimal, slow
+ at item zero
+0
+ at item vsad
+sum of absolute vertical differences
+ at item vsse
+sum of squared vertical differences
+ at item nsse
+noise preserving sum of squared differences
+ at item w53
+5/3 wavelet, only used in snow
+ at item w97
+9/7 wavelet, only used in snow
+ at item dctmax
+
+ at item chroma
+
+ at end table
+
+ at item mbcmp @var{integer} (@emph{encoding,video})
+Set macroblock compare function.
+
+Possible values:
+ at table @samp
+ at item sad
+sum of absolute differences, fast (default)
+ at item sse
+sum of squared errors
+ at item satd
+sum of absolute Hadamard transformed differences
+ at item dct
+sum of absolute DCT transformed differences
+ at item psnr
+sum of squared quantization errors (avoid, low quality)
+ at item bit
+number of bits needed for the block
+ at item rd
+rate distortion optimal, slow
+ at item zero
+0
+ at item vsad
+sum of absolute vertical differences
+ at item vsse
+sum of squared vertical differences
+ at item nsse
+noise preserving sum of squared differences
+ at item w53
+5/3 wavelet, only used in snow
+ at item w97
+9/7 wavelet, only used in snow
+ at item dctmax
+
+ at item chroma
+
+ at end table
+
+ at item ildctcmp @var{integer} (@emph{encoding,video})
+Set interlaced dct compare function.
+
+Possible values:
+ at table @samp
+ at item sad
+sum of absolute differences, fast (default)
+ at item sse
+sum of squared errors
+ at item satd
+sum of absolute Hadamard transformed differences
+ at item dct
+sum of absolute DCT transformed differences
+ at item psnr
+sum of squared quantization errors (avoid, low quality)
+ at item bit
+number of bits needed for the block
+ at item rd
+rate distortion optimal, slow
+ at item zero
+0
+ at item vsad
+sum of absolute vertical differences
+ at item vsse
+sum of squared vertical differences
+ at item nsse
+noise preserving sum of squared differences
+ at item w53
+5/3 wavelet, only used in snow
+ at item w97
+9/7 wavelet, only used in snow
+ at item dctmax
+
+ at item chroma
+
+ at end table
+
+ at item dia_size @var{integer} (@emph{encoding,video})
+Set diamond type & size for motion estimation.
+
+ at item last_pred @var{integer} (@emph{encoding,video})
+Set amount of motion predictors from the previous frame.
+
+ at item preme @var{integer} (@emph{encoding,video})
+Set pre motion estimation.
+
+ at item precmp @var{integer} (@emph{encoding,video})
+Set pre motion estimation compare function.
+
+Possible values:
+ at table @samp
+ at item sad
+sum of absolute differences, fast (default)
+ at item sse
+sum of squared errors
+ at item satd
+sum of absolute Hadamard transformed differences
+ at item dct
+sum of absolute DCT transformed differences
+ at item psnr
+sum of squared quantization errors (avoid, low quality)
+ at item bit
+number of bits needed for the block
+ at item rd
+rate distortion optimal, slow
+ at item zero
+0
+ at item vsad
+sum of absolute vertical differences
+ at item vsse
+sum of squared vertical differences
+ at item nsse
+noise preserving sum of squared differences
+ at item w53
+5/3 wavelet, only used in snow
+ at item w97
+9/7 wavelet, only used in snow
+ at item dctmax
+
+ at item chroma
+
+ at end table
+
+ at item pre_dia_size @var{integer} (@emph{encoding,video})
+Set diamond type & size for motion estimation pre-pass.
+
+ at item subq @var{integer} (@emph{encoding,video})
+Set sub pel motion estimation quality.
+
+ at item dtg_active_format @var{integer}
+
+ at item me_range @var{integer} (@emph{encoding,video})
+Set limit motion vectors range (1023 for DivX player).
+
+ at item ibias @var{integer} (@emph{encoding,video})
+Set intra quant bias.
+
+ at item pbias @var{integer} (@emph{encoding,video})
+Set inter quant bias.
+
+ at item color_table_id @var{integer}
+
+ at item global_quality @var{integer} (@emph{encoding,audio,video})
+Set global constant quality for codecs which cannot change it per
+frame. Default value is 0.
+
+The value is expressed in lambda units, and can be converted to QP
+units using the equation @var{qp} = QP2LAMBDA * @var{lambda}, where
+QP2LAMBDA is 118.
+
+This value is honored only in case the option @option{flags +qscale}
+is set, otherwise the encoder will try to honour the compression rate
+specification set through @option{b} and related options.
+
+Note also that the exact interpretation of this parameter depends on
+the specific encoder.
+
+ at item coder @var{integer} (@emph{encoding,video})
+
+Possible values:
+ at table @samp
+ at item vlc
+variable length coder / huffman coder
+ at item ac
+arithmetic coder
+ at item raw
+raw (no encoding)
+ at item rle
+run-length coder
+ at item deflate
+deflate-based coder
+ at end table
+
+ at item context @var{integer} (@emph{encoding,video})
+Set context model.
+
+ at item slice_flags @var{integer}
+
+ at item xvmc_acceleration @var{integer}
+
+ at item mbd @var{integer} (@emph{encoding,video})
+Set macroblock decision algorithm (high quality mode).
+
+Possible values:
+ at table @samp
+ at item simple
+use mbcmp (default)
+ at item bits
+use fewest bits
+ at item rd
+use best rate distortion
+ at end table
+
+ at item stream_codec_tag @var{integer}
+
+ at item sc_threshold @var{integer} (@emph{encoding,video})
+Set scene change threshold.
+
+ at item lmin @var{integer} (@emph{encoding,video})
+Set min lagrange factor (VBR).
+
+ at item lmax @var{integer} (@emph{encoding,video})
+Set max lagrange factor (VBR).
+
+ at item nr @var{integer} (@emph{encoding,video})
+Set noise reduction.
+
+ at item rc_init_occupancy @var{integer} (@emph{encoding,video})
+Set number of bits which should be loaded into the rc buffer before
+decoding starts.
+
+ at item inter_threshold @var{integer} (@emph{encoding,video})
+
+ at item flags2 @var{flags} (@emph{decoding/encoding,audio,video})
+
+Possible values:
+ at table @samp
+ at item fast
+allow non spec compliant speedup tricks
+ at item sgop
+Deprecated, use mpegvideo private options instead
+ at item noout
+skip bitstream encoding
+ at item local_header
+place global headers at every keyframe instead of in extradata
+ at item chunks
+Frame data might be split into multiple chunks
+ at item showall
+Show all frames before the first keyframe
+ at item skiprd
+Deprecated, use mpegvideo private options instead
+ at end table
+
+ at item error @var{integer} (@emph{encoding,video})
+
+ at item qns @var{integer} (@emph{encoding,video})
+Deprecated, use mpegvideo private options instead.
+
+ at item threads @var{integer} (@emph{decoding/encoding,video})
+
+Possible values:
+ at table @samp
+ at item auto
+detect a good number of threads
+ at end table
+
+ at item me_threshold @var{integer} (@emph{encoding,video})
+Set motion estimation threshold.
+
+ at item mb_threshold @var{integer} (@emph{encoding,video})
+Set macroblock threshold.
+
+ at item dc @var{integer} (@emph{encoding,video})
+Set intra_dc_precision.
+
+ at item nssew @var{integer} (@emph{encoding,video})
+Set nsse weight.
+
+ at item skip_top @var{integer} (@emph{decoding,video})
+Set number of macroblock rows at the top which are skipped.
+
+ at item skip_bottom @var{integer} (@emph{decoding,video})
+Set number of macroblock rows at the bottom which are skipped.
+
+ at item profile @var{integer} (@emph{encoding,audio,video})
+
+Possible values:
+ at table @samp
+ at item unknown
+
+ at item aac_main
+
+ at item aac_low
+
+ at item aac_ssr
+
+ at item aac_ltp
+
+ at item aac_he
+
+ at item aac_he_v2
+
+ at item aac_ld
+
+ at item aac_eld
+
+ at item dts
+
+ at item dts_es
+
+ at item dts_96_24
+
+ at item dts_hd_hra
+
+ at item dts_hd_ma
+
+ at end table
+
+ at item level @var{integer} (@emph{encoding,audio,video})
+
+Possible values:
+ at table @samp
+ at item unknown
+
+ at end table
+
+ at item lowres @var{integer} (@emph{decoding,audio,video})
+Decode at 1= 1/2, 2=1/4, 3=1/8 resolutions.
+
+ at item skip_threshold @var{integer} (@emph{encoding,video})
+Set frame skip threshold.
+
+ at item skip_factor @var{integer} (@emph{encoding,video})
+Set frame skip factor.
+
+ at item skip_exp @var{integer} (@emph{encoding,video})
+Set frame skip exponent.
+
+ at item skipcmp @var{integer} (@emph{encoding,video})
+Set frame skip compare function.
+
+Possible values:
+ at table @samp
+ at item sad
+sum of absolute differences, fast (default)
+ at item sse
+sum of squared errors
+ at item satd
+sum of absolute Hadamard transformed differences
+ at item dct
+sum of absolute DCT transformed differences
+ at item psnr
+sum of squared quantization errors (avoid, low quality)
+ at item bit
+number of bits needed for the block
+ at item rd
+rate distortion optimal, slow
+ at item zero
+0
+ at item vsad
+sum of absolute vertical differences
+ at item vsse
+sum of squared vertical differences
+ at item nsse
+noise preserving sum of squared differences
+ at item w53
+5/3 wavelet, only used in snow
+ at item w97
+9/7 wavelet, only used in snow
+ at item dctmax
+
+ at item chroma
+
+ at end table
+
+ at item border_mask @var{float} (@emph{encoding,video})
+Increase the quantizer for macroblocks close to borders.
+
+ at item mblmin @var{integer} (@emph{encoding,video})
+Set min macroblock lagrange factor (VBR).
+
+ at item mblmax @var{integer} (@emph{encoding,video})
+Set max macroblock lagrange factor (VBR).
+
+ at item mepc @var{integer} (@emph{encoding,video})
+Set motion estimation bitrate penalty compensation (1.0 = 256).
+
+ at item skip_loop_filter @var{integer} (@emph{decoding,video})
+ at item skip_idct        @var{integer} (@emph{decoding,video})
+ at item skip_frame       @var{integer} (@emph{decoding,video})
+
+Make decoder discard processing depending on the frame type selected
+by the option value.
+
+ at option{skip_loop_filter} skips frame loop filtering, @option{skip_idct}
+skips frame IDCT/dequantization, @option{skip_frame} skips decoding.
+
+Possible values:
+ at table @samp
+ at item none
+Discard no frame.
+
+ at item default
+Discard useless frames like 0-sized frames.
+
+ at item noref
+Discard all non-reference frames.
+
+ at item bidir
+Discard all bidirectional frames.
+
+ at item nokey
+Discard all frames excepts keyframes.
+
+ at item all
+Discard all frames.
+ at end table
+
+Default value is @samp{default}.
+
+ at item bidir_refine @var{integer} (@emph{encoding,video})
+Refine the two motion vectors used in bidirectional macroblocks.
+
+ at item brd_scale @var{integer} (@emph{encoding,video})
+Downscale frames for dynamic B-frame decision.
+
+ at item keyint_min @var{integer} (@emph{encoding,video})
+Set minimum interval between IDR-frames.
+
+ at item refs @var{integer} (@emph{encoding,video})
+Set reference frames to consider for motion compensation.
+
+ at item chromaoffset @var{integer} (@emph{encoding,video})
+Set chroma qp offset from luma.
+
+ at item trellis @var{integer} (@emph{encoding,audio,video})
+Set rate-distortion optimal quantization.
+
+ at item sc_factor @var{integer} (@emph{encoding,video})
+Set value multiplied by qscale for each frame and added to
+scene_change_score.
+
+ at item mv0_threshold @var{integer} (@emph{encoding,video})
+ at item b_sensitivity @var{integer} (@emph{encoding,video})
+Adjust sensitivity of b_frame_strategy 1.
+
+ at item compression_level @var{integer} (@emph{encoding,audio,video})
+ at item min_prediction_order @var{integer} (@emph{encoding,audio})
+ at item max_prediction_order @var{integer} (@emph{encoding,audio})
+ at item timecode_frame_start @var{integer} (@emph{encoding,video})
+Set GOP timecode frame start number, in non drop frame format.
+
+ at item request_channels @var{integer} (@emph{decoding,audio})
+Set desired number of audio channels.
+
+ at item bits_per_raw_sample @var{integer}
+ at item channel_layout @var{integer} (@emph{decoding/encoding,audio})
+
+Possible values:
+ at table @samp
+ at end table
+ at item request_channel_layout @var{integer} (@emph{decoding,audio})
+
+Possible values:
+ at table @samp
+ at end table
+ at item rc_max_vbv_use @var{float} (@emph{encoding,video})
+ at item rc_min_vbv_use @var{float} (@emph{encoding,video})
+ at item ticks_per_frame @var{integer} (@emph{decoding/encoding,audio,video})
+ at item color_primaries @var{integer} (@emph{decoding/encoding,video})
+ at item color_trc @var{integer} (@emph{decoding/encoding,video})
+ at item colorspace @var{integer} (@emph{decoding/encoding,video})
+ at item color_range @var{integer} (@emph{decoding/encoding,video})
+ at item chroma_sample_location @var{integer} (@emph{decoding/encoding,video})
+
+ at item log_level_offset @var{integer}
+Set the log level offset.
+
+ at item slices @var{integer} (@emph{encoding,video})
+Number of slices, used in parallelized encoding.
+
+ at item thread_type @var{flags} (@emph{decoding/encoding,video})
+Select multithreading type.
+
+Possible values:
+ at table @samp
+ at item slice
+
+ at item frame
+
+ at end table
+ at item audio_service_type @var{integer} (@emph{encoding,audio})
+Set audio service type.
+
+Possible values:
+ at table @samp
+ at item ma
+Main Audio Service
+ at item ef
+Effects
+ at item vi
+Visually Impaired
+ at item hi
+Hearing Impaired
+ at item di
+Dialogue
+ at item co
+Commentary
+ at item em
+Emergency
+ at item vo
+Voice Over
+ at item ka
+Karaoke
+ at end table
+
+ at item request_sample_fmt @var{sample_fmt} (@emph{decoding,audio})
+Set sample format audio decoders should prefer. Default value is
+ at code{none}.
+
+ at item pkt_timebase @var{rational number}
+
+ at item sub_charenc @var{encoding} (@emph{decoding,subtitles})
+Set the input subtitles character encoding.
+ at end table
+
+ at c man end CODEC OPTIONS
+
+ at include decoders.texi
+ at include encoders.texi
diff --git a/doc/ffmpeg-codecs.texi b/doc/ffmpeg-codecs.texi
index b365e1d..6f8f5a3 100644
--- a/doc/ffmpeg-codecs.texi
+++ b/doc/ffmpeg-codecs.texi
@@ -17,1088 +17,7 @@ the libavcodec library.
 
 @c man end DESCRIPTION
 
- at chapter Codec Options
- at c man begin 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 unsensical 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 - at var{option} @var{value} in the
-FFmpeg tools, or by setting the value explicitly in the
- at code{AVCodecContext} options or using the @file{libavutil/opt.h} API
-for programmatic use.
-
-The list of supported options follow:
-
- at table @option
- at item b @var{integer} (@emph{encoding,audio,video})
-Set bitrate in bits/s. Default value is 200K.
-
- at item ab @var{integer} (@emph{encoding,audio})
-Set audio bitrate (in bits/s). Default value is 128K.
-
- at item bt @var{integer} (@emph{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.
-
- at item flags @var{flags} (@emph{decoding/encoding,audio,video,subtitles})
-Set generic flags.
-
-Possible values:
- at table @samp
- at item mv4
-Use four motion vector by macroblock (mpeg4).
- at item qpel
-Use 1/4 pel motion compensation.
- at item loop
-Use loop filter.
- at item qscale
-Use fixed qscale.
- at item gmc
-Use gmc.
- at item mv0
-Always try a mb with mv=<0,0>.
- at item input_preserved
-
- at item pass1
-Use internal 2pass ratecontrol in first pass mode.
- at item pass2
-Use internal 2pass ratecontrol in second pass mode.
- at item gray
-Only decode/encode grayscale.
- at item emu_edge
-Do not draw edges.
- at item psnr
-Set error[?] variables during encoding.
- at item truncated
-
- at item naq
-Normalize adaptive quantization.
- at item ildct
-Use interlaced DCT.
- at item low_delay
-Force low delay.
- at item global_header
-Place global headers in extradata instead of every keyframe.
- at item bitexact
-Use only bitexact stuff (except (I)DCT).
- at item aic
-Apply H263 advanced intra coding / mpeg4 ac prediction.
- at item cbp
-Deprecated, use mpegvideo private options instead.
- at item qprd
-Deprecated, use mpegvideo private options instead.
- at item ilme
-Apply interlaced motion estimation.
- at item cgop
-Use closed gop.
- at end table
-
- at item sub_id @var{integer}
-Deprecated, currently unused.
-
- at item me_method @var{integer} (@emph{encoding,video})
-Set motion estimation method.
-
-Possible values:
- at table @samp
- at item zero
-zero motion estimation (fastest)
- at item full
-full motion estimation (slowest)
- at item epzs
-EPZS motion estimation (default)
- at item esa
-esa motion estimation (alias for full)
- at item tesa
-tesa motion estimation
- at item dia
-dia motion estimation (alias for epzs)
- at item log
-log motion estimation
- at item phods
-phods motion estimation
- at item x1
-X1 motion estimation
- at item hex
-hex motion estimation
- at item umh
-umh motion estimation
- at item iter
-iter motion estimation
- at end table
-
- at item extradata_size @var{integer}
-Set extradata size.
-
- at item time_base @var{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/framerate and timestamp increments should be identically
-1.
-
- at item g @var{integer} (@emph{encoding,video})
-Set the group of picture size. Default value is 12.
-
- at item ar @var{integer} (@emph{decoding/encoding,audio})
-Set audio sampling rate (in Hz).
-
- at item ac @var{integer} (@emph{decoding/encoding,audio})
-Set number of audio channels.
-
- at item cutoff @var{integer} (@emph{encoding,audio})
-Set cutoff bandwidth.
-
- at item frame_size @var{integer} (@emph{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.
-
- at item frame_number @var{integer}
-Set the frame number.
-
- at item delay @var{integer}
-
- at item qcomp @var{float} (@emph{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.
-
- at item qblur @var{float} (@emph{encoding,video})
-Set video quantizer scale blur (VBR).
-
- at item qmin @var{integer} (@emph{encoding,video})
-Set min video quantizer scale (VBR). Must be included between -1 and
-69, default value is 2.
-
- at item qmax @var{integer} (@emph{encoding,video})
-Set max video quantizer scale (VBR). Must be included between -1 and
-1024, default value is 31.
-
- at item qdiff @var{integer} (@emph{encoding,video})
-Set max difference between the quantizer scale (VBR).
-
- at item bf @var{integer} (@emph{encoding,video})
-Set max number of B frames.
-
- at item b_qfactor @var{float} (@emph{encoding,video})
-Set qp factor between P and B frames.
-
- at item rc_strategy @var{integer} (@emph{encoding,video})
-Set ratecontrol method.
-
- at item b_strategy @var{integer} (@emph{encoding,video})
-Set strategy to choose between I/P/B-frames.
-
- at item ps @var{integer} (@emph{encoding,video})
-Set RTP payload size in bytes.
-
- at item mv_bits @var{integer}
- at item header_bits @var{integer}
- at item i_tex_bits @var{integer}
- at item p_tex_bits @var{integer}
- at item i_count @var{integer}
- at item p_count @var{integer}
- at item skip_count @var{integer}
- at item misc_bits @var{integer}
- at item frame_bits @var{integer}
- at item codec_tag @var{integer}
- at item bug @var{flags} (@emph{decoding,video})
-Workaround not auto detected encoder bugs.
-
-Possible values:
- at table @samp
- at item autodetect
-
- at item old_msmpeg4
-some old lavc generated msmpeg4v3 files (no autodetection)
- at item xvid_ilace
-Xvid interlacing bug (autodetected if fourcc==XVIX)
- at item ump4
-(autodetected if fourcc==UMP4)
- at item no_padding
-padding bug (autodetected)
- at item amv
-
- at item ac_vlc
-illegal vlc bug (autodetected per fourcc)
- at item qpel_chroma
-
- at item std_qpel
-old standard qpel (autodetected per fourcc/version)
- at item qpel_chroma2
-
- at item direct_blocksize
-direct-qpel-blocksize bug (autodetected per fourcc/version)
- at item edge
-edge padding bug (autodetected per fourcc/version)
- at item hpel_chroma
-
- at item dc_clip
-
- at item ms
-Workaround various bugs in microsoft broken decoders.
- at item trunc
-trancated frames
- at end table
-
- at item lelim @var{integer} (@emph{encoding,video})
-Set single coefficient elimination threshold for luminance (negative
-values also consider DC coefficient).
-
- at item celim @var{integer} (@emph{encoding,video})
-Set single coefficient elimination threshold for chrominance (negative
-values also consider dc coefficient)
-
- at item strict @var{integer} (@emph{decoding/encoding,audio,video})
-Specify how strictly to follow the standards.
-
-Possible values:
- at table @samp
- at item very
-strictly conform to a older more strict version of the spec or reference software
- at item strict
-strictly conform to all the things in the spec no matter what consequences
- at item normal
-
- at item unofficial
-allow unofficial extensions
- at item experimental
-allow non standardized experimental things
- at end table
-
- at item b_qoffset @var{float} (@emph{encoding,video})
-Set QP offset between P and B frames.
-
- at item err_detect @var{flags} (@emph{decoding,audio,video})
-Set error detection flags.
-
-Possible values:
- at table @samp
- at item crccheck
-verify embedded CRCs
- at item bitstream
-detect bitstream specification deviations
- at item buffer
-detect improper bitstream length
- at item explode
-abort decoding on minor error detection
- at item careful
-consider things that violate the spec and have not been seen in the wild as errors
- at item compliant
-consider all spec non compliancies as errors
- at item aggressive
-consider things that a sane encoder should not do as an error
- at end table
-
- at item has_b_frames @var{integer}
-
- at item block_align @var{integer}
-
- at item mpeg_quant @var{integer} (@emph{encoding,video})
-Use MPEG quantizers instead of H.263.
-
- at item qsquish @var{float} (@emph{encoding,video})
-How to keep quantizer between qmin and qmax (0 = clip, 1 = use
-differentiable function).
-
- at item rc_qmod_amp @var{float} (@emph{encoding,video})
-Set experimental quantizer modulation.
-
- at item rc_qmod_freq @var{integer} (@emph{encoding,video})
-Set experimental quantizer modulation.
-
- at item rc_override_count @var{integer}
-
- at item rc_eq @var{string} (@emph{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.
-
- at item maxrate @var{integer} (@emph{encoding,audio,video})
-Set max bitrate tolerance (in bits/s). Requires bufsize to be set.
-
- at item minrate @var{integer} (@emph{encoding,audio,video})
-Set min bitrate tolerance (in bits/s). Most useful in setting up a CBR
-encode. It is of little use elsewise.
-
- at item bufsize @var{integer} (@emph{encoding,audio,video})
-Set ratecontrol buffer size (in bits).
-
- at item rc_buf_aggressivity @var{float} (@emph{encoding,video})
-Currently useless.
-
- at item i_qfactor @var{float} (@emph{encoding,video})
-Set QP factor between P and I frames.
-
- at item i_qoffset @var{float} (@emph{encoding,video})
-Set QP offset between P and I frames.
-
- at item rc_init_cplx @var{float} (@emph{encoding,video})
-Set initial complexity for 1-pass encoding.
-
- at item dct @var{integer} (@emph{encoding,video})
-Set DCT algorithm.
-
-Possible values:
- at table @samp
- at item auto
-autoselect a good one (default)
- at item fastint
-fast integer
- at item int
-accurate integer
- at item mmx
-
- at item altivec
-
- at item faan
-floating point AAN DCT
- at end table
-
- at item lumi_mask @var{float} (@emph{encoding,video})
-Compress bright areas stronger than medium ones.
-
- at item tcplx_mask @var{float} (@emph{encoding,video})
-Set temporal complexity masking.
-
- at item scplx_mask @var{float} (@emph{encoding,video})
-Set spatial complexity masking.
-
- at item p_mask @var{float} (@emph{encoding,video})
-Set inter masking.
-
- at item dark_mask @var{float} (@emph{encoding,video})
-Compress dark areas stronger than medium ones.
-
- at item idct @var{integer} (@emph{decoding/encoding,video})
-Select IDCT implementation.
-
-Possible values:
- at table @samp
- at item auto
-
- at item int
-
- at item simple
-
- at item simplemmx
-
- at item libmpeg2mmx
-
- at item mmi
-
- at item arm
-
- at item altivec
-
- at item sh4
-
- at item simplearm
-
- at item simplearmv5te
-
- at item simplearmv6
-
- at item simpleneon
-
- at item simplealpha
-
- at item h264
-
- at item vp3
-
- at item ipp
-
- at item xvidmmx
-
- at item faani
-floating point AAN IDCT
- at end table
-
- at item slice_count @var{integer}
-
- at item ec @var{flags} (@emph{decoding,video})
-Set error concealment strategy.
-
-Possible values:
- at table @samp
- at item guess_mvs
-iterative motion vector (MV) search (slow)
- at item deblock
-use strong deblock filter for damaged MBs
- at end table
-
- at item bits_per_coded_sample @var{integer}
-
- at item pred @var{integer} (@emph{encoding,video})
-Set prediction method.
-
-Possible values:
- at table @samp
- at item left
-
- at item plane
-
- at item median
-
- at end table
-
- at item aspect @var{rational number} (@emph{encoding,video})
-Set sample aspect ratio.
-
- at item debug @var{flags} (@emph{decoding/encoding,audio,video,subtitles})
-Print specific debug info.
-
-Possible values:
- at table @samp
- at item pict
-picture info
- at item rc
-rate control
- at item bitstream
-
- at item mb_type
-macroblock (MB) type
- at item qp
-per-block quantization parameter (QP)
- at item mv
-motion vector
- at item dct_coeff
-
- at item skip
-
- at item startcode
-
- at item pts
-
- at item er
-error recognition
- at item mmco
-memory management control operations (H.264)
- at item bugs
-
- at item vis_qp
-visualize quantization parameter (QP), lower QP are tinted greener
- at item vis_mb_type
-visualize block types
- at item buffers
-picture buffer allocations
- at item thread_ops
-threading operations
- at end table
-
- at item vismv @var{integer} (@emph{decoding,video})
-Visualize motion vectors (MVs).
-
-Possible values:
- at table @samp
- at item pf
-forward predicted MVs of P-frames
- at item bf
-forward predicted MVs of B-frames
- at item bb
-backward predicted MVs of B-frames
- at end table
-
- at item cmp @var{integer} (@emph{encoding,video})
-Set full pel me compare function.
-
-Possible values:
- at table @samp
- at item sad
-sum of absolute differences, fast (default)
- at item sse
-sum of squared errors
- at item satd
-sum of absolute Hadamard transformed differences
- at item dct
-sum of absolute DCT transformed differences
- at item psnr
-sum of squared quantization errors (avoid, low quality)
- at item bit
-number of bits needed for the block
- at item rd
-rate distortion optimal, slow
- at item zero
-0
- at item vsad
-sum of absolute vertical differences
- at item vsse
-sum of squared vertical differences
- at item nsse
-noise preserving sum of squared differences
- at item w53
-5/3 wavelet, only used in snow
- at item w97
-9/7 wavelet, only used in snow
- at item dctmax
-
- at item chroma
-
- at end table
-
- at item subcmp @var{integer} (@emph{encoding,video})
-Set sub pel me compare function.
-
-Possible values:
- at table @samp
- at item sad
-sum of absolute differences, fast (default)
- at item sse
-sum of squared errors
- at item satd
-sum of absolute Hadamard transformed differences
- at item dct
-sum of absolute DCT transformed differences
- at item psnr
-sum of squared quantization errors (avoid, low quality)
- at item bit
-number of bits needed for the block
- at item rd
-rate distortion optimal, slow
- at item zero
-0
- at item vsad
-sum of absolute vertical differences
- at item vsse
-sum of squared vertical differences
- at item nsse
-noise preserving sum of squared differences
- at item w53
-5/3 wavelet, only used in snow
- at item w97
-9/7 wavelet, only used in snow
- at item dctmax
-
- at item chroma
-
- at end table
-
- at item mbcmp @var{integer} (@emph{encoding,video})
-Set macroblock compare function.
-
-Possible values:
- at table @samp
- at item sad
-sum of absolute differences, fast (default)
- at item sse
-sum of squared errors
- at item satd
-sum of absolute Hadamard transformed differences
- at item dct
-sum of absolute DCT transformed differences
- at item psnr
-sum of squared quantization errors (avoid, low quality)
- at item bit
-number of bits needed for the block
- at item rd
-rate distortion optimal, slow
- at item zero
-0
- at item vsad
-sum of absolute vertical differences
- at item vsse
-sum of squared vertical differences
- at item nsse
-noise preserving sum of squared differences
- at item w53
-5/3 wavelet, only used in snow
- at item w97
-9/7 wavelet, only used in snow
- at item dctmax
-
- at item chroma
-
- at end table
-
- at item ildctcmp @var{integer} (@emph{encoding,video})
-Set interlaced dct compare function.
-
-Possible values:
- at table @samp
- at item sad
-sum of absolute differences, fast (default)
- at item sse
-sum of squared errors
- at item satd
-sum of absolute Hadamard transformed differences
- at item dct
-sum of absolute DCT transformed differences
- at item psnr
-sum of squared quantization errors (avoid, low quality)
- at item bit
-number of bits needed for the block
- at item rd
-rate distortion optimal, slow
- at item zero
-0
- at item vsad
-sum of absolute vertical differences
- at item vsse
-sum of squared vertical differences
- at item nsse
-noise preserving sum of squared differences
- at item w53
-5/3 wavelet, only used in snow
- at item w97
-9/7 wavelet, only used in snow
- at item dctmax
-
- at item chroma
-
- at end table
-
- at item dia_size @var{integer} (@emph{encoding,video})
-Set diamond type & size for motion estimation.
-
- at item last_pred @var{integer} (@emph{encoding,video})
-Set amount of motion predictors from the previous frame.
-
- at item preme @var{integer} (@emph{encoding,video})
-Set pre motion estimation.
-
- at item precmp @var{integer} (@emph{encoding,video})
-Set pre motion estimation compare function.
-
-Possible values:
- at table @samp
- at item sad
-sum of absolute differences, fast (default)
- at item sse
-sum of squared errors
- at item satd
-sum of absolute Hadamard transformed differences
- at item dct
-sum of absolute DCT transformed differences
- at item psnr
-sum of squared quantization errors (avoid, low quality)
- at item bit
-number of bits needed for the block
- at item rd
-rate distortion optimal, slow
- at item zero
-0
- at item vsad
-sum of absolute vertical differences
- at item vsse
-sum of squared vertical differences
- at item nsse
-noise preserving sum of squared differences
- at item w53
-5/3 wavelet, only used in snow
- at item w97
-9/7 wavelet, only used in snow
- at item dctmax
-
- at item chroma
-
- at end table
-
- at item pre_dia_size @var{integer} (@emph{encoding,video})
-Set diamond type & size for motion estimation pre-pass.
-
- at item subq @var{integer} (@emph{encoding,video})
-Set sub pel motion estimation quality.
-
- at item dtg_active_format @var{integer}
-
- at item me_range @var{integer} (@emph{encoding,video})
-Set limit motion vectors range (1023 for DivX player).
-
- at item ibias @var{integer} (@emph{encoding,video})
-Set intra quant bias.
-
- at item pbias @var{integer} (@emph{encoding,video})
-Set inter quant bias.
-
- at item color_table_id @var{integer}
-
- at item global_quality @var{integer} (@emph{encoding,audio,video})
-Set global constant quality for codecs which cannot change it per
-frame. Default value is 0.
-
-The value is expressed in lambda units, and can be converted to QP
-units using the equation @var{qp} = QP2LAMBDA * @var{lambda}, where
-QP2LAMBDA is 118.
-
-This value is honored only in case the option @option{flags +qscale}
-is set, otherwise the encoder will try to honour the compression rate
-specification set through @option{b} and related options.
-
-Note also that the exact interpretation of this parameter depends on
-the specific encoder.
-
- at item coder @var{integer} (@emph{encoding,video})
-
-Possible values:
- at table @samp
- at item vlc
-variable length coder / huffman coder
- at item ac
-arithmetic coder
- at item raw
-raw (no encoding)
- at item rle
-run-length coder
- at item deflate
-deflate-based coder
- at end table
-
- at item context @var{integer} (@emph{encoding,video})
-Set context model.
-
- at item slice_flags @var{integer}
-
- at item xvmc_acceleration @var{integer}
-
- at item mbd @var{integer} (@emph{encoding,video})
-Set macroblock decision algorithm (high quality mode).
-
-Possible values:
- at table @samp
- at item simple
-use mbcmp (default)
- at item bits
-use fewest bits
- at item rd
-use best rate distortion
- at end table
-
- at item stream_codec_tag @var{integer}
-
- at item sc_threshold @var{integer} (@emph{encoding,video})
-Set scene change threshold.
-
- at item lmin @var{integer} (@emph{encoding,video})
-Set min lagrange factor (VBR).
-
- at item lmax @var{integer} (@emph{encoding,video})
-Set max lagrange factor (VBR).
-
- at item nr @var{integer} (@emph{encoding,video})
-Set noise reduction.
-
- at item rc_init_occupancy @var{integer} (@emph{encoding,video})
-Set number of bits which should be loaded into the rc buffer before
-decoding starts.
-
- at item inter_threshold @var{integer} (@emph{encoding,video})
-
- at item flags2 @var{flags} (@emph{decoding/encoding,audio,video})
-
-Possible values:
- at table @samp
- at item fast
-allow non spec compliant speedup tricks
- at item sgop
-Deprecated, use mpegvideo private options instead
- at item noout
-skip bitstream encoding
- at item local_header
-place global headers at every keyframe instead of in extradata
- at item chunks
-Frame data might be split into multiple chunks
- at item showall
-Show all frames before the first keyframe
- at item skiprd
-Deprecated, use mpegvideo private options instead
- at end table
-
- at item error @var{integer} (@emph{encoding,video})
-
- at item qns @var{integer} (@emph{encoding,video})
-Deprecated, use mpegvideo private options instead.
-
- at item threads @var{integer} (@emph{decoding/encoding,video})
-
-Possible values:
- at table @samp
- at item auto
-detect a good number of threads
- at end table
-
- at item me_threshold @var{integer} (@emph{encoding,video})
-Set motion estimation threshold.
-
- at item mb_threshold @var{integer} (@emph{encoding,video})
-Set macroblock threshold.
-
- at item dc @var{integer} (@emph{encoding,video})
-Set intra_dc_precision.
-
- at item nssew @var{integer} (@emph{encoding,video})
-Set nsse weight.
-
- at item skip_top @var{integer} (@emph{decoding,video})
-Set number of macroblock rows at the top which are skipped.
-
- at item skip_bottom @var{integer} (@emph{decoding,video})
-Set number of macroblock rows at the bottom which are skipped.
-
- at item profile @var{integer} (@emph{encoding,audio,video})
-
-Possible values:
- at table @samp
- at item unknown
-
- at item aac_main
-
- at item aac_low
-
- at item aac_ssr
-
- at item aac_ltp
-
- at item aac_he
-
- at item aac_he_v2
-
- at item aac_ld
-
- at item aac_eld
-
- at item dts
-
- at item dts_es
-
- at item dts_96_24
-
- at item dts_hd_hra
-
- at item dts_hd_ma
-
- at end table
-
- at item level @var{integer} (@emph{encoding,audio,video})
-
-Possible values:
- at table @samp
- at item unknown
-
- at end table
-
- at item lowres @var{integer} (@emph{decoding,audio,video})
-Decode at 1= 1/2, 2=1/4, 3=1/8 resolutions.
-
- at item skip_threshold @var{integer} (@emph{encoding,video})
-Set frame skip threshold.
-
- at item skip_factor @var{integer} (@emph{encoding,video})
-Set frame skip factor.
-
- at item skip_exp @var{integer} (@emph{encoding,video})
-Set frame skip exponent.
-
- at item skipcmp @var{integer} (@emph{encoding,video})
-Set frame skip compare function.
-
-Possible values:
- at table @samp
- at item sad
-sum of absolute differences, fast (default)
- at item sse
-sum of squared errors
- at item satd
-sum of absolute Hadamard transformed differences
- at item dct
-sum of absolute DCT transformed differences
- at item psnr
-sum of squared quantization errors (avoid, low quality)
- at item bit
-number of bits needed for the block
- at item rd
-rate distortion optimal, slow
- at item zero
-0
- at item vsad
-sum of absolute vertical differences
- at item vsse
-sum of squared vertical differences
- at item nsse
-noise preserving sum of squared differences
- at item w53
-5/3 wavelet, only used in snow
- at item w97
-9/7 wavelet, only used in snow
- at item dctmax
-
- at item chroma
-
- at end table
-
- at item border_mask @var{float} (@emph{encoding,video})
-Increase the quantizer for macroblocks close to borders.
-
- at item mblmin @var{integer} (@emph{encoding,video})
-Set min macroblock lagrange factor (VBR).
-
- at item mblmax @var{integer} (@emph{encoding,video})
-Set max macroblock lagrange factor (VBR).
-
- at item mepc @var{integer} (@emph{encoding,video})
-Set motion estimation bitrate penalty compensation (1.0 = 256).
-
- at item skip_loop_filter @var{integer} (@emph{decoding,video})
- at item skip_idct        @var{integer} (@emph{decoding,video})
- at item skip_frame       @var{integer} (@emph{decoding,video})
-
-Make decoder discard processing depending on the frame type selected
-by the option value.
-
- at option{skip_loop_filter} skips frame loop filtering, @option{skip_idct}
-skips frame IDCT/dequantization, @option{skip_frame} skips decoding.
-
-Possible values:
- at table @samp
- at item none
-Discard no frame.
-
- at item default
-Discard useless frames like 0-sized frames.
-
- at item noref
-Discard all non-reference frames.
-
- at item bidir
-Discard all bidirectional frames.
-
- at item nokey
-Discard all frames excepts keyframes.
-
- at item all
-Discard all frames.
- at end table
-
-Default value is @samp{default}.
-
- at item bidir_refine @var{integer} (@emph{encoding,video})
-Refine the two motion vectors used in bidirectional macroblocks.
-
- at item brd_scale @var{integer} (@emph{encoding,video})
-Downscale frames for dynamic B-frame decision.
-
- at item keyint_min @var{integer} (@emph{encoding,video})
-Set minimum interval between IDR-frames.
-
- at item refs @var{integer} (@emph{encoding,video})
-Set reference frames to consider for motion compensation.
-
- at item chromaoffset @var{integer} (@emph{encoding,video})
-Set chroma qp offset from luma.
-
- at item trellis @var{integer} (@emph{encoding,audio,video})
-Set rate-distortion optimal quantization.
-
- at item sc_factor @var{integer} (@emph{encoding,video})
-Set value multiplied by qscale for each frame and added to
-scene_change_score.
-
- at item mv0_threshold @var{integer} (@emph{encoding,video})
- at item b_sensitivity @var{integer} (@emph{encoding,video})
-Adjust sensitivity of b_frame_strategy 1.
-
- at item compression_level @var{integer} (@emph{encoding,audio,video})
- at item min_prediction_order @var{integer} (@emph{encoding,audio})
- at item max_prediction_order @var{integer} (@emph{encoding,audio})
- at item timecode_frame_start @var{integer} (@emph{encoding,video})
-Set GOP timecode frame start number, in non drop frame format.
-
- at item request_channels @var{integer} (@emph{decoding,audio})
-Set desired number of audio channels.
-
- at item bits_per_raw_sample @var{integer}
- at item channel_layout @var{integer} (@emph{decoding/encoding,audio})
-
-Possible values:
- at table @samp
- at end table
- at item request_channel_layout @var{integer} (@emph{decoding,audio})
-
-Possible values:
- at table @samp
- at end table
- at item rc_max_vbv_use @var{float} (@emph{encoding,video})
- at item rc_min_vbv_use @var{float} (@emph{encoding,video})
- at item ticks_per_frame @var{integer} (@emph{decoding/encoding,audio,video})
- at item color_primaries @var{integer} (@emph{decoding/encoding,video})
- at item color_trc @var{integer} (@emph{decoding/encoding,video})
- at item colorspace @var{integer} (@emph{decoding/encoding,video})
- at item color_range @var{integer} (@emph{decoding/encoding,video})
- at item chroma_sample_location @var{integer} (@emph{decoding/encoding,video})
-
- at item log_level_offset @var{integer}
-Set the log level offset.
-
- at item slices @var{integer} (@emph{encoding,video})
-Number of slices, used in parallelized encoding.
-
- at item thread_type @var{flags} (@emph{decoding/encoding,video})
-Select multithreading type.
-
-Possible values:
- at table @samp
- at item slice
-
- at item frame
-
- at end table
- at item audio_service_type @var{integer} (@emph{encoding,audio})
-Set audio service type.
-
-Possible values:
- at table @samp
- at item ma
-Main Audio Service
- at item ef
-Effects
- at item vi
-Visually Impaired
- at item hi
-Hearing Impaired
- at item di
-Dialogue
- at item co
-Commentary
- at item em
-Emergency
- at item vo
-Voice Over
- at item ka
-Karaoke
- at end table
-
- at item request_sample_fmt @var{sample_fmt} (@emph{decoding,audio})
-Set sample format audio decoders should prefer. Default value is
- at code{none}.
-
- at item pkt_timebase @var{rational number}
-
- at item sub_charenc @var{encoding} (@emph{decoding,subtitles})
-Set the input subtitles character encoding.
- at end table
-
- at c man end CODEC OPTIONS
-
- at include decoders.texi
- at include encoders.texi
+ at include codecs.texi
 
 @chapter See Also
 
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list