Changes between Initial Version and Version 1 of Encode/AV1

May 30, 2018, 9:14:17 AM (2 years ago)

Basic AV1 encoding


  • Encode/AV1

    v1 v1  
     1= FFmpeg and libaom AV1 Encoding Guide =
     3[[PageOutline(2, Contents)]]
     5`libaom-av1` is the AOMedia AV1  video encoder for [], an open, royalty-free media file format. `libaom-av1` can save about 30% bitrate compared to `vp9` and `H.265` while retaining the same visual quality.
     7To install FFmpeg with support for llibaom-av1, look at the [ Compilation Guides] and compile FFmpeg with the {{{--enable-libaom}}} option.
     9Note that the default audio encoder for AV1s `libopus`
     12=== Average Bitrate (ABR) ===#averageb
     14libaom-av1 offers a simple variable bitrate (VBR) mode by default. This is also sometimes called "Average Bitrate" or "Target Bitrate". In this mode, it will simply try to reach the specified bit rate on average, e.g. 2 MBit/s.
     17ffmpeg -threads 0 -i input.mp4 -c:v libaom-av1 -cpu-used 8 -crf 20 -stats -vstats -benchmark -c:a opus -strict -2 -y av1_test.mkv
     20Choose a higher bitrate if you want better quality. Note that you shouldn't leave out the {{{-b:v}}} option as the default settings will produce mediocre quality output.
     23libaom-av1 encoder AVOptions:
     24  -cpu-used          <int>        E..V..... Quality/Speed ratio modifier (from -8 to 8) (default 1)
     25  -auto-alt-ref      <int>        E..V..... Enable use of alternate reference frames (2-pass only) (from -1 to 2) (default -1)
     26  -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)
     27  -error-resilience  <flags>      E..V..... Error resilience configuration (default 0)
     28     default                      E..V..... Improve resiliency against losses of whole frames
     29     partitions                   E..V..... The frame partitions are independently decodable by the bool decoder, meaning that partitions can be decoded even though earlier partitions have been lost. Note that intra predicition is still done over the partition boundary.
     30  -crf               <int>        E..V..... Select the quality for constant quality mode (from -1 to 63) (default -1)
     31  -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)
     32  -drop-threshold    <int>        E..V..... Frame drop threshold (from INT_MIN to INT_MAX) (default 0)
     33  -noise-sensitivity <int>        E..V..... Noise sensitivity (from 0 to 4) (default 0)