15.10.2024, 17:40
Strange according to the debug output Vapoursynth complains about:
but looking at the script:
the clip height should be mod4 "708x568" and even when haved, should still be mod2.
=> can you share a small sample (a few seconds) of such a source, so I can reproduce the problem here?
Cu Selur
T r a c e b a c k ( m o s t r e c e n t c a l l l a s t ) :
F i l e " s r c \ \ c y t h o n \ \ v a p o u r s y n t h . p y x " , l i n e 3 3 6 5 , i n v a p o u r s y n t h . _ v p y _ e v a l u a t e
F i l e " s r c \ \ c y t h o n \ \ v a p o u r s y n t h . p y x " , l i n e 3 3 6 6 , i n v a p o u r s y n t h . _ v p y _ e v a l u a t e
F i l e " C : \ U s e r s \ B f i e l d \ A p p D a t a \ L o c a l \ T e m p \ t e m p P r e v i e w V a p o u r s y n t h F i l e 0 9 _ 4 4 _ 4 5 _ 8 4 4 . v p y " , l i n e 5 6 , i n < m o d u l e >
c l i p = h a v s f u n c . Q T G M C ( I n p u t = c l i p , P r e s e t = " F a s t " , T F F = T r u e ) # n e w f p s : 5 0
^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
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 1 7 0 8 , i n Q T G M C
b o b b e d = c l i p . r e s i z e . B o b ( t f f = T F F , f i l t e r _ p a r a m _ a = 0 , f i l t e r _ p a r a m _ b = 0 . 5 )
^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^
F i l e " s r c \ \ c y t h o n \ \ v a p o u r s y n t h . p y x " , l i n e 3 1 0 1 , i n v a p o u r s y n t h . F u n c t i o n . _ _ c a l l _ _
v a p o u r s y n t h . E r r o r : S e p a r a t e F i e l d s : c l i p h e i g h t m u s t b e m o d 2 i n t h e s m a l l e s t s u b s a m p l e d p l a n e
original = clip
clip = core.std.AddBorders(clip=clip, left=0, right=2, top=0, bottom=2) # add borders to archive mod 4 (vsQTGMC) - 708x568
# Deinterlacing using QTGMC
clip = havsfunc.QTGMC(Input=clip, Preset="Fast", TFF=True) # new fps: 50
# Making sure content is preceived as frame based
clip = core.std.SetFrameProps(clip=clip, _FieldBased=vs.FIELD_PROGRESSIVE) # progressive
clip = core.std.Crop(clip=clip, left=0, right=2, top=0, bottom=2) # removing borders (vsQTGMC) - 706x566
original = core.std.AddBorders(clip=original, left=0, right=2, top=0, bottom=2) # add borders to archive mod 4 (vsQTGMC) - 708x568
# Deinterlacing using QTGMC
original = havsfunc.QTGMC(Input=original, Preset="Fast", TFF=True) # new fps: 50
the clip height should be mod4 "708x568" and even when haved, should still be mod2.
=> can you share a small sample (a few seconds) of such a source, so I can reproduce the problem here?
Cu Selur