AV1 - grain and sharpness
-
- Posts: 16
- Joined: Thu Mar 02, 2023 11:59 am
AV1 - grain and sharpness
a post in reddit mentioned, that with AV1 encoding vs 265 encoding it is important to set the encoding to "movie grain" in order to prevent that faces become flat and without details.
Now i wonder where to set "film qualty" in handbrake 161.
In the denoise filter I see an option for film.
And in sharpness filter, I see an option as well.
Both filters however reduce the encoding speed.
Is there a better global way and setting to ensure that the encoding tries to keep details in faces and so on?
So, I do not care with filters?
Now i wonder where to set "film qualty" in handbrake 161.
In the denoise filter I see an option for film.
And in sharpness filter, I see an option as well.
Both filters however reduce the encoding speed.
Is there a better global way and setting to ensure that the encoding tries to keep details in faces and so on?
So, I do not care with filters?
Re: AV1 - grain and sharpness
It would be an encoder tune, not a filter.
-
- Posts: 16
- Joined: Thu Mar 02, 2023 11:59 am
Re: AV1 - grain and sharpness
@mduell
"would be an encoder tune"
pls have a look at this article:
https://www.reddit.com/r/AV1/comments/o ... se_of_use/
It is 2 years old, but is referring to recommended handbrake settings regarding grain.
However I do not find such settings as encoder tune.
I use the nlmeans filter mostly ultralight with tuning "film"
It seams there is no general encoder tune as gui available in handbrake.
And I wonder, what to do, when more sharpness is needed.
The unsharpen filter is not very specific documented - at least in German language.
The LapSharp filter is better documented. I use the tuning "film" as well. But I guess, that there is no impact on the general grain.
To summarize:
I have the notion, that the handbrake gui has no encoder tune besides using the noise filter, which is however slowing down the encoding very much.
@rodeo
I was referring to handbrake and gui settings and not to AOMedia Codec and the formulas.
"would be an encoder tune"
pls have a look at this article:
https://www.reddit.com/r/AV1/comments/o ... se_of_use/
It is 2 years old, but is referring to recommended handbrake settings regarding grain.
However I do not find such settings as encoder tune.
I use the nlmeans filter mostly ultralight with tuning "film"
It seams there is no general encoder tune as gui available in handbrake.
And I wonder, what to do, when more sharpness is needed.
The unsharpen filter is not very specific documented - at least in German language.
The LapSharp filter is better documented. I use the tuning "film" as well. But I guess, that there is no impact on the general grain.
To summarize:
I have the notion, that the handbrake gui has no encoder tune besides using the noise filter, which is however slowing down the encoding very much.
@rodeo
I was referring to handbrake and gui settings and not to AOMedia Codec and the formulas.
Re: AV1 - grain and sharpness
There's a text box for advanced encoder options. That's where you would use SVT-AV1's "film-grain" and related options.
-
- Posts: 16
- Joined: Thu Mar 02, 2023 11:59 am
Re: AV1 - grain and sharpness
Good advice, Rodeo.
Do you have a notion, what to put in there?
I am not a developer ...
And in the end it should be more effective from the timing as the noise filter.
Or should I maybe ask in another section of the handbrake forum?
Do you have a notion, what to put in there?
I am not a developer ...
And in the end it should be more effective from the timing as the noise filter.
Or should I maybe ask in another section of the handbrake forum?
Re: AV1 - grain and sharpness
https://gitlab.com/AOMediaCodec/SVT-AV1 ... tav1params
https://gitlab.com/AOMediaCodec/SVT-AV1 ... ic-options
--film-grain n becomes film-grain=n where n in between 0 and 50; I've seen anecdotal evidence of people recommending 10 here and there.
https://gitlab.com/AOMediaCodec/SVT-AV1 ... ic-options
--film-grain n becomes film-grain=n where n in between 0 and 50; I've seen anecdotal evidence of people recommending 10 here and there.
-
- Posts: 16
- Joined: Thu Mar 02, 2023 11:59 am
Re: AV1 - grain and sharpness
thanks Rodeo, for the links.
There are 2 settings for noise. I will try them.
I detected, that for H.264 there are tuning settings in the GUI available.
Even some for H.265.
But none for AV1. So I need to evaluate the above.
There are 2 settings for noise. I will try them.
I detected, that for H.264 there are tuning settings in the GUI available.
Even some for H.265.
But none for AV1. So I need to evaluate the above.
Re: AV1 - grain and sharpness
x264 and x265 have tunes to better preserve source grain. AV1 doesn't bother with it and goes for denoise + grain synthesis as documented earlier ( https://gitlab.com/AOMediaCodec/SVT-AV1 ... nthesis.md )
-
- Posts: 16
- Joined: Thu Mar 02, 2023 11:59 am
Re: AV1 - grain and sharpness
Sorry,
now I come to the question how to use the additional parameters:
I address the Video tab in the GUI, encoder settings, text window 'additional settings'
there I enter:
'--film-grain 50 --film-grain-denoise 1'
But the protocol tells me:
'encsvtav1: error parsing option --film-grain 50 --film-grain-denoise 1: (null)'
How can I use the parameter window and/or the film-grain options correctly?
now I come to the question how to use the additional parameters:
I address the Video tab in the GUI, encoder settings, text window 'additional settings'
there I enter:
'--film-grain 50 --film-grain-denoise 1'
But the protocol tells me:
'encsvtav1: error parsing option --film-grain 50 --film-grain-denoise 1: (null)'
How can I use the parameter window and/or the film-grain options correctly?
Re: AV1 - grain and sharpness
option=value:option=value