text to video

koivistoinen's icon

hi,

i am fairly new to the program and i am not sure how to do this.
I am trying to make a video of a text where each word in the text is displayed for about ten seconds, i.e. I would like to have a each of word of the text displayed on it's own for ten seconds.

I started doing this with a video editing program, but found it too much work, plus if i would like to change the font or the pace of the text it's going to be a lot more work.
i would greatly appreciate any help, thanks.

lewis lepton's icon

jitter tutorials man. its best place to start/look, also the jitter forum.

thats all i can say really. i have not messed with jitter for a few months, and cant find some cheesy patches i made before with this...

lewis
------
smokingbunny.co.uk

seejayjames's icon

check out jit.gl.text2D or 3D, if you're doing the video in a gl context (which is worth the effort to learn, you can start with jit.gl.videoplane). Also jit.lcd can work with text.

Ya, don't spend all that time in the video editor! You can do all this on the fly and change it however you want! :)

Christopher Dobrian's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Here's a simple example of putting text into video, with the lines of text stored in a coll object. You could do the same thing reading lines of text from a text file using the text object. In OpenGL, the objects jit.gl.text2D and jit.gl.text3D are the ones you'll want. --Chris

koivistoinen's icon

thanks! i am not trying to do subtitles though, i have to display about 10.000 words one by one, ten seconds each, on the screen all by themselves. the resulting video would be then about 30 hours long.

I noticed the jit.qt.movie reads txt files, and it can read one line at a time (=i can separate words from sentences), but i don't know how to center the text or alter it anyhow. I suppose I have to delve deeper into jit.gl.text2d?

koivistoinen's icon

i suppose i could just apply a metronome to the counter, but it would be handy as i do have to write loads of text, if i wouldn't have to number every line and use commas etc.

i just got the program so my questions might seem a bit naff, but anyhow thanks once again.

koivistoinen's icon

actually i can't use the counter and coll, as coll doesn't recognize symbols such as "(). is there other way i could do this?

koivistoinen's icon

i've now tried the text object, but from it i can only read 256 lines with line message. that is not going to work, as i do have to have about 10000 lines. i've tried the jit.gl.text2d, but i haven't managed to make it work. oh please help.