i know i can stack vertically and horizontally with avisynth but am looking for a little more nuance than i've seen so far.
i have three files, each 1440x1080p, that i want to compare. i want to stack them with the first two side by side. i know i can use stack horizontal for that. what i haven't seen yet is a way to stack the third in the center below the first two. how can i do that? i guess what i'd ideally like is more control over the exact positioning within a defined frame size.
thanks,
babag
+ Reply to Thread
Results 1 to 6 of 6
-
-
Or if you want more flexible over the x-position, enter the valueCode:
a=whateversource b=whateversource c=whateversource stackvertical(stackhorizontal(a,b) , c.addborders(c.width/2,0,c.width/2),0)
Code:xpos = 200 a=whateversource b=whateversource c=whateversource d=blankclip(width=c.width*2) stackvertical(stackhorizontal(a,b) , overlay(d,c, x=xpos))
Last edited by poisondeathray; 11th Dec 2022 at 16:27.
-
thanks, pdr! never would have thought of that on my own. makes perfect sense now that i see it, though.
the xpos version is even better!
thanks again,
babagLast edited by BabaG; 11th Dec 2022 at 16:37.
-
just getting to trying this as my renders have taken a couple of days.
getting errors with the suggested code and my files.
first was easy to solve. just a misplaced parentheses in this line:
changing the next to last parentheses position allows script to load:Code:stackvertical(stackhorizontal(a,b) , c.addborders(c.width/2,0,c.width/2),0)
second example is beyond my ability to find the error:Code:stackvertical(stackhorizontal(a,b) , c.addborders(c.width/2,0,c.width/2,0))
i'm guessing it may be in this line:Overlay: input and overlay clips must have the same bit depths!
i believe this creates a dummy clip that has twice the width of clip c. all of the files i'm compositing here are 10bit x264. i'm guessing that the dummy or blank clip is not? if that's right, i don't know how to change it to match the other clips.Code:d=blankclip(width=c.width*2)
thanks,
babag -
Sorry, it should be d=blankclip(c, width=c.width*2)
blankclip(x) makes a blankclip the characteristics of clip "x", including dimensions, pixel type, fps etc...
Similar Threads
-
Alternatives to getwvkeys
By Joeyjojos in forum Video Streaming DownloadingReplies: 5Last Post: 3rd Nov 2022, 01:22 -
stackvertical: image widths don't match
By maudit in forum EditingReplies: 4Last Post: 29th Oct 2022, 05:47 -
Looking for Vapoursynth filter alternatives/ports for some Avisynth filters
By Selur in forum Newbie / General discussionsReplies: 8Last Post: 12th May 2021, 12:09 -
Two alternatives
By Amitay in forum Newbie / General discussionsReplies: 15Last Post: 1st Mar 2021, 08:16 -
[avisynth] is there a SmoothFPS2 script optical flow alternatives?
By marcorocchini in forum Newbie / General discussionsReplies: 1Last Post: 2nd Jan 2020, 12:11



Quote