r/AV1 • u/Flimsy_Parking_321 • 8d ago
HDLight encode ?
Hello.
For the past few days, I've been testing AV1 encoding with StaxRip I'd like to create HDLight 1080p rips from UHD Blu-ray discs, with a bitrate just under 4'000 Kbps. (Tone Mapping / BT-709 / 10-bit)
I’d like to know which variant is best suited
(SVT-AV1-Essential / SVT-AV1-PSYEX / SVT-AV1-PSY / SVT-AV1, HDR / SVT-AV1-Tritium) as well as the encoding settings to get results as close to the original as possible—especially if the film has grain. Thank you
Translated with DeepL.com (free version)
5
Upvotes
5
u/blu3ysdad 8d ago
Cut a 30 second clip of video where you are most concerned about image quality and test with each variant.
1
u/The_vexxd 7d ago
Svt-av1-psy have closed And svt-av1-psyex is taking its time... I think it was abandoned, I don't know. Options are svt-av1-hdr, svt-av1-tritium, and svt-av1-essential. I've only tried svt-av1-hdr and it was a good experience, Although it's difficult to recommend which parameters to use because I'm not an expert and I would need to take a look at the source to be encoded and I also don't know how to properly encode film grain. I generally use avlan with the source loaded in a Vapoursynth script with denoising that could potentially be inconvenient, You can also use other filters like a degrain filter.
I recommend starting with the parameters;
--preset 4 until 2
--complex-hvs 1
--tune 0 or --tune 6 (which should be film grain tune)
--crf 28 - 24
--hbd-mds 1
--qm-min 4 - 8 and --qm-max 15
--chroma-qm-min 10 and --chroma-qm-max 15
Set a 10-second keyint to improve compression efficiency. --keyint 10s Although I believe that's the default value.
Consider not using --film-grain-denoise 1 because it's not very good. Using --film-grain is a bit tricky because I feel it penalizes encoding speed. I usually use another fgs alternative like photon noise in avlan or grain table.
You can also experiment with --luminance-qp-bias and --qp-scale-compress.
I recommend that you do tests with video fragments that are difficult to encode, zooming in If possible to determine if the quality is good.
Svt-av1-hdr has parameters enabled by default, You can read a bit of the repository's readme on GitHub to learn more.
1
u/Significant_Oven4919 5d ago
Current mainline SVT-AV1 is a reasonable baseline. Compare grain synthesis on and off at your target bitrate using the same tone-mapped 1080p scene. Judge it in motion: synthesis recreates grain, so it won’t preserve the source’s exact grain pattern.
1
u/CariniFluff 1d ago edited 1d ago
My personal settings for 1080p using Essential are:
Left panel:
Right panel:
I always encode the audio to DDP for max support on TVs/streaming boxes /computers. Lately I've been dropping the bit rate from the default 64 0 to 448-512 kbps to easily be high enough quality and it only makes the files about 200-300 MB for a 2-hour movie, which is fine in my book. I try to stay away from AAC given older decoders drop very important advancements (SBR, heAAC, etc) and Opus is not widely supported still (IME).
On my 9800x3D I'm currently encoding at 37.6 FPS with a 3922 KB/s bit rate. Total file size projected to be 2,994 MB taking 62 minutes.
If a 1080p film is coming in at like 5000 kbps, I'll usually bump the quality up to 30 which will usually drop the bit right somewhere in the 3000s. I find films from the early '90s to the late 2000s to sometimes struggle with bit rate because the encoder detects noise (since the films were probably originally filmed for SD/DVD) and that ends up blowing up the file size. A slightly lower quality (higher CRF setting) will make it ignore those without losing detail otherwise.
1
u/S_c_r_a_m_b_l_e_r 8d ago edited 8d ago
SVT-AV1-PSY is obsolete.
SVT-AV1-PSYEX is a good first pick.
SVT-AV1-Tritium is the second one.
Personally, I'd go with SVT-AV1-PSYEX and wouldn't bother with the rest.
Also, I'd use film grain synthesis instead of wasting bitrate on preserving it.
But if you want to preserve the original film grain, SVT-AV1-Tritium may be your primary choice.
The default preset and rate factor settings are a good place to start.
If you want to be picky, encode 10-30 second snippets of the most complex parts of your video (smooth gradients, dark scenes with flat areas and/or gradients, high motion), check the results, and adjust.