Hey guys.
I want to make alpha video (alpha channel) we know that AFX users using this kind of options to export the logo as alpha channel
so I want to do that by using Avs , I have ass file and I want to encode as alpha channel/ RGB32
I tried a lot of things but I didn't get the result that I want !_!
I used this code to make alpha channel video (Dummy) with ass file
Code:FFVideoSource("C:\Users\X\Desktop\Python\dra.mkv", colorspace = "RGB32").showalpha().TextSub("Dra.ass")
I used BlankClip() also , so I encode the dummy video by Lagarith Lossless Codec" with RGB & RGBA mode
but, when I imported alpha video in AvsPmod the text not appearing when I encode With RBGA Mode, but with RGB Mode
only alfa_2 video appearing with white background!!
this my code :
same thing happened with I used (Overlay(A,V, mask =V, mode = "blend" , opacity = 1.0))Code:A = avisource("C:\Users\X\Desktop\New folder (2)\vid.avi") V = avisource("C:\Users\X\Desktop\New folder (2)\alfa_2.avi") insertsign(A, V, 0,0 )
so I want to know, is there something missing, or I did wrong?!
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 6 of 6
Thread
-
-
actually its just OP song I just imported op video (dra.mkv) to get the resolution etc..
it's just an option I used BlankClip also
BlankClip(length = 2109, width = 1280, height = 720, fps = 23.976, pixel_type ="RGB32" )
so I import the FX.avs script to make alpha channel video, to blend alpha video with other one
but in this case I used text jut for testing, someone told me it will work , but I don't know actually. -
Can you describe more clearly what you want to do ? Describe it in plain words, not avisynth
Did you want the subs on a transparent background ? For use in another program ? Because it would be easier to use TextSub() directly
The main problem is you are starting with a non transparent video. Blankclip() video is black. Not transparent. When you use showalpha() it will become white (the A is 100% white in an blank video)
Or am I completely wrong in trying to guess what you want to do ? -
this text Fx by using Avs script
I want to make alpha channel for this Fx to blend it with "X" video like AFX users doing they are exports their works (log or karaoke etc) as alpha channel video
this my script to import Text Fx
Code:Import("C:\Users\X\Desktop\Python\movlay.avsi") ### function to make Fx for text by Import("C:\Users\X\Desktop\Python\OP_FX.avs") ## make mask for ass file "Texts" V = FFVideoSource("C:\Users\X\Desktop\Python\dra.mkv",colorspace = "RGB32") FXMove(V,0)
but when I used AvsPmood it shows that video isn't alpha -_-"
so I encode this Fx with black dummy video
Code:Import("C:\Users\X\Desktop\Python\movlay.avsi") Import("C:\Users\X\DesktopPython\OP_FX.avs") V= BlankClip(length = 2109, width = 1280, height = 720, fps = 23.976, pixel_type ="RGB32" ) FXMove(V,0)
Code:A = avisource("C:\Users\X\Desktop\New folder (2)\vid.avi",pixel_type = "RGB32") V = avisource("C:\Users\X\Desktop\New folder (2)\alfa_4.avi", pixel_type = "RGB32") ##.Levels(0,1.4,255,8,248) ## m = insertsign(A, V, 0,0) Overlay(A,V, mask =V, mode = "blend" , opacity = 1.0 , output = "RGB32")
it should be like this
Similar Threads
-
Test for alpha channel?
By terrypin in forum Newbie / General discussionsReplies: 7Last Post: 19th Jul 2015, 14:06 -
H265/HEVC encoder which supports alpha channel?
By Gyan in forum Video ConversionReplies: 5Last Post: 10th Jul 2015, 13:15 -
ALPHA Channel videos - use in Nero 15
By Clark711 in forum Newbie / General discussionsReplies: 19Last Post: 28th Dec 2014, 21:18 -
What bit depth(s) can a video that has an alpha channel have?
By moonman239 in forum Newbie / General discussionsReplies: 3Last Post: 12th Aug 2014, 15:46 -
Problems with Alpha Channel
By CKyle in forum Newbie / General discussionsReplies: 3Last Post: 9th Mar 2011, 16:02