PDA

View Full Version : Side by side comparison script question


zeus163
15th August 2003, 06:14
Usually when I'm trying different scripts, I view them in VirtualDub, but since the end product is generally for DVDR projects, I encode and then test them out on the DVD player and TV. This method works fine, but I have to switch between clips and sometimes I think I imagine differences in the encodes.

What I'd like to do is be able to do a side by side comparison. I will be using the same .avi file, but would like one half of the screen to be one script and the other script to be fill in the second half. So, script 1 would be 1-360 X 420 and script 2 would be 360-720 X 420. That way when I burn them to a DVD+RW I can do a side by side comparison and really tell if their are differences.

I'm not sure this is possible, but avisynth has so much that I don't understand to begin with, that I'd be surprised if this wasn't possible. I'm just not sure how to do this.

Thanks!

stickboy
15th August 2003, 07:12
# (where'd 420 come from?)
clip1 = AVISource("script1.avs").LanczosResize(360, 420)
clip2 = AVISource("script2.avs").LanczosResize(360, 420)

StackHorizontal(clip1, clip2)

I have a hard time telling differences from side-by-side comparisons. I'd personally prefer:
clip1 = AVISource("script1.avs")
clip2 = AVISource("script2.avs")

Interleave(clip1, clip2)and flip back and forth between even and odd frames in VirtualDub.

zeus163
15th August 2003, 07:23
Thanks for your response. Doh! 420 is supposed to be 480! I hosed that one pretty good!!! I changed the 420 to 480 from above.

I'm going to give this a whirl. I do have a question about this though. If I look at this right, then I will have the exact same thing appearing twice. Is there such a way to make it so that script 1 goes to the middle (i.e. cut in half) and script 2 is the second half, filling up the rest of the screen? So, it was like looking at one picture, but the difference in the encodes is split down the middle?

Does that make sense?

This is chugging away and I'll test it tomorrow after work. Wouldn't you know it, my first meeting for the upcoming school year and I'm going to be thinking about this all day!!!

stickboy
15th August 2003, 07:42
Oops, I misunderstood your original post. This should do what you want:clip1 = AVISource("script1.avs").Crop(0, 0, 360, 480)
clip2 = AVISource("script2.avs").Crop(360, 0, 360, 480)
StackHorizontal(clip1, clip2)

zeus163
15th August 2003, 07:47
Thanks again.

I probably didn't word what I wanted to say correctly. I have that problem. I'll give this a whirl when this one is done!

Woo-hoo!!!