The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||
Warning [2] Trying to access array offset on null - Line: 14 - File: inc/plugins/cookielaw.php(272) : eval()'d code PHP 8.3.12-nmm1 (Linux)
|
GrainFactory3 support for AviSynth ?? - Printable Version +- Selur's Little Message Board (https://forum.selur.net) +-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html) +--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html) +--- Thread: GrainFactory3 support for AviSynth ?? (/thread-2282.html) |
GrainFactory3 support for AviSynth ?? - The_Tinkerer - 20.02.2022 Is there a reason it isn't included? I could have sworn it used to be but I could be mistaken. I tested it and it works. It has "texture" variables that control how the grain looks, that Vapoursynth doesn't. (g1tex, g2tex, g3tex) It works for both YV12 and YV24. Works on both 32 and 64 bit AviSynth. http://avisynth.nl/index.php/GrainFactory3 Import("C:\Program Files\Hybrid\64bit\Avisynth\avisynthPlugins\GrainFactory3.avsi") There is a mod which is more like Vapoursynth in that it allows grain settings for chroma, and also can use f3kdb instead of AddGrainC as a grain generator. I tested it and it also works. (Avoid any leading 0's in the settings, i.e., use .90, not 0.90) It works for both YV12 and YV24. Works on both 32 and 64 bit AviSynth. https://github.com/dsamahentai/AviSynth_Filters/blob/master/GrainFactory3mod_v1.2.avsi Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\GrainFactory3mod_v1.2.avsi") Finally there's another mod "with stacked 16-bit input/output support", "processing in 16-bit precision". I tested it and it also works. This one doesn't have the "texture" variables. It's "strength" settings are different in that they are much weaker, so higher settings are needed to get equivalent results to the versions above, and even higher for f3kdb grain (>100). It only works for YV12, but I edited the script and changed lines 239 and 453 from YV12 to YV24 and it seems to work fine with YV24. (I lack the skill to make the script support both.) Works on both 32 and 64 bit AviSynth. https://github.com/dsamahentai/AviSynth_Filters/blob/master/GrainFactoryLite_v1.2.avsi This script also needs another script that isn't in Hybrid: f3kgrain_v0.4.avsi Import("C:\Program Files\Hybrid\32bit\avisynthPlugins\GrainFactoryLite_v1.2.avsi") (Can have ConvertToYV24 if script is edited as specified above.) RE: GrainFactory3 support for AviSynth ?? - Selur - 20.02.2022 Quote:Is there a reason it isn't included?Me not really using Avisynth. Noboody asking for it to be supported. My limited free time. Folks don't add grain that often explitly their content afaik. I usually don't. I'm not too keen on Avisynth, since it's basically Windows only (there are Linux, MacOS versions, but at least nowadays they are no alternative) and at least to me doesn't offer any gain over Vapoursynth. Quote: I could have sworn it used to be but I could be mistaken.Nope, I only added it for Vapoursynth. Unless filters are not maintainable I usually don't remove them. Okay, so question are:
Cu Selur RE: GrainFactory3 support for AviSynth ?? - The_Tinkerer - 20.02.2022 It's actually pretty common for people to want to denoise, then put a little film grain back in afterwards. Film grain <> noise. The reason you see "grain" when you watch film is that that's what the celluloid is actually made out of. It's not an overlay. You see it more on dark areas and less on bright areas. GrainFactory is one of the only plugins I know of for AviSynth/Vapoursynth that does a pretty good job imitating that and looking more genuine. So it's worth it IMHO to have it for AviSynth as well. If you're only going to put one in at some point in the future, I'd probably go with the last one (GrainFactoryLite_v1.2.avsi) because it has the best precision and finest control. Most people don't use the "texture" options anyway. RE: GrainFactory3 support for AviSynth ?? - Selur - 20.02.2022 Okay, I'll try to find time next week or weekend to implement support for GrainFactoryLite. I should probably add support for: https://github.com/realfinder/AVS-Stuff/blob/master/avs%202.5%20and%20up/GrainFactory3mod.avsi since it seems to be based on the version you linked to bug has high bit depth support. ################################################## Cu Selur RE: GrainFactory3 support for AviSynth ?? - Selur - 21.02.2022 Send you a link to a new dev version for testing via pm. (have just checked general funcionality not all parameters&co) Cu Selur |