Nixes / VectorOSD

fast and smooth opengl(es) OSD for fpv
zlib License
1 stars 0 forks source link

how to achieve transparent overlay over video feed? #3

Open Nixes opened 8 years ago

Nixes commented 8 years ago

Raspberry Pi Specific - DispmanX Everything else - Get video buffer (from where?) and render on lower layer than overlay in same opengl context Hook an existing opengl context - play a video in mplayer opengl output, then hook into this context and draw over the top.

Nixes commented 8 years ago

or hopefully just use GLFW once it has built in transparency support! https://github.com/glfw/glfw/issues/197

Nixes commented 8 years ago

I would much rather a platform independent solution, especially something that might work on normal laptops and such rather than just one brand of sbc .

Nixes commented 8 years ago

might be able to integrate ffmpeg to get frames and convert to texture: https://gist.github.com/rcolinray/7552384

Nixes commented 7 years ago

Theres a very old fork here: https://github.com/glfw/glfw/tree/transparent-window Gonna see if I can get it working.