Appsrc plugin is not registered on embedded platform

Tarek El-Sherbiny tarek.elsherbiny at gmail.com
Wed Dec 5 07:33:30 PST 2012


To verify that my application is linking to libgstapp I did the following:

#cat /proc/2017/maps        // 2017=My app PID

Output has:
2aab1000-2aabb000 r-xp 00000000 00:0d 1639505
 /usr/lib/libgstapp-0.10.so.0.25.0
2aabb000-2aac3000 ---p 0000a000 00:0d 1639505
 /usr/lib/libgstapp-0.10.so.0.25.0
2aac3000-2aac4000 rw-p 0000a000 00:0d 1639505
 /usr/lib/libgstapp-0.10.so.0.25.0


4b7b0000-4b879000 r-xp 00000000 00:0d 1639394
 /usr/lib/libgstreamer-0.10.so.0.30.0
4b879000-4b881000 ---p 000c9000 00:0d 1639394
 /usr/lib/libgstreamer-0.10.so.0.30.0
4b881000-4b884000 rw-p 000c9000 00:0d 1639394
 /usr/lib/libgstreamer-0.10.so.0.30.0


4b898000-4b8e8000 r-xp 00000000 00:0d 1639812
 /usr/lib/libgstbase-0.10.so.0.30.0
4b8e8000-4b8e9000 rw-p 00050000 00:0d 1639812
 /usr/lib/libgstbase-0.10.so.0.30.0

I think I'm linking to the correct library.

Can you please share the  config.log output file from your gst-plugins-base
build?

Thanks
Tarek


On Wed, Dec 5, 2012 at 3:12 PM, Krzysztof Konopko <
krzysztof.konopko at youview.com> wrote:

> PKG_CONFIG_PATH is an environment variable. It should point to a
> directory containing *.pc files for a given platform/configuration.
>
> See man pkg-config.
>
> If you build your app manually then you have to set this variable
> manually. Otherwise it depends on your build system.
>
> If you pass libraries directly with -l then don't bother with
> pkg-config. Just make sure that -L points to the correct directory.
>
> You can also check whether your final binary has proper dependencies:
> - on your host
> # to make sure you're inspecting the right binary (see if it's a binary
> for your target architecture)
> file <your binary>
> readelf -d <your binary> | grep libgstapp
>
> - on your target platform (if you have ldd available)
> ldd <your binary | grep libgstapp
>
> Please bear in mind that I'm not saying that potentially missing
> dependency on libgstapp is the cause of your problem. I'm not sure about
> that. All I know is that my apps depend on it and they work with
> appsrc/appsink on PC and embedded platform.
>
> Kris
>
> On 05/12/12 15:01, Tarek El-Sherbiny wrote:
> > Hi Kris,
> >
> > This is what I'm passing to gcc:
> >
> > $(pkg-config --cflags --libs gstreamer-0.10 gstreamer-app-0.10)
> > -lgstapp-0.10  -lgstinterfaces-0.10
> >
> > Is there a configuration option for seting up the PKG_CONFIG_PATH ?
> >
> > Thanks,
> > Tarek
> >
> > On Wed, Dec 5, 2012 at 2:49 PM, Krzysztof Konopko <
> > krzysztof.konopko at youview.com> wrote:
> >
> >> PKG_CONFIG_PATH
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20121205/bfb9fc50/attachment.html>


More information about the gstreamer-devel mailing list