yes, but you installed gstreamermm v0.10. You need to install gstreamermm v1.0. It's currently not in a ubuntu repositories, you should compile it and install from sources.
2014-02-19 23:58 GMT+01:00 Flavio Danesse <fdane...@gmail.com>: > videooverlay.h actually not in the path of gstreamermm > > > 2014-02-19 20:57 GMT-02:00 Flavio Danesse <fdane...@gmail.com>: > > Yes, I have installed, using ubuntu 13.04 >> >> >> 2014-02-19 20:55 GMT-02:00 Marcin Kolny <marcin.ko...@gmail.com>: >> >> You have to install gstreamermm library at first. >>> >>> >>> 2014-02-19 23:53 GMT+01:00 Flavio Danesse <fdane...@gmail.com>: >>> >>> Unfortunately the example does not work. >>>> >>>> g++ -o player main.cpp player_window.cpp `pkg-config gtkmm-3.0 >>>> gstreamermm-0.10 --cflags --libs` >>>> In file included from main.cpp:29:0: >>>> player_window.h:50:3: error: 'PadProbeReturn' en el espacio de nombres >>>> 'Gst' no nombra un tipo >>>> player_window.cpp:36:38: error fatal: gstreamermm/videooverlay.h: No >>>> existe el archivo o el directorio >>>> compilación terminada. >>>> >>>> >>>> >>>> 2014-02-19 20:33 GMT-02:00 Flavio Danesse <fdane...@gmail.com>: >>>> >>>> Thanks, this is what I wanted. >>>>> >>>>> #ifdef GDK_WINDOWING_X11 >>>>> m_x_window_id = GDK_WINDOW_XID(m_video_area.get_window()->gobj()); >>>>> #endif >>>>> #ifdef GDK_WINDOWING_WIN32 >>>>> m_x_window_id = GDK_WINDOW_HWND(m_video_area.get_window()->gobj()); >>>>> #endif >>>>> >>>>> >>>>> 2014-02-19 20:28 GMT-02:00 Marcin Kolny <marcin.ko...@gmail.com>: >>>>> >>>>> There: >>>>>> https://git.gnome.org/browse/gstreamermm/tree/examples/media_player_gtkmmyou >>>>>> can find complete example of video player using gstreamermm and gtkmm. >>>>>> It should be easy to write the same using gstreamer. >>>>>> In generally, when you're using gtkmm, I recommend you to use >>>>>> gstreamermm wrapper instead of gstreamer library. >>>>>> >>>>>> >>>>>> >>>>>> 2014-02-19 23:22 GMT+01:00 Flavio Danesse <fdane...@gmail.com>: >>>>>> >>>>>>> Sorry for my ignorance, but can not get it to work. >>>>>>> >>>>>>> this: >>>>>>> # include <gdkmm/window.h> >>>>>>> int xid_parent = GDK_WINDOW_XWINDOW(drawing.get_window()); >>>>>>> >>>>>>> Returns GDK_WINDOW_XWINDOW is not defined >>>>>>> >>>>>>> On the other hand, I do not understand your example: >>>>>>> XID xid_parent = GDK_WINDOW_XWINDOW xid_parent (wnd); >>>>>>> >>>>>>> Because XID It is not a data type. >>>>>>> >>>>>>> >>>>>>> 2014-02-18 17:28 GMT-02:00 Vest V. <vest...@gmail.com>: >>>>>>> >>>>>>> Hello Flavio, >>>>>>>> >>>>>>>> I did not do this, but it seems that you need XID of the GtkWindow. >>>>>>>> Internet provides with the following solution: >>>>>>>> >>>>>>>> GdkWindow* wnd = ...; >>>>>>>> XID xid_parent = GDK_WINDOW_XWINDOW(wnd); >>>>>>>> >>>>>>>> Here is the short description of the macros: >>>>>>>> http://developer.gimp.org/api/2.0/gdk/gdk-X-Window-System-Interaction.html#GDK-WINDOW-XWINDOW:CAPS >>>>>>>> >>>>>>>> Kind regards, >>>>>>>> Vest >>>>>>>> >>>>>>>> >>>>>>>> On Tue, Feb 18, 2014 at 8:15 PM, Flavio Danesse <fdane...@gmail.com >>>>>>>> > wrote: >>>>>>>> >>>>>>>>> Hello, I'm new to the list and today I would like ask a question. >>>>>>>>> >>>>>>>>> I am migrating an application made in python with gtk 3 and >>>>>>>>> Gstreamer 1.0 and can not find how to do this in gtkmm: >>>>>>>>> >>>>>>>>> xid = self.drawing_area.get_property ('window'). get_xid () >>>>>>>>> >>>>>>>>> Note: >>>>>>>>> self.drawing_area is an instance of gtk.DrawingArea >>>>>>>>> self.drawing_area.get_property ('window') is a Gdk.Window >>>>>>>>> >>>>>>>>> _______________________________________________ >>>>>>>>> gtkmm-list mailing list >>>>>>>>> gtkmm-list@gnome.org >>>>>>>>> https://mail.gnome.org/mailman/listinfo/gtkmm-list >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> gtkmm-list mailing list >>>>>>>> gtkmm-list@gnome.org >>>>>>>> https://mail.gnome.org/mailman/listinfo/gtkmm-list >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> gtkmm-list mailing list >>>>>>> gtkmm-list@gnome.org >>>>>>> https://mail.gnome.org/mailman/listinfo/gtkmm-list >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Best regards, >>>>>> Marcin Kolny >>>>>> >>>>> >>>>> >>>> >>> >>> >>> -- >>> Pozdrawiam >>> Marcin Kolny >>> >> >> > -- Pozdrawiam Marcin Kolny
_______________________________________________ gtkmm-list mailing list gtkmm-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtkmm-list