From: Sharath M. <sha...@mi...> - 2007-11-29 12:28:29
|
To: gst...@li... =20 Subject: How to register my new plugin on Nokia 770? =20 Hello all, =20 =20 MY ISSUE: =20 I have created a new GStreamer filter plugin (say 'Wow'). I have the = shared object (libgstwow.so for ARM9) sitting pretty in /usr/local/lib/gstreamer-0.10/. Now, I have copied this libgstwow.so to /usr/lib/gstreamer-0.10/ on the = Nokia 770. But, Nokia-770# gst-inspect-0.10 wow is not working. Nokia-770# gst-inspect-0.10 fakesrc ! wow ! fakesink is also not = working. =20 =20 =20 =20 HOW DID I CREATE filter plugin for ARM9? =20 I have 'scratchbox' tool setup for cross compiling the GStreamer = programs for ARM9. =20 These are the steps I followed: 1. Downloaded /gst-template from CVS to chroot'ed login of scratchbox. 2. Use make-element to create 'wow'. 3. I have edited gstwow.c, Gst_element_register(..., "wow",,,); SGT_PLUGIN_DEFINE( ,, "wow",,,); (As suggested by = Trimurthulu! See below e-mail) 4. Edit gst-template/gst-plugin/src/makefile.am to change plugin name. 5. run /gst-template/gst-plugin/autogen.sh 6. run /gst-template/gst-plugin/make 7. run /gst-template/gst-plugin/make install All the steps are successful and shared object is generated. =20 =20 =20 =20 WHAT OTHER THINGS DID I CHECK? After copying the .so to /usr/lib/gstreamer-0.10/ on Nokia 770 , I set LD_LIBRARY_PATH=3D/usr/lib. But gst-inspect is not working. =20 =20 [Scratchbox-ARM:]> gst-inspect-0.10 wow is not working. [Scratchbox-ARM:]> gst-inspect-0.10 fakesrc ! wow ! fakesink is also = not working. =20 =20 =20 =20 Hello Volter, =20 Please, let me know if you could resolve your plugin registration issue. =20 =20 =20 Thanks and regards, Sharath =20 =20 =20 =20 =20 ________________________________ From: gst...@li... [mailto:gst...@li...] On Behalf Of trimurthulu amaradhi Sent: Tuesday, November 06, 2007 1:25 PM To: Volter Yen Cc: gst...@li... Subject: Re: [gst-devel] why gst-inspect could not inspect my customizedplugin ? =20 Hi, you have to fill the following to display the any plugin info GST_ELEMENT_DETAILS{} gst_element_register () GST_PLUGIN_DEFINE (GST_VERSION_MAJOR, GST_VERSION_MINOR, "pluginname",=20 "player name", plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN) you just compare with any existing plugin .. Regards.. Trimurthulu On 11/6/07, Volter Yen <vol...@16...> wrote: =20 Hi all, I have built my sampleplugin based on the gst-template, but when i use = the gst-inspect to check its existance,I got 'no entry..' info, and I have = check the built out files, there are my ourput dir, so I am vondering where = the problem is? please help me.thank you! =20 Volter =20 =20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D =20 Happy everyday $ Best Regards! =20 msn:vol...@16... =20 Focus on embed linux software! -------------------------------------------------------------------------= This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop.=20 Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ gstreamer-devel mailing list gst...@li... https://lists.sourceforge.net/lists/listinfo/gstreamer-devel=20 =20 DISCLAIMER: This message (including attachment if any) is confidential and may be = privileged. If you have received this message by mistake please notify = the sender by return e-mail and delete this message from your system. = Any unauthorized use or dissemination of this message in whole or in = part is strictly prohibited. E-mail may contain viruses. Before opening attachments please check them = for viruses and defects. While MindTree Consulting Limited (MindTree) = has put in place checks to minimize the risks, MindTree will not be = responsible for any viruses or defects or any forwarded attachments = emanating either from within MindTree or outside. Please note that e-mails are susceptible to change and MindTree shall = not be liable for any improper, untimely or incomplete transmission. MindTree reserves the right to monitor and review the content of all = messages sent to or from MindTree e-mail address. Messages sent to or = from this e-mail address may be stored on the MindTree e-mail system or = else where. |