29 Indent Options
The video supports some of the following options.
Options can be used in the FFmpeg tool set-option value
Format, or in thearesample
In the filter tooption=value
Form settings, or you can use thelibavutil/opt.h
The API or explicitly set theSwrContext
option.
Sws_flags
Sets the indent flag. Also used to set the scaling algorithm, only one algorithm can be selected.
Accept the following values:
' Fast_bilinear '
Fast bilinear scaling algorithm
' Bilinear '
Bilinear scaling algorithm
' Bicubic '
A three-time scaling algorithm.
' Experimental '
Experimental scaling algorithm.
' Neighbor '
Nearest Neighbor sampling scaling algorithm
' Area '
Average regional scale scaling algorithm.
' Bicublin '
The dual-linear scaling algorithm is adopted for the luminance using a double three-time scaling algorithm.
' Gauss '
Gaussian scaling algorithm
' Sinc '
Singh Scaling algorithm
' Lanczos '
Lanczos chunking Scaling algorithm
' Spline '
Spline interpolation scaling algorithm with natural double three times
' Print_info '
Allow output/debug logs
' Accurate_rnd '
Allow Precision rounding
' Full_chroma_int '
Allows for full chroma interpolation
' Full_chroma_inp '
Select the full concentration input
' Bitexact '
Allow Bitexact (bit-accurate algorithm) output
Srcw
Set Source width
Srch
Set source Height
Dstw
Set the target width
Dsth
Set Target height
Src_format
Sets the source pixel format (must be represented as an integer).
Dst_format
Sets the destination pixel format (must be represented as an integer).
Src_range
Select Source Area Range
Dst_range
Select target Area Range
Param0, param1
Sets the scaling algorithm parameters. The specified value is applicable to a particular scaling algorithm and may be ignored by other algorithms. Value is floating point number
Sws_dither
Sets the jitter algorithm. Receive the following value, default to ' auto '.
' Auto '
Automatic selection
' None '
No jitter
' Bayer '
Bayer Jitter
' Ed '
Error diffusion (Error diffusion) jitter
' A_dither '
Arithmetic (arithmetic) jitter, based on addition
' X_dither '
Arithmetic (arithmetic) jitter, based on XOR, (XOR) ( a_dither
more randomness/less patterning).
FFmpeg document 29-indent options