Offscreen rendering and SDL
Eamon Caddigan
eamon.caddigan at gmail.com
Mon Aug 20 14:28:44 PDT 2012
Hi all,
I am new to gstreamer, and I'm trying to incorporate it into an SDL
application (actually, it's a pygame application, but I'm writing a
module in C, so I can use the standard API for this). Using code
snippets I found online, I've managed to create a window using X11 and
can send the video there, but this approach makes it impossible to
draw graphics over the video.
It seems like I need to render to some sort of offscreen construct,
and then grab the data from there and blit it to the screen, but I'm
totally lost as to how to do this. I've been gleaning through the
gstreamer documentation for a couple weeks now, but I haven't gotten
any closer to figuring this out. I think the two big questions are:
1) Which videosink would I use?
2) How do I fetch the decoded video data?
Thanks,
Eamon Caddigan
More information about the gstreamer-devel
mailing list