Hello...
I'm using the following line on Avisynth (originally both videos are from the same Width, Height and format)
Stackhorizontal(ReduceBy2(AviSource("C:\test\v2.av i")),AviSource("C:\test\v2.avi"))
but i'm receiving a msg saying : "Stackhorizontal heights don't match"
is there anyway to this ?
the objective here is to have 2 videos, side by side and one with half size.
something like this :
Code:- - - - - - - - - | | | | - - - | | - - - - - -
+ Reply to Thread
Results 1 to 11 of 11
-
-
no - they have to be the same dimensions
one option would be to add blackborders to one so it matches the dimensions of the other
addborders() -
thanks poisondeathray
would be possible pls provide an example ?
the original video has Width 368 and Height 208 -
AddBorders(left,top,right,bottom)
Since you are reducing by 2 , you need to add 184, and 104 somewhere to the x and y dimensions -
Code:
AVISource("v2.avi") full=last ReduceBy2() AddBorders(0,0,width,height) Stackhorizontal(last,full)
-
i've just realized that adding black borders for the first video, the second one will still have the same size....
the intention here is to have the first video small so the second video can be larger ....
is it possible this ? -
Originally Posted by zsuppguy
I hardcoded this example with values instead of variables, but just to illustrate what's going on. You can adjust where the black borders are, and you could crop away the left black border
Code:colorbars() lanczosresize(368,208) a=last colorbars() lanczosresize(368,208) reduceby2() addborders(184,104,0,0) b=last Stackhorizontal(b,a)
-
Originally Posted by zsuppguy
My script works, try it.
You can make the colour of the borders white or any other colour if you prefer to the default black.
A variation: just to pad the bottom:
Code:AVISource("v2.avi") full=last ReduceBy2() AddBorders(0,0,0,height) Stackhorizontal(last,full)
-
thanks poisondeathray and AlanHK for the example... i tried and it work pretty well .... but i made a mistake on my first post... there are v1.avi and v2.avi...both from the same size ...
v1 should be small (should be reduced 50%) ...
v2 should have its size plus the area freed by v1 ....
i'm sorry not being so clear since first post ....
I really appreciate your attention guys !
Similar Threads
-
DVD FLICK, Start-up Error Msg-Unable to created txt file. Last DLL error: 5
By jacknscoob in forum Authoring (DVD)Replies: 5Last Post: 4th Mar 2012, 08:58 -
Error with Xvid4PSP when converting MKV to AVI (VirtualDub Error)
By Peter25 in forum Newbie / General discussionsReplies: 1Last Post: 9th Apr 2009, 18:10 -
Avisynth stackhorizontal Audio possible from the RIGHT video?
By dererik in forum EditingReplies: 3Last Post: 19th Jul 2008, 10:47 -
Get many error messages, AviSynth error message and meGUI error
By MKVcrazy in forum Video ConversionReplies: 0Last Post: 25th Aug 2007, 16:41