Skip to content

Instantly share code, notes, and snippets.

@nico-lab
Last active June 20, 2023 13:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nico-lab/0b2895020d494b4e5ab7f426f278e90e to your computer and use it in GitHub Desktop.
Save nico-lab/0b2895020d494b4e5ab7f426f278e90e to your computer and use it in GitHub Desktop.
ffmpeg -h encoder=libaom-av1
Encoder libaom-av1 [libaom AV1]:
General capabilities: dr1 delay threads
Threading capabilities: other
Supported pixel formats: yuv420p yuv422p yuv444p gbrp yuv420p10le yuv422p10le yuv444p10le yuv420p12le yuv422p12le yuv444p12le gbrp10le gbrp12le gray gray10le gray12le
libaom-av1 encoder AVOptions:
-cpu-used <int> E..V....... Quality/Speed ratio modifier (from 0 to 8) (default 1)
-auto-alt-ref <int> E..V....... Enable use of alternate reference frames (2-pass only) (from -1 to 2) (default -1)
-lag-in-frames <int> E..V....... Number of frames to look ahead at for alternate reference frame selection (from -1 to INT_MAX) (default -1)
-arnr-max-frames <int> E..V....... altref noise reduction max frame count (from -1 to INT_MAX) (default -1)
-arnr-strength <int> E..V....... altref noise reduction filter strength (from -1 to 6) (default -1)
-aq-mode <int> E..V....... adaptive quantization mode (from -1 to 4) (default -1)
none 0 E..V....... Aq not used
variance 1 E..V....... Variance based Aq
complexity 2 E..V....... Complexity based Aq
cyclic 3 E..V....... Cyclic Refresh Aq
-error-resilience <flags> E..V....... Error resilience configuration (default 0)
default E..V....... Improve resiliency against losses of whole frames
-crf <int> E..V....... Select the quality for constant quality mode (from -1 to 63) (default -1)
-static-thresh <int> E..V....... A change threshold on blocks below which they will be skipped by the encoder (from 0 to INT_MAX) (default 0)
-drop-threshold <int> E..V....... Frame drop threshold (from INT_MIN to INT_MAX) (default 0)
-denoise-noise-level <int> E..V....... Amount of noise to be removed (from -1 to INT_MAX) (default -1)
-denoise-block-size <int> E..V....... Denoise block size (from -1 to INT_MAX) (default -1)
-undershoot-pct <int> E..V....... Datarate undershoot (min) target (%) (from -1 to 100) (default -1)
-overshoot-pct <int> E..V....... Datarate overshoot (max) target (%) (from -1 to 1000) (default -1)
-minsection-pct <int> E..V....... GOP min bitrate (% of target) (from -1 to 100) (default -1)
-maxsection-pct <int> E..V....... GOP max bitrate (% of target) (from -1 to 5000) (default -1)
-frame-parallel <boolean> E..V....... Enable frame parallel decodability features (default auto)
-tiles <image_size> E..V....... Tile columns x rows
-tile-columns <int> E..V....... Log2 of number of tile columns to use (from -1 to 6) (default -1)
-tile-rows <int> E..V....... Log2 of number of tile rows to use (from -1 to 6) (default -1)
-row-mt <boolean> E..V....... Enable row based multi-threading (default auto)
-enable-cdef <boolean> E..V....... Enable CDEF filtering (default auto)
-enable-global-motion <boolean> E..V....... Enable global motion (default auto)
-enable-intrabc <boolean> E..V....... Enable intra block copy prediction mode (default auto)
-enable-restoration <boolean> E..V....... Enable Loop Restoration filtering (default auto)
-usage <int> E..V....... Quality and compression efficiency vs speed trade-off (from 0 to INT_MAX) (default good)
good 0 E..V....... Good quality
realtime 1 E..V....... Realtime encoding
allintra 2 E..V....... All Intra encoding
-tune <int> E..V....... The metric that the encoder tunes for. Automatically chosen by the encoder by default (from -1 to 1) (default -1)
psnr 0 E..V.......
ssim 1 E..V.......
-still-picture <boolean> E..V....... Encode in single frame mode (typically used for still AVIF images). (default false)
-enable-rect-partitions <boolean> E..V....... Enable rectangular partitions (default auto)
-enable-1to4-partitions <boolean> E..V....... Enable 1:4/4:1 partitions (default auto)
-enable-ab-partitions <boolean> E..V....... Enable ab shape partitions (default auto)
-enable-angle-delta <boolean> E..V....... Enable angle delta intra prediction (default auto)
-enable-cfl-intra <boolean> E..V....... Enable chroma predicted from luma intra prediction (default auto)
-enable-filter-intra <boolean> E..V....... Enable filter intra predictor (default auto)
-enable-intra-edge-filter <boolean> E..V....... Enable intra edge filter (default auto)
-enable-smooth-intra <boolean> E..V....... Enable smooth intra prediction mode (default auto)
-enable-paeth-intra <boolean> E..V....... Enable paeth predictor in intra prediction (default auto)
-enable-palette <boolean> E..V....... Enable palette prediction mode (default auto)
-enable-flip-idtx <boolean> E..V....... Enable extended transform type (default auto)
-enable-tx64 <boolean> E..V....... Enable 64-pt transform (default auto)
-reduced-tx-type-set <boolean> E..V....... Use reduced set of transform types (default auto)
-use-intra-dct-only <boolean> E..V....... Use DCT only for INTRA modes (default auto)
-use-inter-dct-only <boolean> E..V....... Use DCT only for INTER modes (default auto)
-use-intra-default-tx-only <boolean> E..V....... Use default-transform only for INTRA modes (default auto)
-enable-ref-frame-mvs <boolean> E..V....... Enable temporal mv prediction (default auto)
-enable-reduced-reference-set <boolean> E..V....... Use reduced set of single and compound references (default auto)
-enable-obmc <boolean> E..V....... Enable obmc (default auto)
-enable-dual-filter <boolean> E..V....... Enable dual filter (default auto)
-enable-diff-wtd-comp <boolean> E..V....... Enable difference-weighted compound (default auto)
-enable-dist-wtd-comp <boolean> E..V....... Enable distance-weighted compound (default auto)
-enable-onesided-comp <boolean> E..V....... Enable one sided compound (default auto)
-enable-interinter-wedge <boolean> E..V....... Enable interinter wedge compound (default auto)
-enable-interintra-wedge <boolean> E..V....... Enable interintra wedge compound (default auto)
-enable-masked-comp <boolean> E..V....... Enable masked compound (default auto)
-enable-interintra-comp <boolean> E..V....... Enable interintra compound (default auto)
-enable-smooth-interintra <boolean> E..V....... Enable smooth interintra mode (default auto)
-aom-params <dictionary> E..V....... Set libaom options using a :-separated list of key=value pairs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment