
When you configure your FFmpeg build, all the supported nativeĭecoders are enabled by default. Also hardware decoders will not applyĭecoders are configured elements in FFmpeg which allow the Note: The required alignment depends on ifĬhanged from the command line. If the alignment is not met theĬropping will be partially applied to maintain alignment. apply_cropping bool ( decoding,video ) Enable cropping if cropping parameters are multiples of the requiredĪlignment for the left and top parameters. Max_pixels integer ( decoding/encoding,video ) Maximum number of pixels per image. For example, to separate the fields with newlines dump_separator string ( input ) Separator used to separate the fields printed on the command line about codec_whitelist list ( input ) "," separated list of allowed decoders. Gray flag in the flags option which skips chroma information Skip_alpha bool ( decoding,video ) Set to 1 to disable processing alpha (transparency). codec_tag integer bug flags ( decoding,video ) Workaround not auto detected encoder bugs. b_qfactor float ( encoding,video ) Set qp factor between P and B frames. If a value of -1 is used, it will choose an automaticĭefault value is 0. bf integer ( encoding,video ) Set max number of B frames between non-B-frames. qdiff integer ( encoding,video ) Set max difference between the quantizer scale (VBR). Must be included between -,ĭefault value is 31. qmax integer ( encoding,video ) Set max video quantizer scale (VBR). Must be included between -1 and 69,ĭefault value is 2. qmin integer ( encoding,video ) Set min video quantizer scale (VBR). qblur float ( encoding,video ) Set video quantizer scale blur (VBR). Recommended range for default rc_eq:Ġ.0-1.0. delay integer qcomp float ( encoding,video ) Set video quantizer scale compression (VBR). frame_number integer Set the frame number. It is set by some decoders to indicate constant frame May be 0 when the codec hasĬODEC_CAP_VARIABLE_FRAME_SIZE set, in that case the frame size is not Respective documentation sections.) frame_size integer ( encoding,audio ) Set audio frame size.Įach submitted frame except the last must contain exactlyįrame_size samples per channel.

(Supported only by selected encoders, see their cutoff integer ( encoding,audio ) Set cutoff bandwidth. ac integer ( decoding/encoding,audio ) Set number of audio channels. ar integer ( decoding/encoding,audio ) Set audio sampling rate (in Hz). g integer ( encoding,video ) Set the group of picture (GOP) size. Timestamp increments should be identically 1. It is the fundamental unit of time (in seconds) in terms of Time_base rational number Set codec time base. output_corrupt Output even potentially corrupted frames. aic Apply H263 advanced intra coding / mpeg4 ac prediction. Its primary use is for regression testing. This ensures that file and data checksums are reproducible and matchīetween platforms. bitexact Only write platform-, build- and time-independent data. global_header Place global headers in extradata instead of every keyframe. Error AVERROR_INPUT_CHANGED is returned when a frame isĭropped. drop_changed Don't output frames whose parameters differ from first decoded frame in truncated Input bitstream might be randomly truncated. psnr Set error variables during encoding. pass2 Use internal 2pass ratecontrol in second pass mode. pass1 Use internal 2pass ratecontrol in first pass mode. Mv4 Use four motion vector by macroblock (mpeg4). flags flags ( decoding/encoding,audio,video,subtitles ) Set generic flags.

Tolerance too much has an adverse effect on quality. Specifies how far ratecontrol is willing to deviate from the targetĪverage bitrate value. bt integer ( encoding,video ) Set video bitrate tolerance (in bits/s).


ab integer ( encoding,audio ) Set audio bitrate (in bits/s). The list of supported options follow: b integer ( encoding,audio,video ) Set bitrate in bits/s. Libavutil/opt.h API for programmatic use. The FFmpeg tools, or by setting the value explicitly in the Options may be set by specifying - option value in Sometimes, a global option may only affect a specific kind ofĬodec, and may be nonsensical or ignored by another, so you need to be aware So-called private options, which are specific for a given codec. Libavcodec provides some generic global options, which can be set This document describes the codecs (decoders and encoders) Ffmpeg-codecs - FFmpeg codecs DESCRIPTION ¶
