Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se

 

Go Back   Doom9's Forum > Video Encoding > High Efficiency Video Coding (HEVC)

Reply
 
Thread Tools Search this Thread Display Modes
Old 13th January 2026, 07:28   #1  |  Link
crush
Registered User
 
Join Date: Jan 2026
Location: Seattle
Posts: 1
Best FFmpeg Presets for HEVC Encoding With AV1 Fallback on Mid-Range GPUs

Hi everyone,

I’ve been using FFmpeg for a while to encode video, and I’m now trying to dial in a workflow that balances quality, speed, and compatibility. My goal is:
  • Encode most of my library in HEVC (x265) with sensible file sizes.
  • Provide an AV1 fallback option for devices that support it.
  • Keep the process fast on a mid-range GPU (RTX 3060 level).

I’m particularly interested in recommendations for:
  1. Preset and tune combinations that give a good balance of quality and encode time for HEVC using NVIDIA NVENC.
  2. Equivalent setups for AV1 (SVT-AV1 / rav1e / GPU) — what codecs and settings are most practical right now?
  3. Real-world examples of command lines you use — especially where you generate two outputs from the same source (HEVC + AV1) with minimal re-processing.

I’m aware of the bitrate ladder approach and CRF targets, but I’d love concrete examples and reasoning behind suggested settings. For instance, how you choose QP/CRF/bitrate targets for HEVC compared to AV1 for similar perceptual quality.

Thanks in advance — keen to see what the community uses as a workflow here.

Emily
crush is offline   Reply With Quote
Old 13th January 2026, 09:24   #2  |  Link
Z2697
Registered User
 
Join Date: Aug 2024
Location: Between my two ears
Posts: 955
HEVC is the codec, hevc_nvenc and x265 are encoder implementations of the codec.
Which one exactly are you asking?
Z2697 is offline   Reply With Quote
Old 15th January 2026, 10:55   #3  |  Link
GeoffreyA
Donor
 
Join Date: Jun 2024
Location: South Africa
Posts: 676
For AV1, try the SVT-AV1-HDR fork, which has good quality and handles grain tolerably well. The classic AV1 encoder, aom, used to have the best quality, but is less important today and terribly slow.

Code:
-c:v libsvtav1 -preset 4 -crf 30 -svtav1-params tune=0
x265 is the most popular HEVC encoder; it needs a bit of tuning to get safe quality. Start off with:

Code:
-c:v libx265 -preset slow -crf 18 -x265-params no-sao=1:deblock=-1,-1:aq-mode=1
Tune from there. Depending on whether the material is 1080p, HDR, or grainy, different approaches can be taken. If the file is too big, try CRF 21 and see what it looks like. When comparing settings, use two passes at the same bitrate. For example:

Code:
ffmpeg -i SRC.mp4 -c:v libx265 -preset slow -b:v 3000k -x265-params pass=1 -f null -
ffmpeg -i SRC.mp4 -c:v libx265 -preset slow -b:v 3000k -x265-params pass=2 TEST.mp4
x265 and SVT-AV1 give better quality per bit than hardware encoders, but today's GPUs do a respectable job and can save time. Perhaps the biggest challenge is encoding grain, where denoising is often needed. Unfortunately, this is not a solved problem.
GeoffreyA is offline   Reply With Quote
Old 15th January 2026, 21:38   #4  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 5,134
Quote:
Originally Posted by crush View Post
Hi everyone,

I’ve been using FFmpeg for a while to encode video, and I’m now trying to dial in a workflow that balances quality, speed, and compatibility. My goal is:
  • Encode most of my library in HEVC (x265) with sensible file sizes.
  • Provide an AV1 fallback option for devices that support it.
  • Keep the process fast on a mid-range GPU (RTX 3060 level).
Those are a hard set to do well at the same time!

What are you source formats and bitrates? Unless they are almost lossless or something ancient like DV25, reencoding enough to save significant bits almost always will have at least a minor visible quality loss. Actually saving bits while preserving source quality making both a HEVC and a AV1 is somewhere between "impossible" and "very slow and hard." Doing it with GPU encoding makes the very slow part better, but also loses some compression efficiency compared to a good software encode.

So, big picture, what are you trying to accomplish?

And is it something that buying a >10 TB hard drive for extra storage would accomplish a lot easier and cheaply? Just the electricity costs for doing this (and then the AC for getting rid of the waste heat of doing it when it gets hot, and this could easily last for seasons if you have a lot of content and you're trying to do an optimal job of it) might be more than the cost of a drive depending on where you live.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book

Last edited by benwaggoner; 15th January 2026 at 21:42.
benwaggoner is offline   Reply With Quote
Reply

Tags
av1, gpu, hevc, quality, video

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:40.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.