Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
4th August 2009, 14:07 | #1 | Link |
Registered User
Join Date: Jun 2005
Posts: 11
|
subtitle fade
dear friends, i just want adding effects fadein, fadeout to my subtitles. i tried with several parameters but no chance.
some of my tests v01=AviSource("fr01.avi") sub1=Subtitle(v01,"Some Text...", font="arial", first_frame=0, last_frame=300) sub1.Animate(0,300,"Levels",0,1,255,0,0,0,1,255,0,255) its affect whole animation not just to subtitle. i also tried with fadein command and same issue, affecting to whole video. i also tried like this AviSource("fr01.avi") Animate(0,300,"Subtitle", "Some Text...",160,120,0,300,"Arial",24,$FFFFFFFF, \ "Some Text...",160,120,0,300,"Arial",24,$00FFFFFF) the first 2 character of color meaning opacity. FF=full transparent, 00=full opaque but not animated from full transparent to full opaque, just animating the font colors (and like randomly) please help... thanks in advance... |
4th August 2009, 16:55 | #4 | Link |
Avisynth Developer
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 3,167
|
Also Dissolve() can be used to fade between a subtitled version of a clip and the original.
Code:
v01=AviSource("fr01.avi") sub1=Subtitle(v01,"Some Text...", font="arial", first_frame=0, last_frame=300) Dissolve(v01.Trim(0, 299), sub1, 300) Code:
Dissolve(v01.Trim(0, 49), sub1.Trim(0, 299), v01.Trim(250, 0), 50) |
Tags |
subtitle |
Thread Tools | Search this Thread |
Display Modes | |
|
|