Log in

View Full Version : converting 60i to 24p using dgbob


scharfis_brain
7th July 2003, 09:27
I was bored this morning, so I made this script:

loadplugin("c:\test\dgbob.dll")

i=avisource("C:\test\doom9.avi")
i1=dgbob(i,order=1)
i2=assumefieldbased(i1)
#deinterlace.

ax=selectevery(i2,5,0)
#select 1 of 5

b2=doubleweave(i2)
b3=lanczosresize(b2,640,480)
b4=assumefieldbased(b3)
bx=selectevery(b4,5,2)
#blend frames together and select 2.5 of 5

z=interleave(ax,bx)

return(z)

first, i've tested selectevery(5,0,2) only for 60 -> 24 conversion but the motion was jittery.

so I blended every other frame in the resulting 24fps Video, because of this the motion has no jitter.

it works this way:A B C D E F G H I J K
| V | V |
1 2 3 4 5