hi everyone
i need add a logo to MeGUI with custom resize, position, transparent and time to visible and invisible.
thats my script:
i can load and change position but cant resize, transparent and custom time to visible and invisibleCode:LoadPlugin("C:\MeGUI-2808-32\tools\lsmash\LSMASHSource.dll") LWLibavVideoSource("C:\Video.mkv") #deinterlace crop(0, 162, 0, -162) Lanczos4Resize(1920,752) # Lanczos4 (Sharp) #denoise clip=last logo=ImageSource("C:\11.png", pixel_type="RGB32") Overlay(clip,logo,mask=logo.ShowAlpha(),x=0,y=680)
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 8 of 8
Thread
-
-
Code:
LoadPlugin("C:\MeGUI-2808-32\tools\lsmash\LSMASHSource.dll") LWLibavVideoSource("C:\Video.mkv") #deinterlace crop(0, 162, 0, -162) Lanczos4Resize(1920,752) # Lanczos4 (Sharp) #denoise clip=last logo=ImageSource("C:\11.png", pixel_type="RGB32").ShowAlpha(pixel_type="YV12").Tweak(bright=-64).Lanczos4Resize(320,240) Overlay(clip,logo,mask=logo,x=0,y=680)
Last edited by Atak_Snajpera; 17th Jul 2018 at 09:37.
-
thanks buudy.
thats right
Code:LoadPlugin("C:\MeGUI-2808-32\tools\lsmash\LSMASHSource.dll") LWLibavVideoSource("C:\Video.mkv") #deinterlace #crop #resize #denoise clip=last logo=ImageSource("C:\Users\Hello!\Downloads\Telegram Desktop\qur9_19[1].png", pixel_type="RGB32").Lanczos4Resize(200,80) Overlay(clip,logo,mask=logo.showalpha(pixel_type="YV12").Tweak(bright=-64),x=0,y=960)
but how can i use trim?Last edited by enable; 17th Jul 2018 at 13:37.
-
Code:
LoadPlugin("C:\Users\Hello!\Downloads\Compressed\MeGUI-2808-32\tools\lsmash\LSMASHSource.dll") LWLibavVideoSource("C:\Users\Hello!\Downloads\Video\INNA - Amazing (Official Video).mkv") #deinterlace #crop #resize #denoise LoadPlugin("C:\Users\Hello!\Downloads\Compressed\MeGUI-2808-32\tools\avisynth_plugin\VSFilter.dll") TextSub("C:\Users\Hello!\Desktop\FILMBIN.ass", 1) clip=last logo=ImageSource("C:\Users\Hello!\Downloads\Telegram Desktop\qur9_19[1].png", pixel_type="RGB32").Lanczos4Resize(200,80) logo=logo.Spline36Resize(DESIRED_WIDTH, DESIRED_HEIGHT) # scale logo Overlay(clip,logo,mask=logo.showalpha(pixel_type="YV12").Tweak(bright=-64),x=0,y=960) Part1 = last.Trim(0,N) # part with logo Part2 = clip.Trim(N+1,0) # pat without logo part1++Part2 # append Part1 (with logo) and Part2 (without logo)
Last edited by jagabo; 17th Jul 2018 at 11:00.
-
-
For fading your logo you can use Trim() with overlapping segements and the Dissolve() filter.
Code:Part1 = last.Trim(0,N+23) # part with logo Part2 = clip.Trim(N,0) # pat without logo Dissolve(Part1, Part2, 24) # append Part1 (with logo) and Part2 (without logo) with 24 frame dissolve (crossfade)
-
I am writing the same code you gave, but I am getting an error. The version of MeGui I'm using is 2913 Devolopment
[Attachment 63142 - Click to enlarge]
Similar Threads
-
x265 parameters to retain image grain
By vhelp in forum Video ConversionReplies: 8Last Post: 8th Oct 2016, 20:39 -
How do I put an image (logo)in video by stax rip or MeGUI
By CM PUNK in forum SubtitleReplies: 1Last Post: 14th Feb 2015, 13:21 -
How to do MeGUI parameters
By yaston in forum Newbie / General discussionsReplies: 19Last Post: 22nd Jan 2015, 09:27 -
MeGUI use only 40%-50% from CPU when add logo to video
By JoJoJoJo in forum Video ConversionReplies: 3Last Post: 29th Jan 2014, 00:40 -
Add custom column or tags to files?
By vangelon in forum Newbie / General discussionsReplies: 5Last Post: 9th Oct 2013, 18:23