GstAdapter issue

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

GstAdapter issue

Ramana_polaka

 

Hi,

 

I am able to compile and install my plugin successfully.  But when I do gst-inspect, I get the following error.

I have included #include <gst/base/gstadapter.h>  . any idea?

 

 

[…@ramana] gst-inspect aacparse

 

(gst-inspect-0.10:2546): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libgstmpegaacparse.so': /usr/lib/gstreamer-0.10/libgstmpegaacparse.so: undefined symbol: gst_adapter_peek

No such element or plugin 'aacparse'

 

 

Thanks

Ramana

**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are not 
to copy, disclose, or distribute this e-mail or its contents to any other person and 
any such actions are unlawful. This e-mail may contain viruses. Infosys has taken 
every reasonable precaution to minimize this risk, but is not liable for any damage 
you may sustain as a result of any virus in this e-mail. You should carry out your 
own virus checks before opening the e-mail or attachment. Infosys reserves the 
right to monitor and review the content of all messages sent to or from this e-mail 
address. Messages sent to or from this e-mail address may be stored on the 
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: GstAdapter issue

Yann Gilquin
Hi,
you have to link your plugin against gstbase library to support gstadapter.
You can use `pkg-config --libs gstreamer-base-0.10` to ease the work.

--
Yann Gilquin

Purple Labs S.A.
www.purplelabs.com



Ramana Reddy Polaka wrote:

>
>  
>
> Hi,
>
>  
>
> I am able to compile and install my plugin successfully.  But when I
> do gst-inspect, I get the following error.
>
> I have included #include <gst/base/gstadapter.h>  . any idea?
>
>  
>
>  
>
> […@ramana] gst-inspect aacparse
>
>  
>
> (gst-inspect-0.10:2546): GStreamer-WARNING **: Failed to load plugin
> '/usr/lib/gstreamer-0.10/libgstmpegaacparse.so':
> /usr/lib/gstreamer-0.10/libgstmpegaacparse.so: undefined symbol:
> gst_adapter_peek
>
> No such element or plugin 'aacparse'
>
>  
>
>  
>
> Thanks
>
> Ramana
>
> **************** CAUTION - Disclaimer *****************
> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
> for the use of the addressee(s). If you are not the intended recipient, please
> notify the sender by e-mail and delete the original message. Further, you are not
> to copy, disclose, or distribute this e-mail or its contents to any other person and
> any such actions are unlawful. This e-mail may contain viruses. Infosys has taken
> every reasonable precaution to minimize this risk, but is not liable for any damage
> you may sustain as a result of any virus in this e-mail. You should carry out your
> own virus checks before opening the e-mail or attachment. Infosys reserves the
> right to monitor and review the content of all messages sent to or from this e-mail
> address. Messages sent to or from this e-mail address may be stored on the
> Infosys e-mail system.
> ***INFOSYS******** End of Disclaimer ********INFOSYS***
>


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: GstAdapter issue

Ramana_polaka

Hi,

I am just confused where to use this ("pkg-config --libs gstreamer-base-0.10") as makefile file is generated by automake.

Should I edit my Makefile.am?

Makefile.am
-----------
#  plugindir is set in configure

plugin_LTLIBRARIES = libgstmpegaacparse.la

# for the next set of variables, rename the prefix if you renamed the .la

# sources used to compile this plug-in
libgstmpegaacparse_la_SOURCES = gstmpegaacparse.c parse_aac.c

# flags used to compile this plugin
# we use the GST_LIBS flags because we might be using plug-in libs libgstmpegaacparse_la_CFLAGS = $(GST_BASE_CFLAGS) $(GST_LIBS_CFLAGS) -O2 libgstmpegaacparse_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) $(GST_LIBS) libgstmpegaacparse_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) # headers we need but don't want installed noinst_HEADERS = gstmpegaacparse.h parse_aac.h




--Ramana

-----Original Message-----
From: Yann Gilquin [mailto:[hidden email]]
Sent: Tuesday, June 24, 2008 12:44 PM
To: Ramana Reddy Polaka
Cc: [hidden email]
Subject: Re: [gst-devel] GstAdapter issue

Hi,
you have to link your plugin against gstbase library to support gstadapter.
You can use `pkg-config --libs gstreamer-base-0.10` to ease the work.

--
Yann Gilquin

Purple Labs S.A.
www.purplelabs.com



Ramana Reddy Polaka wrote:

