Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 15th August 2003, 05:14   #1  |  Link
zeus163
Registered User
 
Join Date: Apr 2002
Posts: 134
Side by side comparison script question

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!
zeus163 is offline   Reply With Quote
Old 15th August 2003, 06:12   #2  |  Link
stickboy
AviSynth Enthusiast
 
Join Date: Jul 2002
Location: California, U.S.
Posts: 1,267
Re: Side by side comparison script question

Code:
# (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:
Code:
clip1 = AVISource("script1.avs")
clip2 = AVISource("script2.avs")

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

Last edited by stickboy; 15th August 2003 at 06:15.
stickboy is offline   Reply With Quote
Old 15th August 2003, 06:23   #3  |  Link
zeus163
Registered User
 
Join Date: Apr 2002
Posts: 134
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!!!

Last edited by zeus163; 15th August 2003 at 06:30.
zeus163 is offline   Reply With Quote
Old 15th August 2003, 06:42   #4  |  Link
stickboy
AviSynth Enthusiast
 
Join Date: Jul 2002
Location: California, U.S.
Posts: 1,267
Oops, I misunderstood your original post. This should do what you want:
Code:
clip1 = AVISource("script1.avs").Crop(0, 0, 360, 480)
clip2 = AVISource("script2.avs").Crop(360, 0, 360, 480)
StackHorizontal(clip1, clip2)

Last edited by stickboy; 15th August 2003 at 06:46.
stickboy is offline   Reply With Quote
Old 15th August 2003, 06:47   #5  |  Link
zeus163
Registered User
 
Join Date: Apr 2002
Posts: 134
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!!!
zeus163 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:52.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.