I've heard it can be done, I was tinkering with it.
This is what I have so far:
LoadPlugin("C:\Program Files (x86)\AviSynth\plugins\ffms2.dll")
Import("C:\Program Files (x86)\AviSynth\plugins\FFMS2.avsi")
AudioDub(FFAudioSource("d1.mp4"),FFVideoSource("d1 .mp4",fpsnum=30000, fpsden=1001,threads=1))
AddBorders(550,0,0,0)
With the borders, that puts the video on one half of the screen. I just don't know exactly how to insert an image or another video to play alongside it.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 7 of 7
Thread
-
-
And
http://avisynth.nl/index.php/StackVertical
http://avisynth.nl/index.php/Overlay.
For example:
Code:v1 = WhateverSource("file1.ext") v2 = WhateverSource("file2.ext") StackHorizontal(v1,v2) # must be same height for StackHorizontal, same width for StackVertical
Code:v1 = WhateverSource("file1.ext") # big video v2 = WhateverSource("file2.ext") # small video Overlay(v1, v2, x=0, y=0) # Overlay small video at top left of big video
Last edited by jagabo; 2nd Dec 2016 at 12:39.
-
-
Yes, it's possible, easy even. Formats not matching usually refers to color space. If your video is YV12, so must be your picture. For example:
v2 = ImageSource("Picture.bmp").ConvertToYV12()
or:
v2 = ImageSource("Picture.bmp",End=1000).ConvertToYV12( )
where 'End' refers to the number of frames you want the picture to last (same as the video?).Last edited by manono; 2nd Dec 2016 at 21:40.
-
That works as well, except for I was testing different images until I used one that got an error:
"Cannot convert if height isn't mod2"
Yes, it's possible, easy even. Formats not matching usually refers to color space. If your video is YV12, so must be your picture. For example:
v2 = ImageSource("Picture.bmp").ConvertToYV12()
or:
v2 = ImageSource("Picture.bmp",End=1000).ConvertToYV12( )
where 'End' refers to the number of frames you want the picture to last (same as the video?). -
Your height has to be divisible by 2. RGB doesn't require it but YV12 does. You can crop away one row of pixels or add a row of black. Something like this:
v2 = ImageSource("Picture.bmp").Crop(0,0,0,-1).ConvertToYV12()
Similar Threads
-
Multi split screen with Avisynth...
By pippas in forum EditingReplies: 3Last Post: 15th Jun 2016, 09:45 -
AviSynth - combine/split screen of two video files
By kj1983 in forum Newbie / General discussionsReplies: 10Last Post: 27th Feb 2014, 21:53 -
Split Screen?
By bencolin in forum Newbie / General discussionsReplies: 2Last Post: 14th Oct 2013, 16:35 -
Using VirtualDub and AviSynth to make a split/PiP movie
By WebMaximus in forum EditingReplies: 18Last Post: 22nd Jun 2013, 07:57 -
Is it possible to split Avisynth output to 2 instances of X264?
By ndjamena in forum Video ConversionReplies: 4Last Post: 25th Mar 2013, 08:50