Lenchik
11th April 2007, 20:29
a2 = DirectShowSource("test1-1.avi",23.976,audio=false)#.info()
b2 = DirectShowSource("test1-2.avi",23.976,audio=false).bicubicresize(960,544)
b2 = b2.trim(152,0)#.info()
e1=Compare(a2,b2)
e2=Subtract(a2,b2)
c=StackHorizontal (e1,e2)
d=StackHorizontal (a2,b2)
f=StackVertical(c,d)
return e2
I have at least one frame delay (maybe only one) when i am seeking in virtualdub or MPC. If i am going from frame to frame from beginning to end - all is OK. Frames in sources seem to be identical. But if i place "e2.trim(500,0)" at the end - again 1 frame delay (of the second test avi)
What happens and how to avoid it?
b2 = DirectShowSource("test1-2.avi",23.976,audio=false).bicubicresize(960,544)
b2 = b2.trim(152,0)#.info()
e1=Compare(a2,b2)
e2=Subtract(a2,b2)
c=StackHorizontal (e1,e2)
d=StackHorizontal (a2,b2)
f=StackVertical(c,d)
return e2
I have at least one frame delay (maybe only one) when i am seeking in virtualdub or MPC. If i am going from frame to frame from beginning to end - all is OK. Frames in sources seem to be identical. But if i place "e2.trim(500,0)" at the end - again 1 frame delay (of the second test avi)
What happens and how to avoid it?