Text over video

Discuss any general programming issues here
Post Reply
xabierpayet
Posts: 267
Joined: Fri Feb 24, 2012 9:34 am

Text over video

Post by xabierpayet »

is any way to put a single text scroll over a video?
i have an .avi video and i need make a single scroll on it, but the only way to do this is creating a new transparen screen over the window? as for example doing sprites is not a solution, why the sprite go to back of the video ever. Anyone know other solution?
User avatar
airsoftsoftwair
Posts: 5446
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Text over video

Post by airsoftsoftwair »

Sorry, that's currently not possible.

From the documentation:
Please note that videos will always appear above everything else. This
means that it is impossible for you to draw on top of a video. Instead,
all graphics commands will always draw beneath the video area. Even
sprites will never appear above the video graphics. Also, videos are
currently not integrated into the layers system at all. Thus, calling
PlayVideo() will not add a new layer into the stack.
xabierpayet
Posts: 267
Joined: Fri Feb 24, 2012 9:34 am

Re: Text over video

Post by xabierpayet »

thanks for the answer, i dont see this paragraph in the guide sorry
xabierpayet
Posts: 267
Joined: Fri Feb 24, 2012 9:34 am

Re: Text over video

Post by xabierpayet »

is not possible add this feature in future hw versions? add text or graphics (brush or sprites) will be nice for make video titlers or games based in fmv as microcosm
User avatar
airsoftsoftwair
Posts: 5446
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Text over video

Post by airsoftsoftwair »

It's not so easy because video playback may use hardware acceleration via overlays and it's technically not possible to draw on top of overlays.
Post Reply