master-of-zen / Av1an

Cross-platform command-line AV1 / VP9 / HEVC / H264 encoding framework with per scene quality encoding
GNU General Public License v3.0
1.4k stars 147 forks source link

Photon noise arguments #764

Closed superyu1337 closed 1 year ago

superyu1337 commented 1 year ago

Fixed for newest changes Old PR description below:

Adds photon-noise-width and photon-noise-height, allows for setting the right resolution of the photon noise table in case of resolution adjustments via ffmpeg filters.

Here's a before and after. The source is in 4k, downscaled to 1080p and cropped to 1920x816. Both encodes used --photon-noise 20

Before: Before

After: After Discord message for more info + testclip

shssoichiro commented 1 year ago

Can you run cargo fmt and then push please? Looks like that's the step that's failing in CI.

superyu1337 commented 1 year ago

Will do once im home.