I would like to add multiple image logo into one video with different position. What code I should use to add another logo?
I've tried using Overlay, this one allows me to display one logo.
Code:LoadPlugin("C:\Program Files\MeGUI\tools\avs\plugins\directshowsource.dll") DirectShowSource("G:\Video.mp4", fps=27.154, audio=false, convertfps=true).AssumeFPS(13577,500) LoadPlugin("C:\Program Files\MeGUI\tools\avs\plugins\ImageSeq.dll") a2=ImageReader("G:\logo1.png").LanczosResize(100,100) a3=ImageReader("G:\logo1.png", pixel_type="RGB32").ShowAlpha(pixel_type="RGB32").LanczosResize(100,100) Overlay(a1, a2, mask=a3,0,0) ConvertToYV12()
+ Reply to Thread
Results 1 to 3 of 3
-
Last edited by xwizardx; 4th Mar 2019 at 14:12.
-
That code isn't going to work as a1 was never created. I would avoid using DirectShowSource() except as a last resort. Otherwise you want something like:
Code:DirectShowSource("G:\Video.mp4", fps=27.154, audio=false, convertfps=true).AssumeFPS(13577,500) logo1 = ImageReader("G:\logo1.png").LanczosResize(100,100) alpha1 = logo1.ShowAlpha(pixel_type="RGB32") Overlay(last, logo1, mask=alpha1, x=0, y=0) # x,y coordinates to suit logo2 = ImageReader("G:\logo2.png").LanczosResize(100,100) alpha2 = logo2.ShowAlpha(pixel_type="RGB32") Overlay(last, logo2, mask=alpha2, x=500, y=300) # x,y coordinates to suit ConvertToYV12()
Similar Threads
-
I'd like some advice: Removing logo with avisynth
By Nain in forum EditingReplies: 6Last Post: 17th Aug 2018, 13:07 -
How to add any Logo in Video (using Subtitle)
By Aashik Alam in forum Video ConversionReplies: 1Last Post: 26th Dec 2015, 02:34 -
how do i do this? Add 2015 logo with Vegas
By chakalaka25 in forum EditingReplies: 1Last Post: 21st Nov 2015, 13:09 -
How to Remove Channel Logo with Avisynth?
By VideoFanatic in forum Video ConversionReplies: 32Last Post: 14th Feb 2015, 13:51 -
Remove logo with AviSynth
By Ninelpienel in forum EditingReplies: 6Last Post: 18th May 2014, 21:16