Posts: 4
Joined: Mon Jun 17, 2013 1:18 am

Text Overlay on Video

Mon Jun 17, 2013 2:14 am


I have been trying to develop an application which will overlay multiple lines of text onto a video window. I have worked with the 'hello_video' and 'hello_font' demos and have been able to overlay a line of text onto a GRAPHICS_RESOURCE placed on top of a video window. The problem with this seems to be that if the size of the GRAPHICS_RESOURCE is made to be close to the size of the video window, the video will no longer display. My question is, is there a way to use graphics_resource_render_text_ext() to render text directly onto the video window surface? If so, how would you get a handle to the video window's surface?

Thanks in advance.

Return to “OpenMAX”