jrpcummins at yahoo.com
Thu Jun 25 21:08:19 CEST 2009
I am working on a vision system for robotics and have recently
started using GStreamer. I currently have two filters one that allows
me to sample pixels from areas in the visual field and another that
classifies the visual field and identifies blobs of color.
I *love* GStreamer! You guys have done an excellent job on the
software. However, the ease of use is not so excellent. The documentation
says to use make_element but not what to do after (or before) that.
I found out that
will compile a filter called gstplugin an put it in src/.libs
and I can then invoke it like this
gst-launch-0.10 v4l2src device="/dev/video0" ! video/x-raw-yuv,width=640,height=480,framerate=30/1 ! plugin ! xvimagesink
Very good. The problem comes when I try to use make_element with any other
command line. Specifing a different (non default) template or a name other
than plugin produces a stream of compiler errors. I have tried modifing the
Makefile.am in src and even the autogen.sh without any success.
So now I have two gst-template directorys one called gst-template.classify
and one called gst-template.sample, both of which produce a plugin called
plugin which I select via the GST_PLUGIN_PATH
I am writing this for three reasons :-
One, can someone tell me what I'm doing wrong?
Two, in case anyone is having the same problems, here is a work around.
Three, is anyone working on a "Getting started with GStreamer for the
uninitiated" and if so can I help?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel