Log in

View Full Version : Combining Pulldown with Trim - How??


tyee
4th March 2002, 02:26
greetings
I'm trying to do the above but not having success yet. I've loaded a very large .avi and I want to apply a different pulldown filter to different frames that I've selected with the Trim filter in the .avi. I tried this but VirtualDub gave me an error --

AviSource("c:\movie.avi")
DoubleWeave()
Pulldown(Trim(0,40277),1,3) ++ Pulldown(Trim(40851,69124,2,4)


Is there a way to do this?

Tyee

Whoops, I forgot a bracket above. I added it and then Vdub took it OK.

If anyone has a better way please post, thanks.

tyee
4th March 2002, 06:43
This script isn't working for me. Anyone got any better ideas?

I want to find the points in the movie where the pulldown changes and then enter this frame number into the script, then reload the script in Vdub to find the next frame where the change in pulldown occurs.

I've been trying this and I'm still playing around with it ---

Video=AVISource("Side12.avi") ++ AVISource("Side34.avi") ++ AVISource("Side56.avi")

a=Video.DoubleWeave().Pulldown(0,2).Trim(0,69133).BicubicResize(704,368,0,0.6,8,103,704,274).AddBorders(8,56,8,56).ResampleAudio(44100)
b=Video.DoubleWeave().Pulldown(0,2).Trim(69134,0).BicubicResize(704,368,0,0.6,8,103,704,274).AddBorders(8,56,8,56).ResampleAudio(44100)
return a++b#++c++d++e++f++g++h++i++j

The # character is where I can control the return result and find the next point of pulldown change. The problem seems to be after I find the first point (69133), then reload this script into Vdub, if I look back to frames before 69133 I see interlacing! What have I done wrong?

Tyee