官网资料:http://gstreamer.freedesktop.org
消息机制: http://blog.sina.com.cn/s/blog_80ce3a550100y2oh.html
//把message发到bus上
gboolean gst_bus_post (GstBus *bus, GstMessage * message)
例子:
在gst-launch中,由application直接去处理message,
event_loop (GstElement * pipeline, gboolean blocking, GstStatetarget_state)
{
}
另外一种message处理方法:
由于bus的存在,而message都需要通过bus传输给application,另外一种方法就是在bus上增加watch函数
来处理pipeline发给application的message:
static gboolean
my_bus_callback(GstBus
{
}
其他:
MicroDrop
Microdrop is a graphical user interface for the [DropBot][1] digitalmicrofluidics control system (described in detail in [Fobel et al., Appl. Phys.Lett. 102, 193513 (2013)][2]). If you use this information in work that youpublish, please cite as appropriate.
Binary package dependencies
In addition to the package dependencies listed in setup.py, the MicroDropapplication requires the following Python packages to be installed:
- matplotlib: Used to plot feedback results, etc.
- pygst: Used for video-processing in the device view.
- pygtk: [GTK][3] bindings for user-interface.
- pyopencv: Used to transform incoming video feed to register the device inthe device view to the overlay perspective.
- pymunk==2.1.0 _(not the latest)_: Used for detecting the electrodecorresponding to each click on the device view_(i.e., [collision detection][4])_.