>
>
>
> Hi,
>
>
>
> I am able to compile and install my plugin successfully.  But when I
> do gst-inspect, I get the following error.
>
> I have included #include <gst/base/gstadapter.h>  . any idea?
>
>
>
>
>
> [...@ramana] gst-inspect aacparse
>
>
>
> (gst-inspect-0.10:2546): GStreamer-WARNING **: Failed to load plugin
> '/usr/lib/gstreamer-0.10/libgstmpegaacparse.so':
> /usr/lib/gstreamer-0.10/libgstmpegaacparse.so: undefined symbol:
> gst_adapter_peek
>
> No such element or plugin 'aacparse'
>
>
>
>
>
> Thanks
>
> Ramana
>
> **************** CAUTION - Disclaimer *****************
> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
> for the use of the addressee(s). If you are not the intended recipient, please
> notify the sender by e-mail and delete the original message. Further, you are not
> to copy, disclose, or distribute this e-mail or its contents to any other person and
> any such actions are unlawful. This e-mail may contain viruses. Infosys has taken
> every reasonable precaution to minimize this risk, but is not liable for any damage
> you may sustain as a result of any virus in this e-mail. You should carry out your
> own virus checks before opening the e-mail or attachment. Infosys reserves the
> right to monitor and review the content of all messages sent to or from this e-mail
> address. Messages sent to or from this e-mail address may be stored on the
> Infosys e-mail system.
> ***INFOSYS******** End of Disclaimer ********INFOSYS***
>


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: GstAdapter issue

Yann Gilquin
Im' not very friend with autotools, but they should do the work for you
through PKG_CHECK_MODULES calls in gst-check.m4 (this calls pkg-config
--libs)
you can refer to gst-plugins-good build for example, if you look at the
content of the common/m4/gst-check.m4 file, you will find

AC_DEFUN([AG_GST_CHECK_GST_BASE],
[
  AG_GST_CHECK_MODULES(GST_BASE, gstreamer-base-[$1], [$2],
    [GStreamer Base Libraries], [$3])
])

I guess something like this is missing into your own build files to
include link on gstreamer-base-0.10

--
Yann Gilquin

Purple Labs S.A.
www.purplelabs.com




Ramana Reddy Polaka wrote:

> Hi,
>
> I am just confused where to use this ("pkg-config --libs gstreamer-base-0.10") as makefile file is generated by automake.
>
> Should I edit my Makefile.am?
>
> Makefile.am
> -----------
> #  plugindir is set in configure
>
> plugin_LTLIBRARIES = libgstmpegaacparse.la
>
> # for the next set of variables, rename the prefix if you renamed the .la
>
> # sources used to compile this plug-in
> libgstmpegaacparse_la_SOURCES = gstmpegaacparse.c parse_aac.c
>
> # flags used to compile this plugin
> # we use the GST_LIBS flags because we might be using plug-in libs libgstmpegaacparse_la_CFLAGS = $(GST_BASE_CFLAGS) $(GST_LIBS_CFLAGS) -O2 libgstmpegaacparse_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) $(GST_LIBS) libgstmpegaacparse_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) # headers we need but don't want installed noinst_HEADERS = gstmpegaacparse.h parse_aac.h
>
>
>
>
> --Ramana
>
> -----Original Message-----
> From: Yann Gilquin [mailto:[hidden email]]
> Sent: Tuesday, June 24, 2008 12:44 PM
> To: Ramana Reddy Polaka
> Cc: [hidden email]
> Subject: Re: [gst-devel] GstAdapter issue
>
> Hi,
> you have to link your plugin against gstbase library to support gstadapter.
> You can use `pkg-config --libs gstreamer-base-0.10` to ease the work.
>
> --
> Yann Gilquin
>
> Purple Labs S.A.
> www.purplelabs.com
>
>
>
> Ramana Reddy Polaka wrote:
>  
>>
>> Hi,
>>
>>
>>
>> I am able to compile and install my plugin successfully.  But when I
>> do gst-inspect, I get the following error.
>>
>> I have included #include <gst/base/gstadapter.h>  . any idea?
>>
>>
>>
>>
>>
>> [...@ramana] gst-inspect aacparse
>>
>>
>>
>> (gst-inspect-0.10:2546): GStreamer-WARNING **: Failed to load plugin
>> '/usr/lib/gstreamer-0.10/libgstmpegaacparse.so':
>> /usr/lib/gstreamer-0.10/libgstmpegaacparse.so: undefined symbol:
>> gst_adapter_peek
>>
>> No such element or plugin 'aacparse'
>>
>>
>>
>>
>>
>> Thanks
>>
>> Ramana
>>
>> **************** CAUTION - Disclaimer *****************
>> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
>> for the use of the addressee(s). If you are not the intended recipient, please
>> notify the sender by e-mail and delete the original message. Further, you are not
>> to copy, disclose, or distribute this e-mail or its contents to any other person and
>> any such actions are unlawful. This e-mail may contain viruses. Infosys has taken
>> every reasonable precaution to minimize this risk, but is not liable for any damage
>> you may sustain as a result of any virus in this e-mail. You should carry out your
>> own virus checks before opening the e-mail or attachment. Infosys reserves the
>> right to monitor and review the content of all messages sent to or from this e-mail
>> address. Messages sent to or from this e-mail address may be stored on the
>> Infosys e-mail system.
>> ***INFOSYS******** End of Disclaimer ********INFOSYS***
>>
>>    
>
>
>  



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel