Forums > MaxMSP

text to video

December 20, 2009 | 2:09 pm

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.


December 20, 2009 | 4:12 pm

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


December 20, 2009 | 9:43 pm

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! :)


December 20, 2009 | 9:53 pm

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

– Pasted Max Patch, click to expand. –

December 21, 2009 | 10:27 am

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?


December 21, 2009 | 4:11 pm

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.


December 21, 2009 | 8:15 pm

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?


January 15, 2010 | 1:52 pm

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.


Viewing 8 posts - 1 through 8 (of 8 total)