[gst-devel] newbie: need help create/compile a source element

lzdn at sh163.net lzdn at sh163.net
Mon Aug 11 09:03:11 CEST 2008


I am a newbie to gstreamer/gtk (linux as well :().
I ran into some trouble with creating a source element and would appreciate any help/suggestion. 

A. First I downloaded gst-template from CVS and tried to make_element/build an element as Plugin Writer's Guide mentioned. It seems worked by gst-inspect. 

B. Then I tried to use my own source, which is almost completely duplicated from fdsrc. 

B-1. First time, I kept the 'XXX_LIBADD' in Makefile.am as GST_LIBS.(autogen-make install, no error occured)
I tried gst-inspect, and it complained about "undefined symbol: gst_push_src_get_type()". 

B-2. I thought that I should also link "base", so I appended $(GST_BASE_LIBS) to 'XXX_LIBADD'.
(still, autogen-make install, no error occured)
I tried gst-inspect, and found no error message, but the my plugin does not appear in the list either.
It seems that my .so got completely ignored(it does exist there).
What could be possible reason for that? 

B-3. I tried a few more times, and the symptom seems stable. 

So I mainly have two questions:
1. (B-2) How to check the reason why my .so is ignored?
2. Is there any (simple) template/example for source/sink element exists? 






More information about the gstreamer-devel mailing list