VideoHelp Forum




+ Reply to Thread
Results 1 to 3 of 3
  1. Member
    Join Date
    Jul 2007
    Location
    United States
    Search Comp PM
    I've got a six window PIP using a AVS script. It's six 4x3 windows in a single 1080p video. I want 5 of the videos to repeat from their beginnings until the end of the longest video (the 6th video). What do I add to my script?:

    A=AviSource("P:\1.avi",Audio=False).Lanczos4Resize (640,480)
    B=AviSource("P:\2.avi",Audio=False).Lanczos4Resize (640,480)
    C=AviSource("P:\3.avi",Audio=False).Lanczos4Resize (640,480)
    D=AviSource("P:\4.avi",Audio=False).Lanczos4Resize (640,480)
    E=AviSource("P:\5.avi",Audio=False).Lanczos4Resize (640,480)
    F=AviSource("P:\6.avi",Audio=False).Lanczos4Resize (640,480)
    G=StackHorizontal(A,B,C)
    H=StackHorizontal(D,E,F)
    StackVertical(G,H)
    AddBorders(0, 30, 0, 30)


    Thanks in advance!
    Quote Quote  
  2. Member ricardouk's Avatar
    Join Date
    Mar 2005
    Location
    Portugal
    Search Comp PM
    Edit your sources to match the length of the longest video.

    You can use virtualdub to edit the videos without losing any quality.

    ex: clip6 is 3m30s, clip 1 is 60s

    open virtualdub, open clip 1 and then press FILE>>>APPEND AVI to load clip1 3 more times, at the end you should have a 4minute clip opened in virtualdub, delete video from 3m30s to 4m00s, export your video and audio in "direct stream mode" to avoid reencoding the video.

    do the same tfor the other videos

    Hope it helps
    Last edited by ricardouk; 2nd Sep 2013 at 09:51.
    I love it when a plan comes together!
    Quote Quote  
  3. Originally Posted by tat2jr1 View Post
    What do I add to my script?
    One way:

    Code:
    A=AviSource("P:\1.avi",Audio=False).Lanczos4Resize(640,480)
    B=AviSource("P:\2.avi",Audio=False).Lanczos4Resize(640,480)
    C=AviSource("P:\3.avi",Audio=False).Lanczos4Resize(640,480)
    D=AviSource("P:\4.avi",Audio=False).Lanczos4Resize(640,480)
    E=AviSource("P:\5.avi",Audio=False).Lanczos4Resize(640,480)
    F=AviSource("P:\6.avi",Audio=False).Lanczos4Resize(640,480)
    
    A=A++A++A... as many times as needed
    B=B++B++B... as many times as needed
    C=C++C++C... as many times as needed
    D=D++D++D... as many times as needed
    E=E++E++E... as many times as needed
    
    G=StackHorizontal(A,B,C)
    H=StackHorizontal(D,E,F)
    StackVertical(G,H)
    AddBorders(0, 30, 0, 30)
    
    Trim(0, F.FrameCount-1)
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!