Appsrc plugin is not registered on embedded platform

Tarek El-Sherbiny tarek.elsherbiny at gmail.com
Wed Dec 5 08:32:48 PST 2012


Thank you very much Kris. I found the problem.

I have installed the development pkg gst-plugins-base-app-dev but forgot to
install the main pkg gst-plugins-base-app.

Now I learned how to debug Gstreamer so thanks again




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

> Hi Tarek,
>
> On 05/12/12 15:33, Tarek El-Sherbiny wrote:
> > 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
> >
> > I think I'm linking to the correct library.
> >
>
> Indeed, looks like your app is linked correctly.
>
> > Can you please share the  config.log output file from your
> gst-plugins-base
> > build?
>
> I'm afraid I can't afford spending time on filtering config logs (my
> client might be unhappy about publishing them) nor cross-compiling
> GStreamer in isolation just to see the logs.
>
> But instead, what in particular are you looking in gst-plugin-base
> config.log?
>
> Have your tried your app on PC to get the ARM platform out of the equation?
>
> Can you run your app with GST_DEBUG=4 and see if something indicates a
> failure to create appsrc element?
>
> Kris
>
> > 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/6fa0df8b/attachment-0001.html>


More information about the gstreamer-devel mailing list