View Full Version : Lyric video
color
9th October 2023, 14:16
I want to create a lyric video, also I want to do fade in or fade out as well, but its overkill. Textsub does not work, but is it possible to rewrite this to work?
image = ImageSource("image.jpg", start=0, end=999, fps=25)
texta = TextSub(image, "Texten som ska visas", x=100, y=100, align=5, size=30, font="Arial", text_color=$FFFFFF, border_color=$000000)
text = text.TextSub("0:00:02.00", "0:00:04.00", "Sing sing sing")
text = text.TextSub("0:00:06.00", "0:00:08.00", "Song song song")
text = text.TextSub("0:00:10.00", "0:00:13.00", "Hey")
texta
videoFred
13th October 2023, 11:17
This should work for you:
Picture=Imagesource("Yourfile.jpg", end=999, fps=25)\
.subtitleEx( "text 1",x=400, y=700, font="Rondalo",size=80 ,firstframe=20,lastframe=360,effects = "b, s, f(40,40)")\
.subtitleEx( "text 2",x=400, y=700, font="Rondalo",size=80 ,firstframe=330,lastframe=530,effects = "b, s, f(40,40)")\
.subtitleEx( "text 3",x=400, y=700, font="Rondalo",size=80 ,firstframe=500,lastframe=740,effects = "b, s, f(40,40)")
Picture
You will need to download SubtitleEx and set parameters: most important are firstframe and lastframe.
Fred.
StainlessS
13th October 2023, 12:30
I'm sure that VideoFred thingy works fine, but thought that I'de point out that there are problems in your script,
missing in blue,
image = ImageSource("image.jpg", start=0, end=999, fps=25)
texta = TextSub(image, "Texten som ska visas", x=100, y=100, align=5, size=30, font="Arial", text_color=$FFFFFF, border_color=$000000)
texta = texta.TextSub("0:00:02.00", "0:00:04.00", "Sing sing sing")
texta = texta.TextSub("0:00:06.00", "0:00:08.00", "Song song song")
texta = texta.TextSub("0:00:10.00", "0:00:13.00", "Hey")
texta
Untested, just fixing script that could not possibly work [maybe still does not].
qyot27
13th October 2023, 19:54
I'd just create the subtitles in Aegisub and then use AssRender.
color
31st October 2023, 09:58
Thank you, this helped a lot! :D
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.