Log in

View Full Version : Still trying to work out x265's 'static grain' issue


Pages : 1 [2]

Lucky38
8th August 2024, 10:21
What I usually do is check a "calm" frame with little motion to see the base level (the first value) as this is often dependent on the noisiness of the source (after prefiltering). Then I check one with more motion to see if the second value gets too close to triggering a scene change, in which case thscd1 would need to be a little higher. No need to have the second value at 0 because by default it needs to be over 85 to trigger a scene change. The default thscd1=600 is very much on the safe side and something like 400 would probably work with most sources as well. The difficult scene changes are ones with low luma, it's easy to miss them.

Find a scene change frame and you can see how big the values are there :D

For improved motion detection, I suggest changing search to 5 and raising the searchparam values to something like 16-24 as default. Those old defaults in the script are very conservative what comes to performance.

Thank you :)