gianni-rosato / svt-av1-psy

The Scalable Video Technology for AV1 (SVT-AV1 Encoder and Decoder) with perceptual enhancements for psychovisually optimal AV1 encoding
BSD 3-Clause Clear License
199 stars 16 forks source link

Var-boost 8x8 algorithm can be prone to temporal pulsing for higher CRFs (>=40) and high boost strengths #5

Closed juliobbv-p closed 6 months ago

juliobbv-p commented 8 months ago

Settings: --variance-boost-strength 3 --new-variance-octile 4 --crf 40

Parasite @ 39:22, Blu-Ray source There's incoming sunlight light coming from the car's back window that's shining through the passenger's face and hair. The hair shows noticeable pulsing (detail disappearing and reappearing), which doesn't happen in the 64x64 version of the encode.

Avenues to explore:

juliobbv-p commented 8 months ago

Update: further evaluation like pulsing for the problematic scene is essentially eliminated when any of these conditions are true:

Short term, I'll be making a point release that makes strength 2 the default for var-boost. At this stage, it's best to offer something gentle, but reliable. Long term, I'm keeping this open to make higher CRFs on higher strengths behave better.

juliobbv-p commented 8 months ago

Changed default strength to "gentle" here: https://github.com/gianni-rosato/svt-av1-psy/commit/6c1740e304abc1805505dd47633d058f6a0b4051.

juliobbv-p commented 6 months ago

This has been fixed with the upgrade to var-boost v6: https://github.com/gianni-rosato/svt-av1-psy/commit/3dac523f8db4443527a3a57ab5804686f35d322d