View Full Version : Is no-strong-intra-smoothing really beneficial?
excellentswordfight
5th May 2019, 13:33
I've been doing some tests with common settings that I see people use arround here for detail retention, and since there is no good tune preset for this, it seems to differ a bit what settings should be used as an substitute for an tune film preset.
For my medium bitrate test (1080p @ 6Mbps) I found that no-strong-intra-smoothing actually only displayed negative effects. So my question is why I see a lot of people using it. Have you done tests or is this somthing that just sounds like it should be befinitial so it's just assumed that it it is? Or maybe its only better at higher bitrate?
https://i.ibb.co/TvZjMYg/x265-film-comparison.png (https://ibb.co/PmRXGF6)
Default: A clear loss in detail, some areas are blurry.
No-sao: Most detail restored, some areas are still blurry
No-sao, deblock -1,-1: Most detail restored, most of the blurry areas are gone.
No-sao, deblock -1,-1, no-strong-intra-smoothing: Most detail restored, blurry areas from the default is back. While not visable in sample, some areas display blocky tendencies simulair to an comparable x264 encode.
Tests are done with Tears of steal uncompressed 4k source downscaled to 1080p encoded with x265 v3.0+14 2pass preset slow. 6Mbps equals crf19 for this sample.
Nico8583
5th May 2019, 15:01
Very interesting topic, I follow it. I will do some tests.
Boulder
5th May 2019, 17:18
I think the non-negative version of the parameter name itself makes people shudder, so they switch it off (me included). Your tests look very interesting indeed. Was the average bitrate almost the same even with the blurry areas? I was just wondering where the bits go if it is..
EDIT: Just for the heck of it, I did a quick search and found an interesting paper saying "..The process was developed to remove some blocking and contouring artifacts visible on extremely smooth image areas.."
"..The process was developed to remove some blocking and contouring artifacts visible on extremely smooth image areas.."
so it might be a good option for cartoons
Boulder
5th May 2019, 18:57
Based on those images, extremely smooth is really not that smooth but more like any quite nicely compressible flat-like area. At least if the effect is what it is doing there..
benwaggoner
5th May 2019, 22:39
Very interesting topic, I follow it. I will do some tests.
The real question is quality @ bitrate? If it adds detail AND bitrate it isn't clear if it is a better deal than using SAO at a lower CRF. Comparing in 2-pass VBR mode would allow apples-to-apples.
I would expect SAO to help more as bitrates go down and CRF goes up.
@excellentswordfight, what's the source bitrate?
I always wondered myself (why people seem to disable strong-intra-smoothing), but was too lazy to complain about it. :D
My (simple) tests showed the same as yours @excellentswordfight, which is why I always kept strong-intra-smoothing.
Thanks for including deblock in your test series! :)
I was always quite happy with the default 0,0 - but -1,-1 is cheap (no real speed or bitrate penalty as far as I remember) so I might add it to my default settings.
The real question is quality @ bitrate? If it adds detail AND bitrate it isn't clear if it is a better deal than using SAO at a lower CRF. Comparing in 2-pass VBR mode would allow apples-to-apples.
I would expect SAO to help more as bitrates go down and CRF goes up.
The lowest bitrates I tested were around 1000kbit/s and still, sao never helped in my eyes.
Also, no-sao does not slow things down or add significant bitrate with reasonable CRFs in my experience.
I always come to the same conclusion, it is a loss/loss to me and I still don't understand how it is default for almost every preset.
It is the one "switch" that changes x265 from good to amazing imho.
excellentswordfight
6th May 2019, 08:34
Based on those images, extremely smooth is really not that smooth but more like any quite nicely compressible flat-like area. At least if the effect is what it is doing there..
The question is if the lack off strong-intra-smoothing is directly related to the defects in this picture, or if it saves that much bitrate elsewere so that bits can be spent on details in areas that are otherwise blury. Eitherway, I can't really find any parts that looks better with it disabled, so it's not like it causes obvious smoothing were it shouldn't.
The real question is quality @ bitrate? If it adds detail AND bitrate it isn't clear if it is a better deal than using SAO at a lower CRF. Comparing in 2-pass VBR mode would allow apples-to-apples.
I would expect SAO to help more as bitrates go down and CRF goes up.
All tests are 2pass VBR, and the question is not regarding SAO but strong intra smoothing. But in terms of SAO, disabling it have never caused any side effects for me outside animation and very low bitrate material. It doesnt effect encoding speed, or increase bitrate @ given CRF level.
@excellentswordfight, what's the source bitrate?
As stated, uncompressed (not really true though, its re-compressed to FFV1, so actually lossless not uncompressed).
The comparison would have been better with a picture of the source frame and not all just compressed frames. From what I remember from my testing, disabling intra smoothing helped retain grain and other similar fine details like skin texture.
In addition to other complaints about x265, I still can't comprehend why deblock 0:0 is default like in x264, this singular setting is the biggest reason a lot of encodes, including broadcast, look so blurry. I would rather have a little bit of macroblocking than the picture turn into complete pudding. Yeah yeah you encode blu-rays as your profession at a gigazillion bytes per second, that's only a very small fraction of what video is compressed. Personally I use -2:-3 at crf 22-24 but even a -1:-1 already gives a massive improvement.
excellentswordfight
8th May 2019, 14:47
The comparison would have been better with a picture of the source frame and not all just compressed frames. From what I remember from my testing, disabling intra smoothing helped retain grain and other similar fine details like skin texture.
In addition to other complaints about x265, I still can't comprehend why deblock 0:0 is default like in x264, this singular setting is the biggest reason a lot of encodes, including broadcast, look so blurry. I would rather have a little bit of macroblocking than the picture turn into complete pudding. Yeah yeah you encode blu-rays as your profession at a gigazillion bytes per second, that's only a very small fraction of what video is compressed. Personally I use -2:-3 at crf 22-24 but even a -1:-1 already gives a massive improvement.
Here is the lossless and the 'slow no-sao deblock' full frame versions. I think the results are very impressive for 6Mbps!
https://i.ibb.co/3mpk26d/ffv1-controll.png (https://ibb.co/Kx2md4h)
https://i.ibb.co/Rbrk1Lb/x265-2pass-6mpbs-no-sao.png (https://ibb.co/V9ncdX9)
Tried another frame as well, this time a "harder" one. It seems like turning off strong intra smoothing hits efficiency pretty hard, in this frame it creates some heavy blocking.
https://i.ibb.co/C2Yz3J6/no-strong-intra-smoothing.png (https://ibb.co/bJCPMHF)
(from left to right: lossless, 'slow no-sao deblock -1,-1', 'slow no-sao deblock -1,-1 no-strong-intra-smoothing'
Forteen88
8th May 2019, 19:39
In addition to other complaints about x265, I still can't comprehend why deblock 0:0 is default like in x264, this singular setting is the biggest reason a lot of encodes, including broadcast, look so blurry. I would rather have a little bit of macroblocking than the picture turn into complete pudding. Yeah yeah you encode blu-rays as your profession at a gigazillion bytes per second, that's only a very small fraction of what video is compressed. Personally I use -2:-3 at crf 22-24 but even a -1:-1 already gives a massive improvement.Probably because having a high deblock-value increases compression (according to b.waggoner here). But yeah, for transparent encodes, having a lower deblock-value (to a point) is great.
I still can't comprehend why deblock 0:0 is default like in x264, this singular setting is the biggest reason a lot of encodes, including broadcast, look so blurry. I would rather have a little bit of macroblocking than the picture turn into complete pudding. Yeah yeah you encode blu-rays as your profession at a gigazillion bytes per second, that's only a very small fraction of what video is compressed. Personally I use -2:-3 at crf 22-24 but even a -1:-1 already gives a massive improvement.
At least judging from my own tests, I do not agree with this.
It sounds very exaggerated to me.
"Blurry", "pudding" and "massive improvement" for deblock 0:0 vs. -1:-1?
Do you have some example frames that show this?
At what bitrates?
I would sign the statement for sao vs. no-sao, but the difference for deblock is quite subtle in my eyes.
Here is the lossless and the 'slow no-sao deblock' full frame versions. I think the results are very impressive for 6Mbps!
https://i.ibb.co/3mpk26d/ffv1-controll.png (https://ibb.co/Kx2md4h)
https://i.ibb.co/Rbrk1Lb/x265-2pass-6mpbs-no-sao.png (https://ibb.co/V9ncdX9)
The result does look good, however I assume the encode is 10bit and the lossless source is 8bit?
The screenshot shows a difference in brightness (and more?), which I found to be common when comparing 8bit to 10bit videos.
It seems like turning off strong intra smoothing hits efficiency pretty hard, in this frame it creates some heavy blocking.
This is in line with the types of artifacts I remember from testing no-strong-intra...
Thanks for sharing. :)
The result does look good, however I assume the encode is 10bit and the lossless source is 8bit?
The screenshot shows a difference in brightness (and more?), which I found to be common when comparing 8bit to 10bit videos.
This is in line with the types of artifacts I remember from testing no-strong-intra...
Thanks for sharing. :)
Yeah I have noticed this brightness difference as well. Strange.
And perhaps I just have perceived these artifacts as increased sharpness.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.