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 > General > Newbies

Reply
 
Thread Tools Search this Thread Display Modes
Old 31st May 2024, 09:36   #1  |  Link
mtommy2008
Registered User
 
Join Date: Jan 2024
Posts: 1
Should I start encoding with AV1?

Hi, I wonder, should I start encoding with AV1, rather than H.265?
I read that AV1 compresses much better than H.265 and now it also supports HDR.

Which AV1-encoder should I use for archiving video?
AOM-AV1 or SVT-AV1? I hear that AOM-AV1 gives better video-quality than the faster SVT-AV1.

Last edited by Swede; 5th June 2024 at 14:35. Reason: Hidden link
mtommy2008 is offline   Reply With Quote
Old 4th June 2024, 05:30   #2  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 1,128
No, start with mpeg-1 and work your way up LOL.

But seriously, Xvid has an excellent balance of speed, compression efficiency, and compatibility with other programs and file formats (like AVI). I'd recommend starting with it.
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers.
Katie Boundary is offline   Reply With Quote
Old 7th July 2024, 10:03   #3  |  Link
GeoffreyA
Donor
 
Join Date: Jun 2024
Location: South Africa
Posts: 659
It depends on your use case. AV1 has considerably better compression than H.265, but if you want to archive video, you may find that the picture, while excellent, comes out softer than expected. It leaves older codecs behind at lower bitrates and does quite well with anime. From a compatibility point of view, AV1 may not play on one's TV or other hardware devices.

AOM has marginally better quality than SVT-AV1 and is a lot slower. If you'd like to try AV1, perhaps experiment with the two encoders in FFmpeg. Quality is controlled by -crf as in x264/5, a lower value giving better quality. A lower -preset or -cpu-used leads to better efficiency but at the cost of speed; you will want to use values of 4 and 3, respectively, for a final encode.

Code:
ffmpeg -i INPUT.mp4 -c:v libsvtav1 -preset 6 -crf 25 -g 240 -svtav1-params tune=0 -c:a copy OUTPUT.mp4
ffmpeg -i INPUT.mp4 -c:v libaom-av1 -cpu-used 5 -crf 25 -g 240 -c:a copy OUTPUT.mp4
There is also the newer H.266/VVC. Fraunhofer's VVenC encoder is slightly ahead of AV1 and, arguably, a touch sharper; but its medium preset is impractically slow at present and has to be weighed against the minor gains over AV1. Use -qp to control quality.

Code:
ffmpeg -i INPUT.mp4 -c:v libvvenc -preset fast -qp 25 -period 10 -c:a copy OUTPUT.mp4
GeoffreyA is offline   Reply With Quote
Old 6th August 2024, 14:18   #4  |  Link
Atlantis
Registered User
 
Join Date: Feb 2002
Posts: 776
What I'm doing now is that I use H.265 for 2K and AV1 for 4K.
Atlantis is offline   Reply With Quote
Old 6th August 2024, 15:24   #5  |  Link
Corn Xin
Banned
 
Join Date: Aug 2017
Posts: 7
Quote:
Originally Posted by mtommy2008 View Post
Hi, I wonder, should I start encoding with AV1, rather than H.265?
I read that AV1 compresses much better than H.265 and now it also supports HDR.

Which AV1-encoder should I use for archiving video?
AOM-AV1 or SVT-AV1? I hear that AOM-AV1 gives better video-quality than the faster SVT-AV1.
Hey! AV1's compression and HDR support are tempting, but consider the trade-offs. If your target devices support AV1 and you have the processing power, go for it!

For archiving, I'd recommend AOM-AV1 for its quality benefits. It's slower, but worth it. If you're short on time, SVT-AV1 is a good alternative.
Corn Xin is offline   Reply With Quote
Old 6th August 2024, 22:22   #6  |  Link
dracore
Registered User
 
Join Date: Oct 2006
Posts: 58
Yes, AV1 compression is very good and HDR support is a big plus.
If you want the best possible quality for your archive, I recommend the AOM-AV1.
It will be slower, but it's worth it.
The SVT-AV1 isn't bad either; it's just a good compromise between speed and quality.
Either way, it will be exciting to see how these encoders continue to develop and improve.
dracore is offline   Reply With Quote
Old 11th August 2025, 21:07   #7  |  Link
Forteen88
Herr
 
Join Date: Apr 2009
Location: North Europe, too cold winters.
Posts: 566
Quote:
Originally Posted by GeoffreyA View Post
Code:
ffmpeg -i INPUT.mp4 -c:v libsvtav1 -preset 6 -crf 25 -g 240 -svtav1-params tune=0 -c:a copy OUTPUT.mp4
ffmpeg -i INPUT.mp4 -c:v libaom-av1 -cpu-used 5 -crf 25 -g 240 -c:a copy OUTPUT.mp4
Sharpness seems to be an important option for keeping details in AV1 too,
Quote:
The **"Sharpness"** option in SVT-AV1 via FFmpeg isn't just a basic sharpening filter—it plays a deeper role in how the encoder balances **detail preservation** and **compression efficiency**.

### What "Sharpness" Really Does in SVT-AV1

The `sharpness` parameter in SVT-AV1 affects **how aggressively the encoder smooths or retains fine details** during compression. Here's a breakdown:

- **Not a post-processing filter**: It doesn't apply sharpening to the final image like a typical image editor would.
FFMPEG SVT-AV! seems to set default "sharpness=0", while I have heard that the original (non-FFMPEG) SVT-AV1 keeps "sharpness=2" as default.
"sharpness=4" was good on the last source-video I tried it on.
Forteen88 is offline   Reply With Quote
Old 11th August 2025, 22:09   #8  |  Link
GeoffreyA
Donor
 
