Posts: 460
Threads: 108
Joined: Jul 2020
I'm trying to run a Temporal DeNoise filter in Vapoursynth, but I am getting "Python exception: Cropped area must have Mod2 offset". How do I fix this?
I just tried re-exporting the clip with a Mod2 slight resize, but I still get the same error.
It also would not run in Avisynth.
Hybrid_2021.12.12.1
Posts: 10.656
Threads: 57
Joined: May 2017
12.02.2022, 13:44
(This post was last modified: 12.02.2022, 13:51 by Selur.)
F i l e " C : \ P r o g r a m F i l e s \ H y b r i d \ 6 4 b i t \ v s s c r i p t s \ h a v s f u n c . p y " , l i n e 3 3 2 1 , i n M C T e m p o r a l D e n o i s e
r e t u r n s m P . s t d . C r o p ( * * c r o p _ a r g s )
Okay, seems like MCTemporalDenoise requires content to be mod4, your input is 774x576 where the 774 is only mod2.
(really strange input resolution)
I'll look into it and will write a workaround for it.
Quote:It also would not run in Avisynth.
MCTemporalDenoise is only available in Vapoursynt in Hybrid. -> confused
Cu Selur
Ps.: as a workaround you could crop the source by 2 pixel in width before applying MCTemporalDenoise.
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Posts: 10.656
Threads: 57
Joined: May 2017
Send you a link to a dev version which adds the mod4 requirement for Avisynth TTempsmooth and Vapoursynth MCTemporalDenoise.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.