Selur's Little Message Board

Full Version: Cropped area must have Mod2 offset
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
Code:
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.
Send you a link to a dev version which adds the mod4 requirement for Avisynth TTempsmooth and Vapoursynth MCTemporalDenoise.

Cu Selur