{"id":1044,"date":"2026-05-15T09:49:25","date_gmt":"2026-05-15T02:49:25","guid":{"rendered":"https:\/\/liveapi.com\/blog\/av1-encoding\/"},"modified":"2026-05-15T09:50:09","modified_gmt":"2026-05-15T02:50:09","slug":"av1-encoding","status":"publish","type":"post","link":"https:\/\/liveapi.com\/blog\/av1-encoding\/","title":{"rendered":"AV1 Encoding: How It Works, Encoders, and How to Use It"},"content":{"rendered":"<span class=\"rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\">14<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span><p>Netflix reported in late 2025 that around 30% of its streams now play back in AV1, and YouTube, Meta, and Twitch are pushing similar shifts. The reason is simple: AV1 cuts file sizes by 30\u201350% versus older codecs at matching visual quality, which translates directly into lower CDN bills and better playback on slow networks. The catch is that AV1 encoding is computationally expensive, the tooling is fragmented across three software encoders and three hardware vendors, and the decoder support story is still uneven on older devices.<\/p>\n<p>This guide walks through what AV1 encoding is, how the codec actually compresses video, the differences between libaom, SVT-AV1, rav1e, and the hardware encoders from Nvidia, Intel, and AMD, and the FFmpeg commands you need to start producing AV1 files today. It also covers the trade-offs between hardware and software encoding, the parameters that matter most, and how to pick an encoder for VOD, live, or real-time use cases.<\/p>\n<h2>What Is AV1 Encoding?<\/h2>\n<p><strong>AV1 encoding<\/strong> is the process of compressing raw video frames into the AV1 (AOMedia Video 1) bitstream format using an AV1 encoder. AV1 is an open, royalty-free video <a href=\"https:\/\/liveapi.com\/blog\/what-is-video-codec\/\" target=\"_blank\">codec<\/a> developed by the Alliance for Open Media \u2014 a consortium that includes Google, Netflix, Amazon, Meta, Microsoft, Apple, Intel, Nvidia, AMD, and others \u2014 as the successor to VP9. The first AV1 bitstream specification shipped in March 2018, and Netflix became the first major service to deploy it in February 2020.<\/p>\n<p>What makes AV1 encoding distinct from older codecs is its blend of three properties: aggressive compression efficiency (30\u201350% smaller files than H.264 at similar quality), royalty-free licensing with no per-stream patent fees, and explicit design for internet video rather than broadcast. The trade-off is computational cost \u2014 early reference encoders ran 100\u2013600\u00d7 slower than H.264, though modern SVT-AV1 and hardware encoders have closed most of that gap.<\/p>\n<p>The output of AV1 encoding is an AV1-coded video bitstream wrapped in a container like MP4 (ISOBMFF), WebM, or Matroska. That bitstream can be decoded by any AV1-compatible player, browser, or hardware decoder.<\/p>\n<h2>How Does AV1 Encoding Work?<\/h2>\n<p>AV1 follows the same block-based hybrid coding pipeline used by H.264, H.265, and VP9, but adds dozens of new prediction modes, partition shapes, and filter tools. At a high level, the encoder takes each frame, splits it into blocks, predicts each block from already-coded data, transforms and quantizes the prediction error, and packs the result into a compressed bitstream with an arithmetic coder.<\/p>\n<p>Here is what happens inside an AV1 encoder, step by step.<\/p>\n<h3>1. Frame Partitioning<\/h3>\n<p>The encoder breaks each frame into 128\u00d7128 or 64\u00d764 pixel superblocks, then recursively splits them down to blocks as small as 4\u00d74 pixels. AV1 supports ten partition patterns \u2014 including the square splits used in VP9 plus T-shaped, horizontal, vertical, and 4:1\/1:4 rectangular splits. More partition shapes mean the encoder can match block boundaries to object edges more precisely, which reduces the residual that needs to be coded.<\/p>\n<h3>2. Intra and Inter Prediction<\/h3>\n<p>For each block, the encoder picks the cheapest prediction mode. <strong>Intra prediction<\/strong> uses neighboring pixels in the same frame; AV1 supports 56 directional intra modes plus smooth, paeth, and chroma-from-luma predictors. <strong>Inter prediction<\/strong> uses pixels from previously coded frames; AV1 can pull from up to seven reference frames, supports warped and global motion, and adds overlapped block motion compensation (OBMC) for smoother boundaries.<\/p>\n<h3>3. Transform Coding<\/h3>\n<p>The residual \u2014 the difference between the prediction and the actual pixels \u2014 gets transformed into the frequency domain. AV1 supports square and rectangular DCT, asymmetric DST (ADST), flipped ADST, and identity transforms. The encoder can pick separate horizontal and vertical transforms per block, which helps compress directional patterns like fabric, hair, or text edges.<\/p>\n<h3>4. Quantization<\/h3>\n<p>The transform coefficients are quantized to throw away visually unimportant detail. AV1 uses a quantization step that varies per frame, per superblock, and per color plane, and includes optimized quantization matrices tuned for human perception. This is the main lever that trades file size against quality.<\/p>\n<h3>5. Loop Filters<\/h3>\n<p>After reconstruction, AV1 runs three in-loop filters to clean up block boundaries and ringing artifacts: a standard deblocking filter, the Constrained Directional Enhancement Filter (CDEF), and a Wiener-based loop restoration filter. CDEF in particular helps preserve edge detail at low <a href=\"https:\/\/liveapi.com\/blog\/video-bitrate\/\" target=\"_blank\">bitrates<\/a>.<\/p>\n<h3>6. Entropy Coding<\/h3>\n<p>The final step packs everything \u2014 prediction modes, motion vectors, quantized coefficients \u2014 into a compressed bitstream using a non-binary arithmetic coder borrowed from the Daala codec. This coder is more hardware-friendly than VP9&#8217;s binary entropy coder and avoids the patent landmines around CABAC.<\/p>\n<h3>7. Optional Film Grain Synthesis<\/h3>\n<p>AV1 has a unique trick for grainy or noisy content: it can strip film grain from the source, code the clean video efficiently, and resynthesize the grain at the decoder using a small set of parameters. This keeps the cinematic look without spending bits on coding random noise.<\/p>\n<h2>AV1 Encoding vs H.264, H.265, and VP9<\/h2>\n<p>AV1 is not the only modern codec, and the choice between it and its competitors depends on your tolerance for encoding cost, decoder reach, and licensing complexity. Here is how the four main options compare for streaming video work.<\/p>\n<table>\n<thead>\n<tr>\n<th>Attribute<\/th>\n<th>AV1<\/th>\n<th>H.265 \/ HEVC<\/th>\n<th>H.264 \/ AVC<\/th>\n<th>VP9<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Compression vs H.264<\/td>\n<td>40\u201350% smaller<\/td>\n<td>30\u201340% smaller<\/td>\n<td>Baseline<\/td>\n<td>25\u201335% smaller<\/td>\n<\/tr>\n<tr>\n<td>Licensing<\/td>\n<td>Royalty-free<\/td>\n<td>Patent pools, per-unit fees<\/td>\n<td>Patent pools, mostly resolved<\/td>\n<td>Royalty-free<\/td>\n<\/tr>\n<tr>\n<td>Browser support<\/td>\n<td>Chrome 70+, Firefox 67+, Edge 121+, Safari 17 (M3+\/A17+ only)<\/td>\n<td>Safari, Edge; spotty in Chrome\/Firefox<\/td>\n<td>Universal<\/td>\n<td>Chrome, Firefox, Edge, Android<\/td>\n<\/tr>\n<tr>\n<td>Hardware decoder share (2025)<\/td>\n<td>~30\u201340% of global devices<\/td>\n<td>~70%<\/td>\n<td>Effectively 100%<\/td>\n<td>~80%<\/td>\n<\/tr>\n<tr>\n<td>Software encoder speed<\/td>\n<td>Slow (real-time only on fast presets)<\/td>\n<td>Moderate<\/td>\n<td>Fast<\/td>\n<td>Moderate<\/td>\n<\/tr>\n<tr>\n<td>Best use<\/td>\n<td>High-volume streaming, large libraries<\/td>\n<td>Apple ecosystems, 4K HDR<\/td>\n<td>Universal compatibility, fallback<\/td>\n<td>Existing YouTube\/WebM pipelines<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>For a deeper breakdown of how AV1 stacks up against individual codecs, see <a href=\"https:\/\/liveapi.com\/blog\/av1-vs-h264\/\" target=\"_blank\">AV1 vs H.264<\/a>, <a href=\"https:\/\/liveapi.com\/blog\/av1-vs-h265\/\" target=\"_blank\">AV1 vs H.265<\/a>, and <a href=\"https:\/\/liveapi.com\/blog\/vp9-codec\/\" target=\"_blank\">VP9 codec<\/a>.<\/p>\n<p>The practical takeaway: AV1 wins on file size and licensing, H.264 wins on universal playback, H.265 wins where Apple devices dominate, and VP9 is a stopgap if you already have a VP9 pipeline. Most production setups ship AV1 plus an H.264 fallback so older devices keep working.<\/p>\n<h2>Types of AV1 Encoders<\/h2>\n<p>There are four meaningful AV1 encoder families today. Three are software encoders that run on the CPU and one is a category of hardware encoders built into modern GPUs and SoCs. Each has a different sweet spot.<\/p>\n<h3>libaom-av1 (Reference Encoder)<\/h3>\n<p>libaom is the reference AV1 encoder published by AOMedia. It implements the full AV1 feature set and is the slowest of the bunch \u2014 single-threaded performance is often under 1 frame per second on a single CPU core at default settings. libaom is the gold standard for quality benchmarks and academic comparisons, but most production teams pick SVT-AV1 instead. In FFmpeg it is invoked as <code>-c:v libaom-av1<\/code>.<\/p>\n<h3>SVT-AV1 (Production Encoder)<\/h3>\n<p>SVT-AV1 (Scalable Video Technology for AV1) is the encoder that turned AV1 into a viable production tool. Originally built by Intel in collaboration with Netflix, it was adopted as AOMedia&#8217;s official next-generation encoder in 2020. SVT-AV1 offers 2\u20135\u00d7 the encoding speed of libaom at similar quality, scales across many CPU cores, and ships in FFmpeg as <code>-c:v libsvtav1<\/code>. This is the right starting point for most teams.<\/p>\n<h3>rav1e (Rust Encoder)<\/h3>\n<p>rav1e is a Rust-based AV1 encoder from the Xiph.Org Foundation and Mozilla. It prioritizes safety, multi-threading, and easy embedding in Rust applications. rav1e is slower than SVT-AV1 in most benchmarks but is the cleanest option if you need an encoder library inside a Rust codebase. FFmpeg invokes it as <code>-c:v librav1e<\/code>.<\/p>\n<h3>Hardware AV1 Encoders<\/h3>\n<p>Hardware AV1 encoders are fixed-function ASIC blocks built into modern GPUs and SoCs. The main implementations are:<\/p>\n<ul>\n<li><strong>Nvidia NVENC AV1<\/strong> \u2014 shipped on Ada Lovelace (RTX 40 series) and newer; ~500 fps at 1080p, roughly 40% more efficient than the older NVENC H.264 encoder.<\/li>\n<li><strong>Intel Quick Sync AV1<\/strong> \u2014 shipped on Arc discrete GPUs and 13th-gen+ integrated graphics; strong quality per bit for hardware encoding.<\/li>\n<li><strong>AMD AMF AV1<\/strong> \u2014 shipped on RDNA 3 (Radeon RX 7000\/9000 series); newest of the three and improving fast.<\/li>\n<\/ul>\n<p>Hardware encoders are dramatically faster than software encoders \u2014 often 10\u201350\u00d7 faster than SVT-AV1 \u2014 but at a quality cost. A hardware AV1 stream at a given bitrate usually scores lower in VMAF than the same bitrate from SVT-AV1 at preset 4 or 5.<\/p>\n<h2>Hardware vs Software AV1 Encoding<\/h2>\n<p>The hardware-versus-software choice maps cleanly to your latency and quality requirements. Hardware encoders win on speed and watts per pixel. Software encoders win on quality per bit and flexibility.<\/p>\n<h3>When to Use Hardware AV1 Encoding<\/h3>\n<p>Hardware AV1 encoding is the right call for:<\/p>\n<ul>\n<li><strong>Live streaming<\/strong> where you need real-time encoding at 60+ fps without a multi-CPU server.<\/li>\n<li><strong>Game capture and screen recording<\/strong> where the GPU is already in the loop.<\/li>\n<li><strong>Cloud transcoding at scale<\/strong> where electricity and CPU time are the dominant costs.<\/li>\n<li><strong>Real-time communication<\/strong> like cloud gaming or WebRTC pipelines.<\/li>\n<\/ul>\n<h3>When to Use Software AV1 Encoding<\/h3>\n<p>Software AV1 encoding (SVT-AV1) is the right call for:<\/p>\n<ul>\n<li><strong>VOD libraries<\/strong> where you encode once and serve millions of times \u2014 every bit of saved bandwidth pays back.<\/li>\n<li><strong>Archival masters<\/strong> where compression efficiency outranks encoding wall time.<\/li>\n<li><strong>Two-pass encoding<\/strong> for <a href=\"https:\/\/liveapi.com\/blog\/adaptive-bitrate-streaming\/\" target=\"_blank\">adaptive bitrate<\/a> ladders that need tight rate control.<\/li>\n<li><strong>Animation and screen content<\/strong> where SVT-AV1&#8217;s tuning modes outperform hardware encoders.<\/li>\n<\/ul>\n<p>A common production pattern is to use NVENC AV1 for the live ingest pass and SVT-AV1 for the offline VOD pass after the <a href=\"https:\/\/liveapi.com\/blog\/dvr-for-streaming-video\/\" target=\"_blank\">live broadcast converts to VOD<\/a>.<\/p>\n<h2>Key AV1 Encoding Parameters<\/h2>\n<p>AV1 encoders expose a long list of tuning knobs, but five parameters do most of the work. Get these right and the rest of the defaults are usually fine.<\/p>\n<h3>CRF (Constant Rate Factor)<\/h3>\n<p>CRF is the main quality dial in SVT-AV1 and libaom. It ranges from 0 to 63 \u2014 lower is higher quality and bigger files. Useful anchors:<\/p>\n<ul>\n<li><strong>18\u201324<\/strong> \u2014 visually lossless archival quality.<\/li>\n<li><strong>25\u201332<\/strong> \u2014 high-quality streaming.<\/li>\n<li><strong>30<\/strong> \u2014 SVT-AV1 default; balanced quality and size.<\/li>\n<li><strong>35\u201340<\/strong> \u2014 small files, visible compression on demanding content.<\/li>\n<\/ul>\n<p>As a rough comparison, SVT-AV1 CRF 30 is roughly equivalent to x265 CRF 21 and x264 CRF 16.<\/p>\n<h3>Preset<\/h3>\n<p>Preset trades encoding speed for compression efficiency. SVT-AV1 supports presets 0 through 13, with higher numbers running faster but producing larger files at the same CRF.<\/p>\n<ul>\n<li><strong>0\u20132<\/strong> \u2014 research and archival; under 5\u00d7 real-time.<\/li>\n<li><strong>4\u20136<\/strong> \u2014 production sweet spot; preset 4 is the common quality target, preset 6 is the common speed default.<\/li>\n<li><strong>8\u201310<\/strong> \u2014 fast VOD encoding.<\/li>\n<li><strong>12\u201313<\/strong> \u2014 near real-time on capable CPUs.<\/li>\n<\/ul>\n<h3>Keyframe Interval (GOP Size)<\/h3>\n<p>Keyframe interval sets how often a self-contained keyframe is inserted. For VOD, 2\u201310 seconds is typical. For <a href=\"https:\/\/liveapi.com\/blog\/what-is-hls-streaming\/\" target=\"_blank\">HLS<\/a> and DASH streaming, the keyframe interval needs to align with the segment duration so each segment starts on a keyframe. In SVT-AV1, pass <code>keyint=10s<\/code> (or <code>keyint=240<\/code> for a 24 fps source) via <code>-svtav1-params<\/code>.<\/p>\n<h3>Pixel Format and Bit Depth<\/h3>\n<p>AV1 was designed for 10-bit color from the start. Even for 8-bit source content, encoding to 10-bit (<code>yuv420p10le<\/code>) often produces smaller files at the same visual quality because it gives the encoder more precision to work with. SVT-AV1 supports <code>yuv420p<\/code> and <code>yuv420p10le<\/code>.<\/p>\n<h3>Tiles and Threading<\/h3>\n<p>AV1 splits frames into tiles that can be coded in parallel. More tiles mean more parallelism and faster encoding but slightly worse compression (each tile has its own entropy state). For an 8-core machine, <code>tile-columns=2 tile-rows=1<\/code> is a reasonable starting point.<\/p>\n<h2>Advantages of AV1 Encoding<\/h2>\n<p>AV1 hits a combination of properties that no previous codec offered together. These are the wins that make it worth the encoding cost.<\/p>\n<h3>Better Compression Efficiency<\/h3>\n<p>Independent testing by Facebook in 2018 measured AV1 producing files 34% smaller than VP9 and 50% smaller than x264 at matching visual quality. Netflix measured roughly 25% better efficiency than VP9. The University of Waterloo reported 9.5% bitrate savings over HEVC at 4K resolution. The numbers vary by content and encoder, but AV1 is consistently 30\u201350% more bit-efficient than H.264.<\/p>\n<h3>Royalty-Free Licensing<\/h3>\n<p>Every AOMedia member contributes patents to the AV1 pool under a royalty-free cross-license. There are no per-unit decoder royalties, no per-stream content royalties, and no SISVEL-style patent claims that have plagued <a href=\"https:\/\/liveapi.com\/blog\/hevc-vs-h264\/\" target=\"_blank\">HEVC<\/a> adoption. For high-volume streaming services, this alone is worth millions of dollars per year.<\/p>\n<h3>Strong Quality at Low Bitrates<\/h3>\n<p>AV1&#8217;s tools \u2014 film grain synthesis, CDEF, warped motion, 56 intra prediction angles \u2014 keep detail intact at bitrates where H.264 falls apart. This matters most for mobile streaming and emerging markets, where bandwidth is the binding constraint.<\/p>\n<h3>Wide Software Decoder Support<\/h3>\n<p>Every major desktop and mobile browser ships an AV1 decoder. Chrome (70+), Firefox (67+), and Edge (121+) decode AV1 in software via dav1d, which is fast enough to play 1080p on most laptops without hardware help. Safari 17 plays AV1 on hardware-capable Apple devices.<\/p>\n<h3>Designed for Streaming and Real-Time<\/h3>\n<p>Unlike H.265, which was designed for broadcast, AV1 was designed from day one for internet video. It supports tile-based parallel decoding, large reference frame buffers for scrolling content, and operating point switching for adaptive bitrate delivery.<\/p>\n<h3>Better Quality for Synthetic Content<\/h3>\n<p>AV1 has explicit tuning for animation and screen content (<code>tune=0<\/code>, screen-content tools). For UI recordings, gameplay, and animated content, AV1 often beats H.265 by 50% or more at matched quality.<\/p>\n<h2>Disadvantages of AV1 Encoding<\/h2>\n<p>AV1 is not a free lunch. Three real costs and one timing issue keep many teams on H.264 or H.265 today.<\/p>\n<h3>High Encoding Complexity<\/h3>\n<p>Even with SVT-AV1, AV1 encoding is 3\u201310\u00d7 slower than x265 at matched quality on the same hardware. libaom is 10\u2013100\u00d7 slower than x265. This makes AV1 expensive for one-off encoding jobs and impractical for low-budget VOD pipelines without <a href=\"https:\/\/liveapi.com\/blog\/cloud-based-video-encoding\/\" target=\"_blank\">cloud encoding<\/a> or hardware acceleration.<\/p>\n<h3>Inconsistent Hardware Decoder Support<\/h3>\n<p>Roughly 30\u201340% of global devices have hardware AV1 decoders as of 2025. The rest fall back to software decoding, which works on modern phones and laptops but burns battery and CPU. Older Android phones, iPhones before the 15 Pro, and Macs before M3 silicon either fall back to CPU decoding or can&#8217;t play AV1 at all. Mitigation: ship an H.264 fallback rendition for compatibility.<\/p>\n<h3>Tooling Maturity<\/h3>\n<p>The AV1 ecosystem is younger than H.264 and H.265. Tooling, presets, and educational material are still catching up. Some video players require manual configuration to negotiate AV1, and CDN-side packaging for AV1 in <a href=\"https:\/\/liveapi.com\/blog\/what-is-cmaf\/\" target=\"_blank\">CMAF<\/a> is still being standardized in some workflows.<\/p>\n<h3>Apple Ecosystem Gap<\/h3>\n<p>Apple was a late AOMedia member and shipped its first hardware AV1 decoder only with the M3 (Mac, October 2023) and A17 Pro (iPhone 15 Pro, September 2023). The iPhone 14 and earlier, iPads before the M4, and Macs before the M3 do not decode AV1 in Safari. For consumer-facing services with a large Apple user base, H.265 still has reach AV1 lacks.<\/p>\n<hr \/>\n<p>Once you decide AV1 is the right tradeoff, the next question is what your actual encoding workflow looks like. The rest of this guide walks through concrete FFmpeg commands, live streaming considerations, and how to think about choosing tools or a managed service.<\/p>\n<h2>How to Encode AV1 Video with FFmpeg<\/h2>\n<p>FFmpeg is the most common path to AV1 encoding. Modern FFmpeg builds (5.1 or newer) ship with libsvtav1, libaom-av1, and librav1e built in. Verify your build with <code>ffmpeg -encoders | grep av1<\/code>.<\/p>\n<h3>Encoding with SVT-AV1<\/h3>\n<p>The recommended starting point for most VOD and streaming work is SVT-AV1 at preset 6, CRF 30, with a 10-bit pixel format:<\/p>\n<pre><code class=\"language-bash\">ffmpeg -i input.mp4 \\\n  -c:v libsvtav1 \\\n  -preset 6 \\\n  -crf 30 \\\n  -pix_fmt yuv420p10le \\\n  -svtav1-params &quot;keyint=10s:tune=0:enable-overlays=1&quot; \\\n  -c:a libopus -b:a 128k \\\n  output.mkv\n<\/code><\/pre>\n<p>For higher quality at slower speed, drop the preset to 4 and the CRF to 26. For faster real-time encoding, raise preset to 9 or 10.<\/p>\n<h3>Encoding with libaom-av1<\/h3>\n<p>libaom gives the best compression at the cost of speed. A typical two-pass command for archival or VOD:<\/p>\n<pre><code class=\"language-bash\">ffmpeg -i input.mp4 \\\n  -c:v libaom-av1 \\\n  -crf 28 \\\n  -b:v 0 \\\n  -cpu-used 4 \\\n  -row-mt 1 \\\n  -tiles 2x2 \\\n  -pix_fmt yuv420p10le \\\n  -c:a libopus -b:a 128k \\\n  output.mkv\n<\/code><\/pre>\n<p><code>-cpu-used<\/code> accepts 0\u20138 in libaom, where lower means slower and better quality. <code>-row-mt 1<\/code> enables row-based multithreading. <code>-tiles 2x2<\/code> produces four tiles for parallel encoding.<\/p>\n<h3>Encoding with NVENC AV1 (Hardware)<\/h3>\n<p>For real-time AV1 encoding on an Nvidia RTX 4000-series or newer GPU:<\/p>\n<pre><code class=\"language-bash\">ffmpeg -i input.mp4 \\\n  -c:v av1_nvenc \\\n  -preset p5 \\\n  -tune hq \\\n  -rc vbr \\\n  -cq 30 \\\n  -b:v 0 \\\n  -c:a copy \\\n  output.mp4\n<\/code><\/pre>\n<p>NVENC presets run p1 (fastest) through p7 (slowest, highest quality). For game streaming, p4 is a reasonable balance. For archival, use p7.<\/p>\n<h3>Transcoding to AV1 for HLS Adaptive Streaming<\/h3>\n<p>For HLS delivery, encode multiple AV1 renditions and package them as fMP4 segments. A simplified two-rendition setup:<\/p>\n<pre><code class=\"language-bash\">ffmpeg -i input.mp4 \\\n  -filter_complex &quot;[0:v]split=2[v1][v2];[v1]scale=1920:1080[v1080];[v2]scale=1280:720[v720]&quot; \\\n  -map &quot;[v1080]&quot; -c:v:0 libsvtav1 -preset 6 -crf 30 -b:v:0 0 \\\n  -map &quot;[v720]&quot; -c:v:1 libsvtav1 -preset 6 -crf 32 -b:v:1 0 \\\n  -map a:0 -c:a aac -b:a 128k \\\n  -f hls -hls_time 4 -hls_segment_type fmp4 \\\n  -hls_flags independent_segments \\\n  -master_pl_name master.m3u8 \\\n  -var_stream_map &quot;v:0,a:0 v:1,a:0&quot; \\\n  stream_%v.m3u8\n<\/code><\/pre>\n<p>Walk through the full process of <a href=\"https:\/\/liveapi.com\/blog\/video-encoding-streaming\/\" target=\"_blank\">encoding video for streaming<\/a> before pushing this to production \u2014 segment alignment and keyframe intervals matter for player compatibility.<\/p>\n<h2>AV1 Encoding for Live Streaming<\/h2>\n<p>Live streaming with AV1 is a different problem than VOD. The encoder has to keep up with real-time playback at 30 or 60 fps without dropping frames, which rules out the slower software presets that make AV1 shine on VOD.<\/p>\n<h3>Live Encoding Pipeline<\/h3>\n<p>A typical live AV1 pipeline:<\/p>\n<ol>\n<li><strong>Capture<\/strong> \u2014 OBS, vMix, or an SDI capture card produces a raw or H.264 source feed.<\/li>\n<li><strong>Encode<\/strong> \u2014 a hardware AV1 encoder (NVENC, QSV, or AMF) compresses to AV1 at 4\u201310 Mbps for 1080p60.<\/li>\n<li><strong>Ingest<\/strong> \u2014 push to your origin over <a href=\"https:\/\/liveapi.com\/blog\/rtmp-server\/\" target=\"_blank\">RTMP<\/a> (with the caveat that legacy RTMP doesn&#8217;t carry AV1 \u2014 most pipelines use <a href=\"https:\/\/liveapi.com\/blog\/srt-protocol\/\" target=\"_blank\">RTMP enhanced or SRT<\/a>) or WebRTC.<\/li>\n<li><strong>Package<\/strong> \u2014 segment the AV1 stream into fMP4 or CMAF chunks.<\/li>\n<li><strong>Deliver<\/strong> \u2014 fan out via CDN to AV1-capable clients with an H.264 fallback rendition for the rest.<\/li>\n<\/ol>\n<h3>Real-Time AV1 Encoders<\/h3>\n<p>For live streaming, hardware encoders are effectively the only option in 2025:<\/p>\n<ul>\n<li><strong>NVENC AV1<\/strong> on RTX 4000-series GPUs hits 500+ fps at 1080p.<\/li>\n<li><strong>Intel Quick Sync AV1<\/strong> on Arc A380\/A770 is the most cost-effective option for transcoding farms.<\/li>\n<li><strong>AMD AMF AV1<\/strong> on RDNA 3 has caught up in quality and is competitive on price.<\/li>\n<\/ul>\n<p>SVT-AV1 at preset 12 or 13 can also keep up with live on a beefy multi-core server, but it costs significantly more in CPU time than a dedicated <a href=\"https:\/\/liveapi.com\/blog\/hevc-hardware-encoder\/\" target=\"_blank\">hardware encoder<\/a>.<\/p>\n<h3>Twitch and AV1<\/h3>\n<p>Twitch began rolling out AV1 ingest in 2024 via WHIP (WebRTC-HTTP Ingestion Protocol). The platform&#8217;s enhanced broadcasting program targets 1080p60 at 8 Mbps using AV1, which would have required 14\u201316 Mbps in H.264. Other platforms are following suit, though most still default to H.264 ingest and transcode to AV1 server-side.<\/p>\n<h2>Choosing the Right AV1 Encoder for Your Project<\/h2>\n<p>The encoder choice depends on three questions: what is your latency budget, what is your quality budget, and how big is your library.<\/p>\n<h3>Self-Assessment<\/h3>\n<p>Pick <strong>SVT-AV1<\/strong> (software) if:<\/p>\n<ul>\n<li>You are encoding VOD content that will be served many times.<\/li>\n<li>You care more about bandwidth savings than encoding speed.<\/li>\n<li>You have multi-core servers or cloud workers available.<\/li>\n<li>You need fine-grained quality control (two-pass, per-title encoding).<\/li>\n<\/ul>\n<p>Pick <strong>NVENC, Quick Sync, or AMF<\/strong> (hardware) if:<\/p>\n<ul>\n<li>You are encoding live streams in real time.<\/li>\n<li>You need to transcode thousands of streams in parallel.<\/li>\n<li>You are doing game capture, screen recording, or cloud gaming.<\/li>\n<li>Wall-clock time is more expensive than a few percent of bandwidth.<\/li>\n<\/ul>\n<p>Pick <strong>libaom-av1<\/strong> if:<\/p>\n<ul>\n<li>You are running quality benchmarks or research experiments.<\/li>\n<li>You are encoding archival masters where time does not matter.<\/li>\n<li>You need the full AV1 feature set including the newest tools.<\/li>\n<\/ul>\n<p>Pick a <strong>managed encoding API<\/strong> like LiveAPI&#8217;s Video Encoding API if:<\/p>\n<ul>\n<li>You don&#8217;t want to run encoding infrastructure.<\/li>\n<li>You need adaptive bitrate ladders generated automatically.<\/li>\n<li>You need playback URLs and an <a href=\"https:\/\/liveapi.com\/blog\/video-player-api\/\" target=\"_blank\">embeddable player<\/a> ready to ship.<\/li>\n<li>You are integrating video into an application and want predictable, pay-as-you-grow pricing.<\/li>\n<\/ul>\n<h3>Where LiveAPI Fits<\/h3>\n<p>LiveAPI provides a <a href=\"https:\/\/liveapi.com\/blog\/video-transcoding-api\/\" target=\"_blank\">video transcoding API<\/a> and <a href=\"https:\/\/liveapi.com\/live-streaming-api\/\" target=\"_blank\">live streaming API<\/a> that handle ingest, encoding, packaging, and delivery without running your own encoders. Videos upload via REST, get encoded into adaptive bitrate ladders, and are available for playback in seconds. Live streams ingest over RTMP and SRT, transcode into HLS renditions, and fan out via Akamai, Cloudflare, and Fastly. For teams that want AV1 bandwidth savings without standing up an FFmpeg cluster, a managed API is usually the faster path.<\/p>\n<h2>AV1 Encoding FAQ<\/h2>\n<h3>What does AV1 stand for?<\/h3>\n<p>AV1 stands for AOMedia Video 1. AOMedia is the Alliance for Open Media, the consortium of streaming, browser, and chip companies that develops and licenses AV1 as a royalty-free codec.<\/p>\n<h3>Is AV1 encoding free?<\/h3>\n<p>Yes. AV1 is royalty-free for both encoders and decoders. AOMedia members cross-license their patents under terms that prohibit per-unit or per-stream royalty claims, and the encoder reference implementations (libaom, SVT-AV1, rav1e) are all open source.<\/p>\n<h3>How much smaller are AV1 files than H.264?<\/h3>\n<p>In independent testing, AV1 produces files 40\u201350% smaller than H.264 at matched visual quality, depending on content and encoder settings. Compared with H.265\/HEVC, AV1 is typically 20\u201330% smaller. Animation and screen content see larger gains than live-action footage.<\/p>\n<h3>Is AV1 encoding slow?<\/h3>\n<p>AV1 software encoding is slower than H.264 by a factor of 3\u2013100\u00d7 depending on the encoder and preset. SVT-AV1 at preset 6 runs at roughly 10\u201330\u00d7 real-time on modern multi-core CPUs. Hardware AV1 encoders on Nvidia RTX 40-series, Intel Arc, and AMD RDNA 3 GPUs encode faster than real time at 1080p60.<\/p>\n<h3>Which browsers support AV1?<\/h3>\n<p>Chrome (70+), Firefox (67+), Edge (121+), Opera (57+), and Samsung Internet (12+) support AV1 in software via the dav1d decoder. Safari 17 supports AV1 only on Apple devices with hardware AV1 decoders \u2014 M3 Macs and later, iPhone 15 Pro and 16 family, M4 iPad Pro and later.<\/p>\n<h3>What&#8217;s the difference between AV1 and H.265?<\/h3>\n<p>Both are next-generation codecs that target 30\u201350% better compression than H.264. AV1 is royalty-free and was designed for internet streaming. H.265 is patent-pooled with per-unit fees and was designed for broadcast and Blu-ray. AV1 has better browser support; H.265 has better Apple support. For a full comparison see the AV1 vs H.265 article linked above.<\/p>\n<h3>What is SVT-AV1?<\/h3>\n<p>SVT-AV1 is the Scalable Video Technology for AV1 encoder, originally built by Intel and Netflix and adopted by AOMedia as the official next-generation AV1 encoder in 2020. It is 2\u20135\u00d7 faster than libaom at similar quality and is the recommended starting point for production AV1 encoding.<\/p>\n<h3>Can I encode AV1 in OBS?<\/h3>\n<p>Yes. OBS Studio supports AV1 encoding via NVENC (RTX 40-series and newer), Intel Quick Sync (Arc and 13th-gen+ integrated graphics), and AMD AMF (RDNA 3 and newer). Software AV1 encoding via SVT-AV1 is also available but is generally too slow for live use.<\/p>\n<h3>Does YouTube use AV1?<\/h3>\n<p>Yes. YouTube began serving AV1 streams in 2018 and now uses AV1 for high-view-count videos and on devices with hardware AV1 decoders. Netflix, Meta, Vimeo, and Twitch also use AV1 in production.<\/p>\n<h3>What&#8217;s the best CRF value for AV1?<\/h3>\n<p>For SVT-AV1, CRF 30 is the default and a good starting point for high-quality streaming. Drop to CRF 24\u201328 for archival or visually lossless work, and raise to CRF 32\u201336 for smaller files at acceptable quality. Test on your own content \u2014 perceptual quality varies with source detail and motion.<\/p>\n<h2>Get Started with AV1 Encoding<\/h2>\n<p>AV1 is the right codec for high-volume streaming where bandwidth costs matter, browser reach is good enough, and you can afford the encoding overhead \u2014 either with SVT-AV1 on capable CPUs or with hardware encoders on modern GPUs. Pair it with an H.264 fallback for older devices, encode to multiple bitrate renditions, and segment for <a href=\"https:\/\/liveapi.com\/blog\/what-is-http-live-streaming\/\" target=\"_blank\">HLS<\/a> or DASH delivery.<\/p>\n<p>If you would rather skip the encoder benchmarks and segment alignment, <a href=\"https:\/\/liveapi.com\/\" target=\"_blank\">try LiveAPI free<\/a> \u2014 the API handles ingest, transcoding, ABR packaging, and delivery via Akamai, Cloudflare, and Fastly, so your team can ship video features in days instead of months.<\/p>\n<p>Sources: <a href=\"https:\/\/en.wikipedia.org\/wiki\/AV1\" target=\"_blank\" rel=\"nofollow\">AV1 \u2014 Alliance for Open Media<\/a>, <a href=\"https:\/\/developer.nvidia.com\/blog\/improving-video-quality-and-performance-with-av1-and-nvidia-ada-lovelace-architecture\/\" target=\"_blank\" rel=\"nofollow\">Improving Video Quality and Performance with AV1 (Nvidia)<\/a>, <a href=\"https:\/\/trac.ffmpeg.org\/wiki\/Encode\/AV1\" target=\"_blank\" rel=\"nofollow\">FFmpeg AV1 Encoding Wiki<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\">14<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span> Netflix reported in late 2025 that around 30% of its streams now play back in AV1, and YouTube, Meta, and Twitch are pushing similar shifts. The reason is simple: AV1 cuts file sizes by 30\u201350% versus older codecs at matching visual quality, which translates directly into lower CDN bills and better playback on slow networks. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1045,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_yoast_wpseo_title":"AV1 Encoding: How It Works, Encoders, and How to Use It %%sep%% %%sitename%%","_yoast_wpseo_metadesc":"Learn how AV1 encoding works, see the top AV1 encoders (SVT-AV1, libaom, rav1e), FFmpeg commands, and how to add AV1 video to your app.","inline_featured_image":false,"footnotes":""},"categories":[12],"tags":[],"class_list":["post-1044","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-encoding"],"jetpack_featured_media_url":"https:\/\/liveapi.com\/blog\/wp-content\/uploads\/2026\/05\/av1-encoding.jpg","yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v15.6.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<meta name=\"description\" content=\"Learn how AV1 encoding works, see the top AV1 encoders (SVT-AV1, libaom, rav1e), FFmpeg commands, and how to add AV1 video to your app.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/liveapi.com\/blog\/av1-encoding\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"AV1 Encoding: How It Works, Encoders, and How to Use It - LiveAPI Blog\" \/>\n<meta property=\"og:description\" content=\"Learn how AV1 encoding works, see the top AV1 encoders (SVT-AV1, libaom, rav1e), FFmpeg commands, and how to add AV1 video to your app.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/liveapi.com\/blog\/av1-encoding\/\" \/>\n<meta property=\"og:site_name\" content=\"LiveAPI Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-05-15T02:49:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-05-15T02:50:09+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data1\" content=\"20 minutes\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/liveapi.com\/blog\/#website\",\"url\":\"https:\/\/liveapi.com\/blog\/\",\"name\":\"LiveAPI Blog\",\"description\":\"Live Video Streaming API Blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/liveapi.com\/blog\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/liveapi.com\/blog\/av1-encoding\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/liveapi.com\/blog\/wp-content\/uploads\/2026\/05\/av1-encoding.jpg\",\"width\":1880,\"height\":1259,\"caption\":\"Photo by panumas nikhomkhai on Pexels\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/liveapi.com\/blog\/av1-encoding\/#webpage\",\"url\":\"https:\/\/liveapi.com\/blog\/av1-encoding\/\",\"name\":\"AV1 Encoding: How It Works, Encoders, and How to Use It - LiveAPI Blog\",\"isPartOf\":{\"@id\":\"https:\/\/liveapi.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/liveapi.com\/blog\/av1-encoding\/#primaryimage\"},\"datePublished\":\"2026-05-15T02:49:25+00:00\",\"dateModified\":\"2026-05-15T02:50:09+00:00\",\"author\":{\"@id\":\"https:\/\/liveapi.com\/blog\/#\/schema\/person\/98f2ee8b3a0bd93351c0d9e8ce490e4a\"},\"description\":\"Learn how AV1 encoding works, see the top AV1 encoders (SVT-AV1, libaom, rav1e), FFmpeg commands, and how to add AV1 video to your app.\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/liveapi.com\/blog\/av1-encoding\/\"]}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/liveapi.com\/blog\/#\/schema\/person\/98f2ee8b3a0bd93351c0d9e8ce490e4a\",\"name\":\"govz\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/liveapi.com\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ab5cbe0543c0a44dc944c720159323bd001fc39a8ba5b1f137cd22e7578e84c9?s=96&d=mm&r=g\",\"caption\":\"govz\"},\"sameAs\":[\"https:\/\/liveapi.com\/blog\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/liveapi.com\/blog\/wp-json\/wp\/v2\/posts\/1044","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/liveapi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/liveapi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/liveapi.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/liveapi.com\/blog\/wp-json\/wp\/v2\/comments?post=1044"}],"version-history":[{"count":1,"href":"https:\/\/liveapi.com\/blog\/wp-json\/wp\/v2\/posts\/1044\/revisions"}],"predecessor-version":[{"id":1046,"href":"https:\/\/liveapi.com\/blog\/wp-json\/wp\/v2\/posts\/1044\/revisions\/1046"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/liveapi.com\/blog\/wp-json\/wp\/v2\/media\/1045"}],"wp:attachment":[{"href":"https:\/\/liveapi.com\/blog\/wp-json\/wp\/v2\/media?parent=1044"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/liveapi.com\/blog\/wp-json\/wp\/v2\/categories?post=1044"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/liveapi.com\/blog\/wp-json\/wp\/v2\/tags?post=1044"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}