Search Documentation
Search across all documentation pages
AV1

AV1

AV1 is the next-generation royalty-free video codec developed by the Alliance for Open Media (Google, Apple, Netflix, Amazon, and others). It delivers roughly 50% better compression than H.264 and is the most efficient codec Transcodely supports. Transcodely uses the SVT-AV1 encoder, which offers the best balance of speed and quality among AV1 implementations.

Quick Start

{
  "type": "mp4",
  "video": [
    {
      "codec": "av1",
      "resolution": "1080p",
      "quality": "standard"
    }
  ]
}

AV1Options Reference

Override defaults by passing the av1 object on a video variant:

{
  "codec": "av1",
  "resolution": "1080p",
  "quality": "standard",
  "av1": {
    "preset": 6,
    "crf": 35,
    "film_grain": 8,
    "tile_columns": 2
  }
}

Key Differences from H.264/H.265

AV1 uses numeric values for preset and tune, not strings:

ConceptH.264/H.265AV1
Speed controlpreset (string)preset (integer: 3-12)
Optimization targettune (string)tune (integer: 0 or 1)
CRF range15-35 / 18-3520-55
Max bitrate240,000 kbps100,000 kbps
Film grainVia tune: "grain"Dedicated film_grain parameter (0-50)
Loop filtersNot configurableenable_dlf, enable_cdef, enable_restoration

Presets

AV1 presets are numeric. Lower values produce better quality at slower speeds.

PresetSpeedQualityAllowed
0-2Extremely slowBestNot allowed (impractical for production)
3Very slowExcellentYes
4SlowVery goodYes (default for premium tier)
5Below averageGoodYes
6AverageGoodYes (default for standard tier)
7Above averageAbove averageYes
8FastAverageYes
9FasterBelow averageYes
10Very fastLowerYes (default for economy tier)
11Fastest practicalLowYes
12Maximum speedLowestYes
13Extreme speedVery lowNot allowed (quality too low)

Default by quality tier:

Quality TierDefault PresetDefault CRF
economy1045
standard635
premium428

Tune

AV1 uses numeric tune values:

ValueModeDescription
0VQ (Visual Quality)Optimizes for perceptual quality (default, recommended)
1PSNROptimizes for objective metrics (benchmarking, research)

For production content, always use 0 (VQ). The PSNR mode is useful for quality benchmarking but does not produce the best perceptual results.

CRF (Constant Rate Factor)

Allowed range: 20-55. AV1’s CRF scale is different from H.264 — higher values are needed for similar visual quality.

CRF RangeQualityUse Case
20-25Near-losslessArchival, mastering
26-30High qualityPremium streaming
31-38Good qualityStandard streaming (default: 35)
39-45AcceptableMobile, previews, economy
46-55Lower qualityThumbnails, low-bandwidth

Approximate CRF equivalents:

AV1 CRFH.264 CRFVisual Quality
2818Near-lossless
3523High quality streaming
4528Good for mobile

Film Grain Synthesis

AV1 has a built-in film grain synthesis feature that can significantly reduce file size for grainy content. Instead of encoding the grain (which wastes bits), the encoder analyzes the grain pattern, removes it during encoding, and stores parameters that allow the decoder to re-synthesize it during playback.

ParameterRangeDefaultDescription
film_grain0-500 (disabled)Grain synthesis strength

Recommended values:

ValueUse Case
0Clean, digitally-produced content
5-10Light grain, general footage
15-25Moderate grain, film-sourced content
30-50Heavy grain, vintage/noir content
{
  "codec": "av1",
  "resolution": "1080p",
  "quality": "premium",
  "av1": {
    "crf": 30,
    "film_grain": 15
  }
}

Tile Configuration

Like VP9, AV1 supports frame tiling for parallel encoding:

ParameterRangeDefaultDescription
tile_columns0-4AutoTile columns (log2 scale: 2 = 4 columns)
tile_rows0-4AutoTile rows (log2 scale: 2 = 4 rows)

Auto-detection selects tile count based on resolution. Override only when you need to tune parallelism.

Loop Filters

AV1 includes three post-processing filters that reduce encoding artifacts. All are enabled by default:

FilterParameterDefaultDescription
Deblocking (DLF)enable_dlftrueReduces blocking artifacts at tile/block boundaries
CDEFenable_cdeftrueDirectional enhancement filter for edge preservation
Loop Restorationenable_restorationtrueFinal-pass filter for perceptual quality improvement

Disabling filters speeds up encoding and decoding at a quality cost. Only disable if you have specific performance constraints:

{
  "codec": "av1",
  "resolution": "720p",
  "quality": "economy",
  "av1": {
    "preset": 10,
    "enable_cdef": false,
    "enable_restoration": false
  }
}

Other Parameters

ParameterRangeDefaultDescription
bitrate100-100,000 kbpsNone (CRF mode)Target bitrate
max_bitrate100-100,000 kbpsNoneMaximum bitrate
keyint1-600 frames250Maximum keyframe interval

Example: Maximum Compression

{
  "codec": "av1",
  "resolution": "1080p",
  "quality": "premium",
  "av1": {
    "preset": 4,
    "crf": 28,
    "film_grain": 10,
    "tile_columns": 2
  }
}

Example: Fast Web Preview

{
  "codec": "av1",
  "resolution": "480p",
  "quality": "economy",
  "av1": {
    "preset": 10,
    "crf": 45,
    "enable_restoration": false
  }
}

Container Compatibility

AV1 works with: MP4, WebM, MKV, HLS (fMP4 segments), DASH

AV1 does not work with: MOV, TS