Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 

README.md

davif

Status
Linux Build on Linux
Linux(.deb) Build debian package
macOS Build on macOS
Windows Build status

Description (en)

avif decoder, using dav1d directly.

avif (AV1 Image File Format) is a still picture format uses a keyframe of AV1.

Description (ja)

AVIF(AV1 Image File Format)は、動画フォーマットであるAV1のキーフレームを流用して圧縮する静止画フォーマットです。

davifは、ラッパーを介さずdav1dを直接叩くavifのデコード・コマンドです。

how to build

# pre-requirements
# If your system cmake is lower than 3.13, please install latest version:
# https://apt.kitware.com/

# cloning this repository with dependencies.
git clone --recurse-submodules --recursive [email protected]:link-u/davif.git
cd davif

# System gcc is 8.0 or higher:
cmake ..

# If not, please install gcc-8 (or higher) and tell them to CMake.
CXX=g++-8 CC=gcc-8 cmake ..

# build davif binary.
make davif

# decode an avif image.
./davif -i input.avif -o output.png

usage

% davif
[2020/03/18 15:40:21 INFO ] davif
[2020/03/18 15:40:21 DEBUG]  - dav1d ver: 0.6.0-13-gfe52bff
SYNOPSIS
        davif -i <input.avif> -o <output.png> [--extract-alpha <output-alpha.png>] [--extract-depth
              <output-depth.png>] [--threads <Num of threads to use>]

Example avif files are available in AOMediaCodec/av1-avif or link-u/avif-sample-images.

(Currently, detailed documentation is only in Japanese)

TODO

  • Add more and more command-line flags.

Related repositories

You can’t perform that action at this time.