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

Wolfson, Alexander alexander.wolfson at intel.com
Thu Jun 22 20:23:49 CEST 2006


Hi Christian,

Thank you for the link,
It is a good reference for the Qt/gstreamer application.
Unfortunately my main problem is to access Qt functionality from the
gstreamer plugin, not application.
Looks like that they used some X11 image output plugin in kiss. What I
wanted is to use Qt embedded for the output. X11 is not available.


This list is probably wrong place for that, but kiss seems to be a good
little example of Qt/gstreamer integration.
Can somebody add it to the list of the application that support
gstreamer on the http://gstreamer.freedesktop.org/apps/

=============================
Kiss

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

Kiss is a simple and efficient media player based on the powerful
GStreamer media framework. It supports all file formats supported by
GStreamer, including Ogg (Theora, Vorbis, Speex, FLAC), ASF (WMV/WMA,
...), AVI (DivX, XviD, MJPEG, ...), Quicktime (Sorensen, MPEG-4, ...),
MPEG (1, 2, 4) and so on. The primary purpose of Kiss is to be a simple
example application. It includes a very simple, to-the-point video
widget for GStreamer/KDE. 

==============================

Thanks,

Alex

-----Original Message-----
From: Christian Fredrik Kalager Schaller [mailto:uraeus at linuxrising.org]

Sent: Thursday, June 22, 2006 12:50 PM
To: Wolfson, Alexander
Cc: gstreamer-devel at lists.sourceforge.net
Subject: Re: [gst-devel] Using Qt screen output from a gstreamer plugin

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