subtitling without openGL ?

Julien Bayle's icon

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.

carsol's icon

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

Julien Bayle's icon

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)

Rob Ramirez's icon

jit.lcd?

carsol's icon

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

Julien Bayle's icon

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

thanks a lot !

Julien Bayle's icon

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 ???