Join Date: Jun 2024
Location: South Africa
Posts: 659
Quote:
Originally Posted by Forteen88 View Post
Sharpness seems to be an important option for keeping details in AV1 too,

FFMPEG SVT-AV! seems to set default "sharpness=0", while I have heard that the original (non-FFMPEG) SVT-AV1 keeps "sharpness=2" as default.
"sharpness=4" was good on the last source-video I tried it on.
Yes. The fork SVT-AV1-PSY has a lot more variables to adjust, and can preserve detail and grain tolerably well. There are psy settings and different tunes. Some features were merged into mainline SVT-AV1.

https://github.com/psy-ex/svt-av1-ps...ses/tag/v3.0.2
GeoffreyA is offline   Reply With Quote
Old 12th August 2025, 03:58   #9  |  Link
Z2697
Registered User
 
Join Date: Aug 2024
Location: Between my two ears
Posts: 940
Default sharpness is also 0 in mainline CLI, and it's not that important really, it controls in-loop deblocking filter, and a bit of rd process (why do both in one parameter tho?).
Z2697 is offline   Reply With Quote
Old 12th August 2025, 16:38   #10  |  Link
Forteen88
Herr
 
Join Date: Apr 2009
Location: North Europe, too cold winters.
Posts: 566
Quote:
Originally Posted by GeoffreyA View Post
Yes. The fork SVT-AV1-PSY has a lot more variables to adjust, and can preserve detail and grain tolerably well. There are psy settings and different tunes. Some features were merged into mainline SVT-AV1.
https://github.com/psy-ex/svt-av1-ps...ses/tag/v3.0.2
Yeah, SVT-AV1-PSY is great for grainy live-action source-videos, but for tutorials (like Visual Studio screen capture, not much grain) source-videos, plain SVT-AV1 is good.


Quote:
Originally Posted by Z2697 View Post
Default sharpness is also 0 in mainline CLI
Oh, M$ Copilot-ChatBot is wrong as usual then Thanks.

Last edited by Forteen88; 13th August 2025 at 09:06.
Forteen88 is offline   Reply With Quote
Old 12th August 2025, 16:55   #11  |  Link
GeoffreyA
Donor
 
Join Date: Jun 2024
Location: South Africa
Posts: 659
Quote:
Originally Posted by Forteen88 View Post
Yeah, SVT-AV1-PSY is great for grainy live-action source-videos, but for tutorials (like Visual Studio screen capture, not much grain) source-videos, plain SVT-AV1 is good.
SVT-AV1 should have a screen-content tune, which would help in that regard, but I'm not sure about it. Funny enough, I found that for screen content, or even live action, Intel's hardware AV1 encoder did well. In Resolve, I used the Intelligent Quality Control setting at 8, and the results were transparent and small.
GeoffreyA is offline   Reply With Quote
Old 12th August 2025, 17:11   #12  |  Link
Forteen88
Herr
 
Join Date: Apr 2009
Location: North Europe, too cold winters.
Posts: 566
Quote:
Originally Posted by GeoffreyA View Post
SVT-AV1 should have a screen-content tune, which would help in that regard, but I'm not sure about it. Funny enough, I found that for screen content, or even live action, Intel's hardware AV1 encoder did well. In Resolve, I used the Intelligent Quality Control setting at 8, and the results were transparent and small.
Yeah, screen-content tune would be great. Currently I use this SVT-AV1 commandline for screen-content often:
Quote:
ffmpeg.exe -i "input_video.mp4" -c:v libsvtav1 -preset 2 -crf 24 -g 300 -svtav1-params lp=4:tune=0:lookahead=80:scd=1:scm=1:sharpness=2:enable-overlays=1 -vf "cas=strength=0.5" -metadata:s:v:0 encoder="SVT-AV1 v3.1.0-6-g380af557 (preset 2, crf 24, g 300, tune=0, lookahead=80, scd=1, scm=1, sharpness=2, enable-overlays=1, vf(cas=strength=0.5))" -c:a copy "output-av1.mkv"

Last edited by Forteen88; 13th August 2025 at 09:06. Reason: sharpness=4 might be too much as general setting, so changed it.
Forteen88 is offline   Reply With Quote
Old 12th August 2025, 17:19   #13  |  Link
GeoffreyA
Donor
 
Join Date: Jun 2024
Location: South Africa
Posts: 659
Thanks. I might find it handy because I often encode screen content, but hadn't worked out a proper SVT-AV1 command line for that. A Google search reveals that scm=1 activates full screen-content mode.
GeoffreyA is offline   Reply With Quote
Old 12th August 2025, 17:34   #14  |  Link
Forteen88
Herr
 
Join Date: Apr 2009
Location: North Europe, too cold winters.
Posts: 566
Quote:
Originally Posted by GeoffreyA View Post
A Google search reveals that scm=1 activates full screen-content mode.
Yeah,
Quote:
scm=1 — Screen Content Mode
Purpose: Optimizes encoding for screen content, such as desktop captures, presentations, or animations.

Effect: Enables tools and heuristics that improve compression efficiency for content with sharp edges, text, and limited color variation.

Use Case: Ideal for videos that are not natural scenes—think screencasts, software tutorials, or slideshows.
Forteen88 is offline   Reply With Quote
Reply

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 02:33.


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