the best way for subtitles on a video?
hello,
I know well that my question isn't a real question without other elements.
I need to subtitle dynamically a video.
The parsing system of .srt inside a coll works very fine.
I'm using a jit.lcd in order to display subtitles, process the result through an alpha blend like in the picture
I'm doing the stuff like that:
[qmetro 20]
|
|
[jit.qt.movie]
|
|
[jit.lcd]---[qmetro 20]
|
|
[jit.pwindow]
Basically, I have the whole system working.
BUT
the main problem is the quality when I update subtitles.
sometimes, it flickrs a bit...
Of course, I fire messages for EACH frame to re-display the subtitle because the system is done like that :-(
the whole system:
the part where the main movie is linked to jit.lcd and where the whole subtitle system is.
the 2 connections coming from the left just bang each on each frame change!
I guess the logic is ok but the lcd/alphablend/qmovie objects are not well architectured/organized.
The thing should be done on another way.
any help would be very appreciate!
another way to better ask what I'd need:
can I use jit.alphablend & jit.lcd more like in the tutorial 29 BUT with a solid color ? (and not like in the tutorial, where the letters are not in solid color, but kind of "added" or "multiply" or whatever with the color of the background)
any help would be VERY appreciate!
hello,
it seems I just solved that by... being a little smarter than before :-/
[jit.op @op +] is very enough to make a "+" operation on the two matrices:
- the initial movie
- the LCD text generated with jit.lcd
Now, another problem: the character encoding (I guess)
The right word is : Subtìtulo
check that:
Any ideas ???
i think is something about the ascii character encoding of your system... im getting correctly displayed "subtìtulo"
from a normal message box to a lcd..
good luck!
hi carsol,
thanks for your feedback
my system is just windows 7
photoshop,indesign and all the other display very well ì & other characters.
how can I trouble shoot that?
Ok I found the trick.
It was (just) the method to fire messages to jit.lcd (& jit.gl.text2d) which wasn't good!
I had some from/to symbols mismatch!
now, I'll ask another question in another thread about jit.lcd vs jit.gl.text2d differencies around:
- quality
- cpu consumption
thanks again!