text to video
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.
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…
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! :)
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
----------begin_max5_patcher---------- 1552.3oc2Z0taaaCE82NOE2ILfsg4ZHRpu79UFJ1KvP+2PQ.kEiMakDcknSR WQe2G+PxQYUeFK6zzDDaQJoqN2Cu2CuTLe4pENwhGXkNve.+CrXwWtZwBSW5 NVT0dgSF8gMozRyk4rQjkwxkNKsmSxdPZ5+WiSoa9HDq9Xag3PdBPSRJgbgb GOe6RH9fDteGWxfTlTxJJA4ghbPtSTxf87GXok1y+a0lNkmy1nrjw93pN2Sk azF7lB1FoE2nfvUtKAuHj9KLxzh3sxEde0MwSLPTD+g2fps9shbYNMiYNy63 YrR3uEYz75ymeHimqfpwqQO1o3frtW2Flpj+uFSgTOWcue8pqzer7DYUEGpn HFn6.jBywYh63Lmg4i.W8WHeyWX214C7qK9fmeGqPZnAdFcKCJE.W9KUgNfH GLggSMDhPHFJyF6fvt8EBQdcQYkLKeoeDK0AOLSy8r7k.qfpx9teGUkaRK08 WvfX1shBVqTHoaJD6iMwYgAMnPun1oPuWWTXpP7Q3vdPyEkf3VS5XeYfqMgS XaTUEWzUFn+2mbgRuVJx6wICrxstQVUl5OayEClfKT2qsK4m2yrONmXZ9VG3 8OCWImcuBEeynpI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dCssEth8qn4f91MR7Ed+iLXv3J+u+sALNht+mxmkpA5M0iI0xlvitRBqTxyo RtHu4EQdxEsimjvxahvLdxdgp36JPzwn6nwjZVd.M.lzkSeowzP7jth1KHlz qYZ3wN2ogopYbsaRJhrxuVL4zfpNLCOD8MwvLjZgk95W4pszw0jisNUzhFAw t9IAoCCVWjFdddqsKCN7XqSErdiIxDcYiLIiASdSb3tZ.NxtO9V9zzZNBNma zF5dl.q6Y.ryAANnf8DEhPp0E1H6thAmgr6nwPf3KJAFNBHcYmaYLSsbYmAd 8XF17urEE3Mx4ItfohiglvWX4gvy.lvVAVjc6DIdGabpiojy.XIdjyCXQmAv dlvJJ5bDEfNSfcL5enSI0V03qW8e.kd.iGB -----------end_max5_patcher-----------
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?
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.
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?
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.
Forums > MaxMSP