I have 4 video clips that I want to show at the same time so they each take up a quater of the screen, can anyone tell me how to do this.
Craig
+ Reply to Thread
Results 1 to 12 of 12
-
-
For example you can use Avisynth. Here is a sample script:
Code:clip1=AVISource("e:\dir\filename1.avi") \ .BicubicResize(160,128,0,0.5).AddBorders(8,8,8,8) clip2=AVISource("e:\dir\filename2.avi") \ .BicubicResize(160,128,0,0.5).AddBorders(8,8,8,8) clip3=AVISource("e:\dir\filename3.avi") \ .BicubicResize(160,128,0,0.5).AddBorders(8,8,8,8) clip4=AVISource("e:\dir\filename4.avi") \ .BicubicResize(160,128,0,0.5).AddBorders(8,8,8,8) v1=StackVertical(clip1,clip2) v2=StackVertical(clip3,clip4) StackHorizontal(v1,v2)
-
Hey Truman,
that was cool.
Any more fancy avisynth examples up your sleeve? -
Trueman,
I have put the dll file in the windows/system folder and ran the install file. But media player wont open the *.avs files I create. I am using notepad as my text editor. Any suggestions.
Craig -
I notice that notepad still gives a txt extension eg TEMP.AVS.TXT, could this be the problem
Craig -
That was the problem I enclosed the filename in quotes - "temp.avs" and it works.
Thanks Truman.
Craig -
Truman
Although it appears to be working now if I use your script I get the error
Unexpected character "\"
This is my script
clip1=AVISource("c:\welbeck\capture01.avi")
\ .BicubicResize(160,128,0,0.5).AddBorders(8,8,8,8)
clip2=AVISource("c:\welbeck\capture02.avi")
\ .BicubicResize(160,128,0,0.5).AddBorders(8,8,8,8)
clip3=AVISource("c:\welbeck\capture03.avi")
\ .BicubicResize(160,128,0,0.5).AddBorders(8,8,8,8)
clip4=AVISource("c:\welbeck\capture04.avi")
\ .BicubicResize(160,128,0,0.5).AddBorders(8,8,8,8)
v1=StackVertical(clip1,clip2)
v2=StackVertical(clip3,clip4)
StackHorizontal(v1,v2)
Craig -
Yes, it is quite difficult to post a script with long lines here, that's why I used the backslash. Actually you could copy the sample script and edit the filenames.
I try it once again.
clip1=AVISource("e:\dir\filename1.avi").BicubicRes ize(160,128,0,0.5).AddBorders(8,8,8,8)
clip2=AVISource("e:\dir\filename2.avi").BicubicRes ize(160,128,0,0.5).AddBorders(8,8,8,8)
clip3=AVISource("e:\dir\filename3.avi").BicubicRes ize(160,128,0,0.5).AddBorders(8,8,8,8)
clip4=AVISource("e:\dir\filename4.avi").BicubicRes ize(160,128,0,0.5).AddBorders(8,8,8,8)
v1=StackVertical(clip1,clip2)
v2=StackVertical(clip3,clip4)
StackHorizontal(v1,v2)
This is the same as the script above and the same as
clip1=AVISource("e:\dir\filename1.avi")
BicubicResize(clip1,160,128,0,0.5)
AddBorders(clip1,8,8,8,8)
clip2=AVISource("e:\dir\filename2.avi")
BicubicResize(clip2,160,128,0,0.5)
AddBorders(clip2,8,8,8,8)
clip3 etc.etc
v1=StackVertical(clip1,clip2)
v2=StackVertical(clip3,clip4)
StackHorizontal(v1,v2)
as long as there is no audio source in the script. If an audio source and AudioDub comes into the game I recommend to use one line for each clip (track). I noticed, that Avisynth ignores some filters if the order is wrong. -
Originally Posted by offline
-
It worked, thanks a lot Truman, I'll get some brownie points for this one.
Cheers
Craig -
Originally Posted by Truman
but my problem with the manual is (and this is the same with
any scripting/programing language) is that I get lost too easily
just reading it. I'm one of those ppl that need to reverse engineer
someone else's applied efforts in order to kick my brain cells
into some sort of life.
So if you have any scripts you consider to be unusual or
of particular use, I'd be interested and others would be
as well, I should think. -
You may search the forum for "Avisynth script" and "Truman" to view some simple scripts or visit Doom9's Avisynth forum for more advanced scripts.
Similar Threads
-
I need help ripping videos from Youtube so you can edit them
By SmellsOfMahogny in forum EditingReplies: 5Last Post: 25th Oct 2011, 05:26 -
how to edit h.264 he-aac ts videos
By jamespoo in forum EditingReplies: 3Last Post: 1st Mar 2011, 22:10 -
what simple app to edit HD videos?
By unknown00 in forum Newbie / General discussionsReplies: 4Last Post: 1st Aug 2009, 11:07 -
How to edit videos in Vegas pro 9.0
By freestyler9 in forum EditingReplies: 3Last Post: 1st Aug 2009, 07:03 -
How to edit videos captured via TV card?
By cristolin in forum DVB / IPTVReplies: 3Last Post: 24th Feb 2008, 14:32