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.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 9th October 2023, 14:16   #1  |  Link
color
Registered User
 
color's Avatar
 
Join Date: May 2016
Posts: 235
Lyric video

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?

Code:
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
__________________
Automatic Colorization
color is offline   Reply With Quote
Old 13th October 2023, 11:17   #2  |  Link
videoFred
Registered User
 
videoFred's Avatar
 
Join Date: Dec 2004
Location: Terneuzen, Zeeland, the Netherlands, Europe, Earth, Milky Way,Universe
Posts: 689
This should work for you:

Code:
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.
__________________
About 8mm film:
http://www.super-8.be
Film Transfer Tutorial and example clips:
https://www.youtube.com/watch?v=W4QBsWXKuV8
More Example clips:
http://www.vimeo.com/user678523/videos/sort:newest

Last edited by videoFred; 13th October 2023 at 11:29.
videoFred is offline   Reply With Quote
Old 13th October 2023, 12:30   #3  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
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,
Code:
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].
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 13th October 2023 at 12:34.
StainlessS is offline   Reply With Quote
Old 13th October 2023, 19:54   #4  |  Link
qyot27
...?
 
qyot27's Avatar
 
Join Date: Nov 2005
Location: Florida
Posts: 1,428
I'd just create the subtitles in Aegisub and then use AssRender.

Last edited by qyot27; 13th October 2023 at 22:38.
qyot27 is offline   Reply With Quote
Old 31st October 2023, 09:58   #5  |  Link
color
Registered User
 
color's Avatar
 
Join Date: May 2016
Posts: 235
Thank you, this helped a lot!
__________________
Automatic Colorization
color is offline   Reply With Quote
Reply

Tags
lyric video

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:08.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.