Milosz Derezynski wrote:
> GStreamer will draw for you onto the drawable, the relevant API is 
> documented here:
>
> http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-plugins/html/gst-plugins-base-plugins-ximagesink.html
>
> There is no mechanism yet in gstreamermm to wrap individual elements, 
> but it's planned (i'll outline it later on on the gstmm list), so you 
> would still have to use some C API.
>

I just noticed that there are a few interfaces in the gst-plugins-base 
package that might have to be wrapped (see 
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gstreamer-interfaces.html)
 
among which is the gstxoverlay 
<http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-gstxoverlay.html>
 
interface.  I wonder how this best might be done.

-Jose

>
> 2008/2/25, Mihai Niculescu <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>>:
>
>     Hi,
>
>     I want to write a simple web camera application using GTKmm and
>     GStreamermm. I want the video stream to output in a
>     Gtk::DrawingArea, so
>     that I can draw graphics with Cairo and analyze the pixels from the
>     video output (for example: intensity histrograms).
>     I looked at the Gstreamermm API and didn't find any solution to output
>     the video stream in a Gtk::DrawingArea or other Gtk object.
>     Can help me, please?
>
>     _______________________________________________
>     gtkmm-list mailing list
>     [email protected] <mailto:[email protected]>
>     http://mail.gnome.org/mailman/listinfo/gtkmm-list
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> gtkmm-list mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
>   

_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to