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 |
|
|
#21 | Link |
|
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,836
|
I've now pushed the latest version to the repo. Quite a few small tweaks there, namely the ability to tweak the saturation of the FGS analysis clip and doing tone mapping of HDR sources (using DGHDRtoSDR) and adjustable downscaling in the scene change detection phase for faster processing and increased accuracy. The progress bar also works better now and gives a more accurate estimate of remaining time.
I've put several grain table files in the repo as well if anyone finds them useful.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... Last edited by Boulder; 8th October 2023 at 15:13. |
|
|
|
|
|
#22 | Link |
|
Derek Prestegard IRL
![]() Join Date: Nov 2003
Location: Los Angeles
Posts: 6,017
|
Hmm... comparing those encodes against the reference in the free version of MSU VQMT I see a slight hue shift towards magenta in the AV1 version but not in the HEVC version... Not sure what could be the cause of that.
__________________
These are all my personal statements, not those of my employer :) |
|
|
|
|
|
#23 | Link | |
|
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,836
|
Quote:
I need to test this with different cases and try to replicate it with the vanilla aomenc so I can see if the problem's there or in the lavish fork.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
|
|
|
|
|
|
#24 | Link |
|
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,836
|
The hue shift issue occurs when using FGS and 8-bit input, works fine if the source is converted to 10 bits or an FGS table is not used. I didn't check if it applies to 8-bit encodes, as there's really no use doing those.
I've opened a case in the aomedia issue tracker, let's see if anything happens. For the time being, I need to add the conversion step to my tool. I still think that a B/W film grain table is better than one with chroma data included
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
|
|
|
|
|
#25 | Link | |
|
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 5,132
|
Quote:
|
|
|
|
|
|
|
#26 | Link |
|
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,836
|
I've developed the tool further along the way and the latest change was to add the support for encoding end credits using different Q and --cpu-used.
I think the next bigger step will be adding support for SVT-AV1, there is a huge performance boost incoming and also very interesting development regarding aq-mode 2 and low contrast sources which are often a problem for encoders.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
|
|
|
|
|
#27 | Link |
|
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,836
|
A lot more development has been done lately, now the tool supports svt-av1, rav1e and x265. In addition to that, you can create Dolby Vision compatible encodes using svt-av1-psy (https://github.com/gianni-rosato/svt-av1-psy).
More things coming soon, I've been moving the encoder parameters to a preset file and should be able to push that change to the repo during this week.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... Last edited by Boulder; 10th March 2024 at 19:49. |
|
|
|
|
|
#28 | Link |
|
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,836
|
I was finally able to finish the changes regarding moving settings to a separate preset file.
DoVi for x265 is still pending though, I think I'll get that working next.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
|
|
|
|
|
#29 | Link |
|
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,836
|
DoVi for x265 works now, so I think it's time to let the script rest a while unless something interesting pops up. The forthcoming SVT-AV1 v2.0 will include a huge quality boost when the variance boost feature will be included in mainline from the psy mod, so definitely check it out even if you don't use this script
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
|
|
|
|
|
#30 | Link | |
|
Moderator
![]() Join Date: Jan 2006
Location: Portland, OR
Posts: 5,132
|
Quote:
|
|
|
|
|
|
|
#31 | Link | |
|
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,836
|
Quote:
What the script simply does is that it splits the RPU based on the chunks so each chunk to encode gets proper metadata. mkvmerge must be used to concatenate the chunks as it does not remove the data while muxing.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
|
|
|
|
|
|
#32 | Link | |
|
Registered User
Join Date: Dec 2021
Location: Canada
Posts: 37
|
Quote:
|
|
|
|
|
|
|
#33 | Link |
|
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,836
|
Some more development done based on the SSIMULACRA2-based auto-boost feature by trixoniisama (https://github.com/trixoniisama/auto-boost-algorithm). Works on SVT-AV1 and x265.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
|
|
|
|
|
#35 | Link |
|
Registered User
Join Date: Aug 2024
Location: Between my two ears
Posts: 940
|
I don't really understand why av1an chose rust though. A scripting language is enough and maybe more suitable. Considering the VapourSynth requirement of it, Python would be an almost perfect choice.
|
|
|
|
|
|
#36 | Link |
|
Registered User
Join Date: Aug 2024
Location: Between my two ears
Posts: 940
|
Here's my weird approach, the main goal is to not wait for the scene change detection to complete but do encoding "on the fly", because for quite a long time and forseeable future before x266 is ready, I almost exclusively use x265 for any "serious business" encoding (i.e. probably using some heavy vapoursynth script), I use AV1 for some simple transcoding, thus speed is very important.
https://github.com/Mr-Z-2697/ideal-c...ain/segsaio.py Maybe you can find it helpful. Not necessarily the "on the fly" thing, the scene change detection should be much faster, and perhaps better. The mvtools method used by default is running 600+ FPS on my Ryzen 7950X. Alternatively the deep learning method can be used, the speed of current default model and execution provider (DirectML) is 400+ FPS on RTX 4090 (not full utilized, only draws ~150W). If you Gfx card is reasonablely new and have free resources during encoding, offloading scene change detection to it can free up some CPU resources for encoder. Last edited by Z2697; 9th October 2024 at 16:02. |
|
|
|
|
|
#37 | Link |
|
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,836
|
Just to let you know that I've been developing the script slowly but surely, and some new things like target quality for Butteraugli and CVVDP are now there. The latter one in particular is very interesting as it's a video quality metric with viewing setup parameters available, so the encodes can be targeted to your own setup instead of trying to achieve some general quality level. It is not perfect, but it's much more fun to use than trying to encode a TV series and figuring out things episode by episode. Set the target high enough and it's quite likely that the result will look good to you.
Using the svt-av1-hdr fork (https://github.com/juliobbv-p/svt-av1-hdr) encoder is highly recommended, although a lot of the things are already in mainline SVT-AV1
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
|
|
|
|
|
#38 | Link |
|
Registered User
Join Date: Jun 2020
Posts: 51
|
https://slow.pics/c/KN96LvKW
comparaison AV1 : encode 7000kbps video Source : BD REMUX 23000kbps video 99% quality Bluray source me setting AV1 :-)
__________________
|
|
|
|
|
|
#39 | Link |
|
Registered User
Join Date: Feb 2003
Location: Palmcoast of Norway
Posts: 369
|
Is it me or has AV1 become alot better in last years?
I recently did a test on AV1 (SVT-AV1 latest version) vs x264 from a prores source 1080p24 Where ate AVG-VMAF@95, the AV1 result was like 1/3 of the bitrate vs AVC and encoding AV1 was just a tad slower than x264. Used P4 in svt-av1 Dell R630 Dual Intel 6140 = 72 cores @ Redhat 9. Is it AVX2/AVX512 support that is boosting the svt-encoder ? Last edited by TEB; 22nd January 2026 at 02:17. |
|
|
|
|
|
#40 | Link |
|
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,836
|
AV1 has definitely been improved a lot during the last year or so, thanks to the open source community
![]() At preset 2, which is the sweet spot for SVT-AV1 (until v4.0.0, which probably changes this to P1), 1440p encodes run at 7-8 fps on my 5950X using chunked encoding and minor filtering. I'm sure AVX2 plays a big part here.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|