{"id":28921546,"url":"https://github.com/link-u/cavif","last_synced_at":"2025-07-24T16:40:27.012Z","repository":{"id":37002816,"uuid":"230264569","full_name":"link-u/cavif","owner":"link-u","description":"avif encoder, using libaom directly.","archived":false,"fork":false,"pushed_at":"2023-06-06T13:05:13.000Z","size":434,"stargazers_count":109,"open_issues_count":21,"forks_count":19,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-09-05T07:07:23.669Z","etag":null,"topics":["av1","av1-image","avif","avif-encoder","cpp","image-encoder","libaom"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/link-u.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-12-26T12:58:03.000Z","updated_at":"2024-08-08T00:33:17.000Z","dependencies_parsed_at":"2023-02-12T17:16:07.185Z","dependency_job_id":null,"html_url":"https://github.com/link-u/cavif","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/link-u/cavif","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/link-u%2Fcavif","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/link-u%2Fcavif/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/link-u%2Fcavif/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/link-u%2Fcavif/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/link-u","download_url":"https://codeload.github.com/link-u/cavif/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/link-u%2Fcavif/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261250277,"owners_count":23130542,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["av1","av1-image","avif","avif-encoder","cpp","image-encoder","libaom"],"created_at":"2025-06-22T07:06:57.545Z","updated_at":"2025-07-24T16:40:26.997Z","avatar_url":"https://github.com/link-u.png","language":"C++","readme":"# cavif\n\n**Sorry, this repository is no longer maintained due to the retirement of the main maintainer. After some time, this repository will be archived.**\n\n**Ther source is currently maitained on avif-community by the maintaier. It's not a official community of AVIF codec. We take no resposibility the name of the community.**\n\n**This repository will be removed after 2023-01-31 to resolve the confusing situation.**\n\n|         | Status |\n|--|---|\n| Linux | [![Build on Linux](https://github.com/link-u/cavif/workflows/Build%20on%20Linux/badge.svg) ](https://github.com/link-u/cavif/actions?query=workflow%3A%22Build+on+Linux%22) |\n| Linux(.deb) | [![Build debian packages](https://github.com/link-u/cavif/workflows/Build%20debian%20packages/badge.svg)](https://github.com/link-u/cavif/actions?query=workflow%3A%22Build+debian+packages%22) |\n| macOS | [![Build on macOS](https://github.com/link-u/cavif/workflows/Build%20on%20macOS/badge.svg)](https://github.com/link-u/cavif/actions?query=workflow%3A%22Build+on+macOS%22) |\n| Windows | [![Build on Windows](https://github.com/link-u/cavif/workflows/Build%20on%20Windows/badge.svg)](https://github.com/link-u/cavif/actions?query=workflow%3A%22Build+on+Windows%22) |\n\n## Description (en)\n\navif encoder, using [libaom](https://aomedia.googlesource.com/aom/) directly.\n\n[avif (AV1 Image File Format)](https://aomediacodec.github.io/av1-avif/) is a still picture format uses a keyframe of [AV1](https://aomediacodec.github.io/av1-spec/av1-spec.pdf).\n\nThe most significant mission of this project is \"**Make it enable to tune libaom's all encoding options to optimize quality/size ratio as nice as possible human beings can**\".\n\n## Description (ja)\n\n[AVIF(AV1 Image File Format)]((https://aomediacodec.github.io/av1-avif/))は、動画フォーマットである[AV1](https://aomediacodec.github.io/av1-spec/av1-spec.pdf)のキーフレームを流用して圧縮する静止画フォーマットです。\n\ncavifは、ラッパーを介さず [libaom](https://aomedia.googlesource.com/aom/) を直接叩くavifのエンコーディング・コマンドです。このプロジェクトの唯一にして最大の使命は、 **libaomの静止画に関する全エンコードオプションを仔細に操作できるようにして、現生人類が現時点で達成可能な最高の圧縮効率を実現する手段を提供すること** です。\n\n[日本語の詳しいドキュメントはこちら](./doc/ja_JP/README.md)。\n\n# How to build\n\n## Pre-requirements\n\n### cmake \u003e= 3.13\n\nIf your system cmake is lower than 3.13, please install the latest version:\n\nTo install:\n\n- Ubuntu/Debian\n  - See https://apt.kitware.com/\n- Windows\n  - [Download | CMake](https://cmake.org/download/)\n  - [mingw-w64-cmake - MSYS2 Packages](https://packages.msys2.org/base/mingw-w64-cmake)\n- mac OS\n  - `brew install cmake`\n\n### latest version of meson and ninja\n\nmeson and ninja are required to build libvmaf.\n\nPlease see: https://mesonbuild.com/Quick-guide.html\n\nOr another method: You can use python's venv to install. [See our CI about details](https://github.com/link-u/cavif/blob/master/.github/workflows/build-on-linux.yml).\n\n## Build steps\n\n```bash\n# cloning this repository with dependencies.\ngit clone --recurse-submodules --recursive https://github.com/link-u/cavif\n\ncd cavif\n\n# Apply workarounds\nbash scripts/apply-patches.sh\n\n# Build dependencies not managed by CMake.\nbash scripts/build-deps.sh\n\n# Make build directory\nmkdir build \u0026\u0026 cd build\n\n# If your system gcc is 8.0 or higher:\ncmake -G 'Ninja' ..\n\n# If not, please install gcc-8 (or higher) and tell them to CMake.\nCXX=g++-8 CC=gcc-8 cmake -G 'Ninja' ..\n\n# build and get cavif binary!\nninja\n```\n\n# Usage\n\n## basic usage\n\n```bash\ncavif -i \u003cinput.png\u003e -o \u003coutput.avif\u003e\n```\n\nExample avif files are available in [AOMediaCodec/av1-avif](https://github.com/AOMediaCodec/av1-avif/tree/master/testFiles) or [link-u/avif-sample-images](https://github.com/link-u/avif-sample-images).\n\n(Currently, detailed documentation is only in [Japanese](./doc/ja_JP/README.md))\n\n## basic usage (alpha)\n\nYou have to encode alpha plane separately(Of course, it's to achieve best image quality!).\n\n```bash\ncavif -i \u003cinput.png\u003e -o \u003coutput-alpha.avif\u003e --encode-target alpha --monochrome\ncavif -i \u003cinput.png\u003e -o \u003coutput.avif\u003e --encode-target image --attach-alpha \u003coutput-alpha.avif\u003e\n```\n\n## SYNOPSIS\n\n```\n[2022/03/26 11:57:21 INFO ] cavif\n[2022/03/26 11:57:21 INFO ] libaom ver: 3.3.0\n[2022/03/26 11:57:21 INFO ] libpng ver:1.6.38.git\nSYNOPSIS\n        cavif -i \u003cinput.png\u003e -o \u003coutput.avif\u003e [--attach-alpha \u003cinput-alpha.avif\u003e] [--attach-depth\n              \u003cinput-depth.avif\u003e] [--encode-target [image|alpha]] [--show-result] [--rotation\n              [0|90|180|270]] [--mirror [vertical|horizontal]] [--crop-size \u003cwidth,height\u003e]\n              [--crop-offset \u003chorizontalOffset,verticalOffset\u003e] [--full-still-picture-header]\n              [--color-primaries (\u003cValue defined in\n              H.273\u003e|bt709|sRGB|sYCC|unspecified|bt470m|bt470bg|bt601|ntsc|smpte240m|generic-film|bt2020|bt2100|smpte428|xyz|smpte431|smpte432|22)]\n              [--transfer-characteristics (\u003cValue defined in\n              H.273\u003e|bt709|unspecified|bt470m|bt470bg|bt601|ntsc|smpte240m|linear|log100|log100sqrt10|iec61966|bt1361|sRGB|sYCC|bt2020|bt2020-10bit|bt2020-12bit|smpte2084|bt2100pq|smpte428|bt2100hlg|arib-b67)]\n              [--matrix-coefficients (\u003cValue defined in\n              H.273\u003e|bt709|sRGB|unspecified|us-fcc|bt470bg|sYCC|bt601|ntsc|smpte240m|bt2020)]\n              [--horizontal-scale-mode [1/1|1/2|3/5|4/5|1/4|3/4|1/8]] [--vertical-scale-mode\n              [1/1|1/2|3/5|4/5|1/4|3/4|1/8]] [--resize-mode [none|fixed|random]]\n              [--resize-denominator_ \u003c[8-16], default=8\u003e] [--superres-mode\n              [none|fixed|random|qthresh|auto]] [--superres-denominator_ \u003c[8-16], default=8\u003e]\n              [--superres-qthresh \u003c[0-63], default=63 (Do not apply superres filter)\u003e]\n              [--render-width \u003c\u003crender-width\u003e\u003e] [--render-height \u003c\u003crender-height\u003e\u003e] [--profile\n              \u003c0=base(default), 1=high, 2=professional\u003e] [--pix-fmt [yuv420|yuv422|yuv444]]\n              [--bit-depth [8|10|12]] [--disable-full-color-range] [--enable-full-color-range]\n              [--encoder-usage [good|realtime]] [--threads \u003cNum of threads to use (default=num of\n              logical cores)\u003e] [--enable-row-mt] [--disable-row-mt] [--cpu-used \u003c0-9, default=1.\n              Higher means slower encoding and better quality\u003e] [--rate-control [cbr|q|cq]]\n              [--bit-rate \u003ckilo-bits per frame(default=0)\u003e] [--crf \u003c0-63(default=10)\u003e] [--qmin\n              \u003c0-63(default=0)\u003e] [--qmax \u003c0-63(default=63)\u003e] [--adaptive-quantization\n              [none|variance|complexity|cyclic]] [--enable-adaptive-quantization-b]\n              [--disable-adaptive-quantization-b] [--delta-q [none|objective|perceptual]]\n              [--delta-q-strength] [--enable-chroma-delta-q] [--disable-chroma-delta-q]\n              [--enable-loop-filter] [--disable-loop-filter] [--enable-delta-lf]\n              [--disable-delta-lf] [--use-qm] [--qm-min \u003c0-15 (default: 5)\u003e] [--qm-max \u003c0-15\n              (default: 9)\u003e] [--qm-min-y \u003c0-15 (default: 10)\u003e] [--qm-min-u \u003c0-15 (default: 11)\u003e]\n              [--qm-min-v \u003c0-15 (default: 12)\u003e] [--tune\n              [ssim|psnr|vmaf-with-preprocessing|vmaf-without-preprocessing|vmaf-max-gain|vmaf-neg-max-gain]]\n              [--content-type [default|screen|film]] [--vmaf-model-path \u003c\u003cpath-to-vmaf-model-file\u003e\u003e]\n              [--lossless] [--monochrome] [--sharpness \u003c0-7\u003e] [--disable-cdef] [--enable-cdef]\n              [--disable-loop-restoration] [--enable-loop-restoration] [--superblock-size\n              [dynamic|128|64]] [--tile-rows \u003c0-6\u003e] [--tile-columns \u003c0-6\u003e]\n              [--keyframe-temporal-filter [disable|without-overlay|with-overlay]]\n              [--enable-rect-partitions] [--disable-rect-partitions] [--enable-ab-partitions]\n              [--disable-ab-partitions] [--disable-1to4-partitions] [--enable-1to4-partitions]\n              [--enable-intra-edge-filter] [--disable-intra-edge-filter] [--min-partition-size\n              [4|8|16|32|64|128]] [--max-partition-size [4|8|16|32|64|128]] [--enable-tx64]\n              [--disable-tx64] [--enable-flip-idtx] [--disable-flip-idtx] [--enable-rect-tx]\n              [--disable-rect-tx] [--use-dct-only] [--use-default-tx-only] [--use-reduced-tx-set]\n              [--enable-filter-intra] [--disable-filter-intra] [--enable-smooth-intra]\n              [--disable-smooth-intra] [--enable-paeth-intra] [--disable-paeth-intra]\n              [--enable-chroma-from-luma] [--disable-chroma-from-luma] [--enable-superres]\n              [--disable-superres] [--enable-palette] [--disable-palette] [--enable-intrabc]\n              [--disable-intrabc] [--enable-angle-delta] [--disable-angle-delta]\n              [--enable-diagonal-intra] [--disable-diagonal-intra] [--enable-directional-intra]\n              [--disable-directional-intra] [--enable-tx-size-search] [--disable-tx-size-search]\n\n        cavif -h\n\nOPTIONS\n        -i, --input Filename to input\n        -o, --output\n                    Filename to output\n\n        --attach-alpha\n                    Attach alpha plane\n\n        --attach-depth\n                    Attach depth plane\n\n        --encode-target\n                    Encode target\n\n        image       Encode image planes (default)\n        alpha       Encode an alpha plane\n        --show-result\n                    Show encoding result\n\n        --rotation  Set rotation meta data(irot). Counter-clockwise.\n        --mirror    Set mirror meta data(imir).\n        --crop-size Set crop size.\n        --crop-offset\n                    Set crop offset.\n\n        --full-still-picture-header\n                    Force to output full picture header\n\n        --color-primaries\n                    Set color primaries information value.\n\n        \u003cValue defined in H.273\u003e\n                    See https://www.itu.int/rec/T-REC-H.273-201612-I/en\n\n        bt709       Rec. ITU-R BT.709-6\n        sRGB        IEC 61966-2-1 sRGB or sYCC\n        sYCC        IEC 61966-2-1 sRGB or sYCC\n        unspecified Image characteristics are unknown or are determined by the application.\n        bt470m      Rec. ITU-R BT.470-6 System M (historical)\n        bt470bg     Rec. ITU-R BT.470-6 System B, G (historical)\n        bt601       Rec. ITU-R BT.601-7 625\n        ntsc        Rec. ITU-R BT.1700-0 NTSC\n        smpte240m   SMPTE ST 240 (1999)\n        generic-film\n                    Generic film (colour filters using Illuminant C)\n\n        bt2020      Rec. ITU-R BT.2020-2\n        bt2100      Rec. ITU-R BT.2100-0\n        smpte428    SMPTE ST 428-1\n        xyz         (CIE 1931 XYZ as in ISO 11664-1)\n        smpte431    SMPTE RP 431-2 (2011)\n        smpte432    SMPTE EG 432-1 (2010)\n        22          No corresponding industry specification identified\n        --transfer-characteristics\n                    Set transfer characteristics information value.\n\n        \u003cValue defined in H.273\u003e\n                    See https://www.itu.int/rec/T-REC-H.273-201612-I/en\n\n        bt709       Rec. ITU-R BT.709-6\n        unspecified Image characteristics are unknown or are determined by the application.\n        bt470m      Rec. ITU-R BT.470-6 System M (historical)\n        bt470bg     Rec. ITU-R BT.470-6 System B, G (historical)\n        bt601       Rec. ITU-R BT.1700-0 NTSC\n        ntsc        Rec. ITU-R BT.1700-0 NTSC\n        smpte240m   SMPTE 240M (1999) (historical)\n        linear      Linear transfer characteristics\n        log100      Logarithmic transfer characteristic (100:1 range)\n        log100sqrt10\n                    Logarithmic transfer characteristic (100 * Sqrt( 10 ) : 1 range)\n\n        iec61966    IEC 61966-2-4\n        bt1361      Rec. ITU-R BT.1361-0 extended colour gamut system (historical)\n        sRGB        IEC 61966-2-1 sRGB or sYCC\n        sYCC        IEC 61966-2-1 sRGB or sYCC\n        bt2020      Rec. ITU-R BT.2020-2 (10-bit system)\n        bt2020-10bit\n                    Rec. ITU-R BT.2020-2 (10-bit system)\n\n        bt2020-12bit\n                    Rec. ITU-R BT.2020-2 (12-bit system)\n\n        smpte2084   SMPTE ST 2084 for 10-, 12-, 14- and 16-bit systems\n        bt2100pq    Rec. ITU-R BT.2100-0 perceptual quantization (PQ) system\n        smpte428    SMPTE ST 428-1\n        bt2100hlg   Rec. ITU-R BT.2100-0 hybrid log-gamma (HLG) system\n        arib-b67    ARIB STD-B67\n        --matrix-coefficients\n                    Set matrix coefficients information value.\n\n        \u003cValue defined in H.273\u003e\n                    See https://www.itu.int/rec/T-REC-H.273-201612-I/en\n\n        bt709       Rec. ITU-R BT.709-6 (default)\n        sRGB        IEC 61966-2-1 sRGB or sYCC (default)\n        unspecified Image characteristics are unknown or are determined by the application\n        us-fcc      United States Federal Communications Commission (2003)\n        bt470bg     Rec. ITU-R BT.470-6 System B, G (historical)\n        sYCC        IEC 61966-2-1 sRGB or sYCC\n        bt601       Rec. ITU-R BT.601-7 625\n        ntsc        Rec. ITU-R BT.1700-0 NTSC\n        smpte240m   SMPTE 240M\n        bt2020      Rec. ITU-R BT.2020-2 (non-constant luminance)\n        --horizontal-scale-mode\n                    Set horizontal scale mode\n\n        1/1         Do not scale (default)\n        1/2         Scale to 1/2\n        3/5         Scale to 3/5\n        4/5         Scale to 4/5\n        1/4         Scale to 1/4\n        3/4         Scale to 3/4\n        1/8         Scale to 1/8\n        --vertical-scale-mode\n                    Set vertical scale mode\n\n        1/1         Do not scale (default)\n        1/2         Scale to 1/2\n        3/5         Scale to 3/5\n        4/5         Scale to 4/5\n        1/4         Scale to 1/4\n        3/4         Scale to 3/4\n        1/8         Scale to 1/8\n        --resize-mode\n                    Set resize mode\n\n        none        Do not resize\n        fixed       Resize image using a denominator_ given by `--resize-denominator_` arg\n        random      Resize image randomly!\n        --resize-denominator_\n                    Set resize denominator_.\n\n        --superres-mode\n                    Set superres mode\n\n        none        Do not use superres mode\n        fixed       Apply superres filter to image using a denominator_ given by\n                    `--superres-denominator_` arg\n\n        random      Apply superres filter to image with a random denominator_!\n        qthresh     Apply or do not apply superres filter to image based on the q index\n        auto        Apply or do not apply superres filter to image automatically\n        --superres-denominator_\n                    Set superres resize denominator_.\n\n        --superres-qthresh\n                    Set q level threshold for superres.\n\n        --render-width\n                    Set render width explicitly\n\n        --render-height\n                    Set render height explicitly\n\n        --profile   AV1 Profile(0=base, 1=high, 2=professional)\n        --pix-fmt   Pixel format of output image\n        yuv420      YUV420 format (default)\n        yuv422      YUV422 format\n        yuv444      YUV444 format (recommended for lossless images)\n        --bit-depth Bit depth of output image\n        8           8bits per color, 24bits per pixel (default)\n        10          10bits per color, 30bits per pixel\n        12          12bits per color, 36bits per pixel\n        --disable-full-color-range\n                    Use limited YUV color range (default)\n\n        --enable-full-color-range\n                    Use full YUV color range\n\n        --encoder-usage\n                    Encoder usage\n\n        good        Good Quality mode (default)\n        realtime    Real time encoding mode\n        --enable-row-mt\n                    Enable row based multi-threading of encoder\n\n        --disable-row-mt\n                    Disable row based multi-threading of encoder (default)\n\n        --cpu-used  Quality/Speed ratio modifier\n        --rate-control\n                    Rate control method\n\n        cbr         Constant Bit Rate mode. Please also set `--bit-rate` arg.\n        q           Constant Quality (default)\n        cq          Constrained Quality\n        --bit-rate  Bit rate of output image.\n        --crf       CQ Level in CQ rate control mode\n        --qmin      Minimum (Best Quality) Quantizer\n        --qmax      Maximum (Worst Quality) Quantizer\n        --adaptive-quantization\n                    Set adaptive-quantization mode\n\n        none        none(default)\n        variance    variance based\n        complexity  complexity based\n        cyclic      Cyclic refresh\n        --enable-adaptive-quantization-b\n                    use adaptive quantize_b\n\n        --disable-adaptive-quantization-b\n                    use traditional adaptive quantization (default)\n\n        --delta-q   a mode of delta q mode feature, that allows modulating q per superblock\n        none        disable deltaQ\n        objective   Use modulation to maximize objective quality\n        perceptual  Use modulation to maximize perceptual quality\n        --delta-q-strength\n                    strength of deltaQ [0..1000] (default = 100)\n\n        --enable-chroma-delta-q\n                    enable delta quantization in chroma\n\n        --disable-chroma-delta-q\n                    disable delta quantization in chroma\n\n        --enable-loop-filter\n                    enable loop filter (default)\n\n        --disable-loop-filter\n                    disable loop filter\n\n        --enable-delta-lf\n                    enable delta loop filter\n\n        --disable-delta-lf\n                    disable delta loop filter (default)\n\n        --use-qm    Use QMatrix\n        --qm-min    Min quant matrix flatness\n        --qm-max    Max quant matrix flatness\n        --qm-min-y  Min quant matrix flatness for Y\n        --qm-min-u  Min quant matrix flatness for U\n        --qm-min-v  Min quant matrix flatness for V\n        --tune      Quality metric to tune\n        ssim        SSIM(structural similarity)\n        psnr        PSNR(peak signal-to-noise ratio)\n        vmaf-with-preprocessing\n                    vmaf-with-preprocessing\n\n        vmaf-without-preprocessing\n                    vmaf-without-preprocessing\n\n        vmaf-max-gain\n                    vmaf-max-gain\n\n        vmaf-neg-max-gain\n                    vmaf-neg-max-gain\n\n        --content-type\n                    Content type\n\n        default     Regular video content (default)\n        screen      Screen capture content\n        film        Film content\n        --vmaf-model-path\n                    VMAF model file path to tuning image quality\n\n        --lossless  Enable lossless encoding\n        --monochrome\n                    Encode to monochrome image\n\n        --sharpness Sharpening output\n        --disable-cdef\n                    Disable Constrained Directional Enhancement Filter (default)\n\n        --enable-cdef\n                    Enable Constrained Directional Enhancement Filter\n\n        --disable-loop-restoration\n                    Disable Loop Restoration Filter (default)\n\n        --enable-loop-restoration\n                    Enable Loop Restoration Filter\n\n        --superblock-size\n                    Superblock size.\n\n        dynamic     encoder determines the size automatically.\n        128         use 128x128 superblock.\n        64          use 64x64 superblock.\n        --tile-rows Number of tile rows\n        --tile-columns\n                    Number of tile columns\n\n        --keyframe-temporal-filter\n                    Enable temporal filtering on key frame\n\n        --enable-rect-partitions\n                    enable rectangular partitions (default)\n\n        --disable-rect-partitions\n                    disable rectangular partitions\n\n        --enable-ab-partitions\n                    enable ab partitions (default)\n\n        --disable-ab-partitions\n                    disable ab partitions\n\n        --disable-1to4-partitions\n                    enable 1to4 partitions (default)\n\n        --enable-1to4-partitions\n                    disable 1to4 partitions\n\n        --enable-intra-edge-filter\n                    enable intra edge filter (default)\n\n        --disable-intra-edge-filter\n                    disable intra edge filter\n\n        --min-partition-size\n                    min partition size\n\n        --max-partition-size\n                    max partition size\n\n        --enable-tx64\n                    enable 64-length transforms (default)\n\n        --disable-tx64\n                    disable 64-length transforms\n\n        --enable-flip-idtx\n                    enable flip and identity transforms (default)\n\n        --disable-flip-idtx\n                    disable flip and identity transforms\n\n        --enable-rect-tx\n                    enable rectangular transforms (default)\n\n        --disable-rect-tx\n                    disable rectangular transforms\n\n        --use-dct-only\n                    Use DCT tx onlyq\n\n        --use-default-tx-only\n                    use default tx type only\n\n        --use-reduced-tx-set\n                    use reduced tx set, transforms w/o flip (4) + Identity (1).\n\n        --enable-filter-intra\n                    enable (default)\n\n        --disable-filter-intra\n                    disable \n\n        --enable-smooth-intra\n                    enable (default)\n\n        --disable-smooth-intra\n                    disable \n\n        --enable-paeth-intra\n                    enable (default)\n\n        --disable-paeth-intra\n                    disable \n\n        --enable-chroma-from-luma\n                    enable (default)\n\n        --disable-chroma-from-luma\n                    disable \n\n        --enable-superres\n                    enable frame superresolution (default)\n\n        --disable-superres\n                    disable frame superresolution\n\n        --enable-palette\n                    enable palette mode\n\n        --disable-palette\n                    disable palette mode (default)\n\n        --enable-intrabc\n                    enable intra block copy mode (default)\n\n        --disable-intrabc\n                    disable intra block copy mode\n\n        --enable-angle-delta\n                    enable intra angle delta (default)\n\n        --disable-angle-delta\n                    disable intra angle delta\n\n        --enable-diagonal-intra\n                    enable usage of D45 to D203 intra modes (default)\n\n        --disable-diagonal-intra\n                    disable usage of D45 to D203 intra modes\n\n        --enable-directional-intra\n                    turn on directional intra mode (default)\n\n        --disable-directional-intra\n                    turn off directional intra mode\n\n        --enable-tx-size-search\n                    turn on transform size search (default). Transforms always have the largest\n                    possible size\n\n        --disable-tx-size-search\n                    turn off transform size search. Search for the best transform size for each\n                    block\n\n        -h, --help  Show help and exit.\n```\n\n## TODO\n\n - Thumbnail\n - Improve default configs\n - Add more and more command-line flags.\n\n# Related repositories\n\n - [link-u/davif](https://github.com/link-u/davif) - avif decoder, using dav1d directly.\n - [link-u/libavif-container](https://github.com/link-u/libavif-container) - a library to parse avif container.\n - [link-u/avif-sample-images](https://github.com/link-u/avif-sample-images) - sample images from us.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flink-u%2Fcavif","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flink-u%2Fcavif","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flink-u%2Fcavif/lists"}