[gst-devel] How to register my new plugin on Nokia 770?

Sharath Mudalamane sharath_m at mindtree.com
Thu Nov 29 13:28:20 CET 2007


To: gstreamer-devel at lists.sourceforge.net

 

Subject: How to register my new plugin on Nokia 770?

 

Hello all,

 

 

MY ISSUE:

 

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.

 

 

 

 

HOW DID I CREATE filter plugin for ARM9?

 

I have 'scratchbox' tool setup for cross compiling the GStreamer programs for
ARM9.

 

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.

 

 

 

 

WHAT OTHER THINGS DID I CHECK?

After copying the .so to /usr/lib/gstreamer-0.10/ on Nokia 770 , I set
LD_LIBRARY_PATH=/usr/lib.  But gst-inspect is not working.

 

 

[Scratchbox-ARM:]> gst-inspect-0.10 wow     is not working.

[Scratchbox-ARM:]> gst-inspect-0.10 fakesrc ! wow ! fakesink   is also not
working.

 

 

 

 

Hello Volter,

 

Please, let me know if you could resolve your plugin registration issue.

 

 

 

Thanks and regards,

Sharath

 

 

 

 

 

________________________________

From: gstreamer-devel-bounces at lists.sourceforge.net
[mailto:gstreamer-devel-bounces at lists.sourceforge.net] On Behalf Of
trimurthulu amaradhi
Sent: Tuesday, November 06, 2007 1:25 PM
To: Volter Yen
Cc: gstreamer-devel at lists.sourceforge.net
Subject: Re: [gst-devel] why gst-inspect could not inspect my
customizedplugin ?

 

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", 
    "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 <volter619 at 163.com> wrote:

 

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!

 

Volter

 

 

=====================================================

 

Happy everyday $ Best Regards!

 

msn:volter619 at 163.com

 

Focus on embed linux software!


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop. 
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
gstreamer-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel 

 



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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20071129/4655b144/attachment.htm>


More information about the gstreamer-devel mailing list