3dfiction
4th August 2009, 14:07
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...
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...