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!
+ Reply to Thread
Results 1 to 3 of 3
-
-
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 helpsLast edited by ricardouk; 2nd Sep 2013 at 09:51.
I love it when a plan comes together! -
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)
Similar Threads
-
Using VirtualDub and AviSynth to make a split/PiP movie
By WebMaximus in forum EditingReplies: 18Last Post: 22nd Jun 2013, 07:57 -
can virtualdub be put into repeat play mode ?
By vhelp in forum Newbie / General discussionsReplies: 0Last Post: 25th Dec 2012, 12:26 -
Area repeat with virtualdub
By zwobot in forum EditingReplies: 3Last Post: 18th Nov 2012, 18:36 -
PIP Problem using AviSynth
By wakeup in forum EditingReplies: 4Last Post: 20th Feb 2012, 18:14 -
AVIsynth: is there such a function like repeat/until or for/next ?
By vhelp in forum EditingReplies: 4Last Post: 8th May 2010, 05:20