[gst-devel] Using Qt screen output from a gstreamer plugin

Christian Fredrik Kalager Schaller uraeus at linuxrising.org
Thu Jun 22 18:50:09 CEST 2006


Hi Alexander,
Have you looked at the Qt based Kiss media player?

http://ronald.bitfreak.net/kiss.php

Christian

On Thu, 2006-06-22 at 11:21 -0400, Wolfson, Alexander wrote:
> Hi all,
> 
> Using Qt screen output from a gstreamer plugin was probably discussed
> before, but I was not able to find a small example.
> There are planty of big KDE projects that use gstreamer, but I am afraid
> that it will take forever to understand what is going on there.
> 
> We have a Qtopia application which calls a gstreamer application to play
> video on XScale powered device.
> The only problem is the last sink. Because the original App that owns
> the screen is Qtopia app I thought that it is a good idea to write a Qt
> based image sink for gstreamer. I wrote it using a generating from
> template mechanism. Unfortunately the only template available was for
> filter so I tried to convert the generated code to sink plugin.
> 
> I have 
> 
> extern "C" void gstQtShowBuffer( unsigned char * buf, unsigned int
> len){...}
> function inside of my Qt programm.
> 
> inside of gst_qtimagesink_chain() in my plugin I put
> gstQtShowBuffer(GST_BUFFER_DATA(buf), GST_BUFFER_SIZE(buf))
> 
> now when I look at 
> 
> >GST_DEBUG="*:3" gst-inspect
>  shows that gstQtShowBuffer symbol is not found
> 
> So I guess I have to split my Qt application into main part and .so
> part.
> .so part will have only gstQtShowBuffer related code.
> 
> I am anticipated a lot of problems, because I don't have experience
> neither with Qt nor with gstreamer.
> 
> I am pretty sure that people already did it thousands time before, but
> was not able to find a small example.
> 
> Could somebody show me an existing example of writing to Qt screen from
> gstreamer plugin?
> It is probably a part of more general issue of mixing gstreamer and Qt
> code.
> 
> 
> Thanks a lot in advance,
> 
> Alex
> 
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel





More information about the gstreamer-devel mailing list