subtitling without openGL ?

Mar 15, 2011 at 5:02pm

subtitling without openGL ?

hello,
just wanted to know if there are other ways, more efficient or pertinent, to put subtitles over a video in jitter world.

as I’d need to create some background behind my video rendering, and to put bmp image over it too, I just chose jit.gl.videoplane to do that.

#55573
Mar 16, 2011 at 1:34pm

hi julien,
you can find an example of how to do subtitles in the tutorial num 29..
maybe it works to you.
good luck!

#199873
Mar 16, 2011 at 2:22pm

ok carsol
I’ll try it right now.
the problem with opengl objects is… UTF8 character encoding.
we’re on pc. it doesn’t work (so bad)

#199874
Mar 16, 2011 at 7:13pm

jit.lcd?

#199875
Mar 17, 2011 at 9:39am

Julien, the subtitles example in tutorial29 is done with jit.lcd no opengl..

#199876
Mar 17, 2011 at 10:02am

indeed carsol.
I studied an opengl example, and I have been blinded by it.
the most natural way it jit.lcd :)

thanks a lot !

#199877
Mar 23, 2011 at 2:24pm

jit.lcd works fine.
but I guess I should use it on another

basically, I have that:

[qmetro 20]
|
|
[jit.qt.movie]
|
|
[jit.lcd]—[qmetro 20]
|
|
[jit.pwindow]

it works fine

I’m writing messages to the lcd etc.. solid color nice.

But I have a problem when I want to erase all subtiltes:
I didn’t succeed in sending a null message, or ” ” or anything else.
And of course, I cannot make a reset or clear because it clears lcd + the matrix which comes from the main movie.

So the question is, should I do like the tutorial 29 jitter with alpha?
With that method, I didn’t succeed in getting a solid color and not that alpha/whatever strange effect.

any ideas for me ???

#199878

You must be logged in to reply to this topic.