GStreamer plugin with GStreamermm (C ++)

I am trying to write a gstreamer plugin in C ++ using GStreamermm bindings. Now there are good guides for plugins (http://gstreamer.freedesktop.org/data/doc/gstreamer/head/pwg/html/), and there are various examples and templates on the Internet, but for gstreamermm there is very little documentation.

I know that I can resort to using a mixture of C and C ++, but using C ++ bundles seems a lot more elegant.

Just "translating" the examples found in gstreamer pwg to gstreamermm is a kind of dead end; gstreamer requires the use of several macros to determine types that I cannot see immediately translating gstreamermm. In addition, I have little experience with gstreamer, and absolutely no experience with gobj (yet).

Can anyone put me on the right track? Even the smallest example or explanation.

thank

+5
source share
1 answer

I asked about this on the gtkmm mailing list a couple of days ago and received the following response (from Jose Albuquerque):

Currently, the only plugins that have (possibly non-existent) development capabilities using gstreamermm are those that are for private applications. If possible, these plugins will be registered using the Gst :: Plugin :: register_static () [1] method, and not the process described above.

[1] http://developer.gnome.org/gstreamermm/unstable/classGst_1_1Plugin.html#ac0728bb285ae1bed9298c0f9ea522ad9

gstreamermm [2] Gst:: ElementFactory:: register_element() [3] Gst:: Plugin:: SlotInit ( ), factory, . , factory , Gst:: Registry:: add_feature() [4] Gst:: Plugin:: SlotInit.

[2] http://developer.gnome.org/gstreamermm/unstable/group__GstBaseClasses.html

[3] Gst:: ElementFactory:: register_element() - , gst_element_register() . .

[4] http://developer.gnome.org/gstreamermm/unstable/classGst_1_1Registry.html#ae1f9a1ddd60ef5a7e1f8cddf14ec404f

, (, ), , . , , C, .

+3

All Articles