Error due to Gstreamer plugins on ARM

Arjav Parikh parikharjav24 at gmail.com
Thu Oct 4 02:23:55 UTC 2018


Regarding environment setup I thought if you could provide little more
information it would be really helpful.

Previously I was manually configuring Gstreamer and I was getting errors.
So I tried with yocto as it resolves dependencies automatically but in that
case also same error.

Thanks & Regards,
Arjav Parikh

On Thu, Oct 4, 2018, 12:22 AM Nicolas Dufresne <nicolas at ndufresne.ca> wrote:

> Le mercredi 03 octobre 2018 à 22:39 +0530, Arjav Parikh a écrit :
> > Hi Nicolas,
> > Thank you for your response.
> >
> > Can you please elaborate more on environment setup.
>
> It's all in my previous email.
>
> >
> > In case of yocto I am using default bb file from openembedded branch
> > in GitHub.
>
> Somehow you're installation does not match the configuration given to
> GStreamer at build time. What's also odd, is that even though you say
> you used yocto, you provided a build script earlier.
>
> >
> > Thanks & Regards,
> > Arjav Parikh
> >
> > On Wed, Oct 3, 2018, 10:10 PM Nicolas Dufresne <nicolas at ndufresne.ca>
> > wrote:
> > > Le mercredi 03 octobre 2018 à 20:24 +0530, Arjav Parikh a écrit :
> > > > Hi,
> > > > I again cross compiled gstreamer, gst-plugins-base, gst-plugins-
> > > good,
> > > > gst-plugins-bad, gst-libav using yocto (for ARM itself) and files
> > > > (mentioned in gstreamer_files.txt) generated after successful
> > > cross
> > > > compilation have been transferred onto board.
> > > >
> > > > On running gst-inspect-1.0 I get below output:
> > > > staticelements:  bin: Generic bin
> > > > staticelements:  pipeline: Pipeline object
> > >
> > > Did you forgot to setup the environment as per my instructions ?
> > > Why
> > > does your Yocto setup not use the final install prefix ?
> > >
> > > Short answer, you still have a broken installation. You should have
> > > over 100 elements in there.
> > >
> > > >
> > > > Total count: 1 plugin, 2 features
> > > > Error observed on running my SampleApp is still :
> > > > 1970-01-08 22:29:08.610 [  1] 0
> > > ConfigurationNode:initializeSuccess
> > > > 1970-01-08 22:29:08.612 [  1] 9 MediaPlayer:createCalled
> > > > 1970-01-08 22:29:08.617 [  1] E
> > > > MediaPlayer:setupPipelineFailed:reason=createQueueElementFailed
> > > > 1970-01-08 22:29:08.617 [  1] E
> > > > MediaPlayer:initPlayerFailed:reason=setupPipelineFailed
> > > > 1970-01-08 22:29:08.617 [  1] 9 MediaPlayer:~MediaPlayerCalled
> > > >
> > > > (SampleApp:3044): GStreamer-CRITICAL **: 22:29:08.618:
> > > > gst_object_unref: assertion 'object != NULL' failed
> > > > 1970-01-08 22:29:08.618 [  1] 9 MediaPlayer:resetPipeline
> > > >
> > > > (SampleApp:3044): GLib-CRITICAL **: 22:29:08.618:
> > > > g_main_context_find_source_by_id: assertion 'source_id > 0'
> > > failed
> > > > 1970-01-08 22:29:08.618 [  1] E
> > > >
> > > RequiresShutdown:~RequiresShutdownFailed:reason=notShutdown,name=Sp
> > > ea
> > > > kMediaPlayer
> > > > 1970-01-08 22:29:08.618 [  1] C SampleApplication:Failed to
> > > create
> > > > media player for speech!
> > > > 1970-01-08 22:29:08.618 [  1] C SampleApplication:Failed to
> > > > initialize SampleApplication
> > > >
> > > > Please help.
> > > >
> > > > On Wed, Oct 3, 2018 at 2:25 AM Nicolas Dufresne <
> > > nicolas at ndufresne.ca
> > > > > wrote:
> > > > > Le mardi 02 octobre 2018 à 23:32 +0530, Arjav Parikh a écrit :
> > > > > > Hi,
> > > > > > I am cross compiling AVS SDK (Alexa Voice Service) for ARM
> > > > > platform.
> > > > > > As per AVS SDK dependencies Gstreamer & its plugins of 1.8.3
> > > or
> > > > > later
> > > > > > version is required. So I have cross compiled Gstreamer & its
> > > > > plugins
> > > > > > of version 1.14.2 through source code in Ubuntu 16.04.
> > > > > > Please find attached document (gstreamer_compilation.txt)
> > > which
> > > > > lists
> > > > > > the configuration & compilation steps for gstreamer & its
> > > > > plugins.
> > > > > >
> > > > > > Now, I compile AVS SDK using gstreamer & its plugins and is
> > > > > > successfully built. I have Copied all the binaries &
> > > libraries
> > > > > > generated from cross compiling gstreamer & its plugins on the
> > > ARM
> > > > > > Platform board
> > > > > > Please find attached document (gstreamer_build.txt) which
> > > lists
> > > > > the
> > > > > > binaries & libraries of gstreamer copied on board.
> > > > > >
> > > > > > On Executing AVS SampleApp on Board I get below mentioned
> > > error.
> > > > > > Maybe something is missing or something wrong has been
> > > > > configured.
> > > > > > Can anyone please guide me how to properly cross compile
> > > > > Gstreamer &
> > > > > > its plugins for ARM. Also which files are required to be
> > > ported
> > > > > on
> > > > > > Board.
> > > > > >
> > > > > > Please let me know in case of any additional information
> > > required
> > > > > > from my end.
> > > > >
> > > > > To continue what was discussed ont he bug, you seem to have
> > > forgot
> > > > > to
> > > > > set your run-time env. Adding symlink to some random place
> > > won't
> > > > > make
> > > > > it work. Best is to setup a prefix env, please fix for your
> > > needs,
> > > > > this
> > > > > is just pure guessing from the dump you gave.
> > > > >
> > > > >   export LD_LIBRARY_PATH=<prefix1>/lib:<prefix2>/lib:...
> > > > >   export GST_PLUGINS_PATH=<gstprefix1>/lib/gstreamer-
> > > > > 1.0:<gstprefix2>/lib/gstreamer-1.0:...
> > > > >
> > > > > Verify you setup using gst-inspect-1.0. In general, using as
> > > many
> > > > > prefix as there is component generates a lot of setup and is
> > > > > complicated. So if you want to keep it this way, then I guess
> > > > > you'll
> > > > > have to work harder.
> > > > >
> > > > > >
> > > > > > Error:
> > > > > > ./SampleApp ../Integration/AlexaClientSDKConfig.json
> > > > > > /data/alexa/KittAiModels/ DEBUG9
> > > > > > 2018-10-01 08:57:22.652 [ 1] I sdkVersion: 1.9.0
> > > > > > configFile ../Integration/AlexaClientSDKConfig.json
> > > > > > Running app with log level: DEBUG9
> > > > > > 2018-10-01 08:57:22.662 [ 1] 0
> > > > > ConfigurationNode:initializeSuccess
> > > > > > 2018-10-01 08:57:22.664 [ 1] 9 MediaPlayer:createCalled
> > > > > > 2018-10-01 08:57:22.669 [ 1] E
> > > > > >
> > > MediaPlayer:setupPipelineFailed:reason=createQueueElementFailed
> > > > > > 2018-10-01 08:57:22.669 [ 1] E
> > > > > > MediaPlayer:initPlayerFailed:reason=setupPipelineFailed
> > > > > > 2018-10-01 08:57:22.669 [ 1] 9 MediaPlayer:~MediaPlayerCalled
> > > > > > (SampleApp:9986): GStreamer-CRITICAL **: 08:57:22.670:
> > > > > > gst_object_unref: assertion 'object != NULL' failed
> > > > > > 2018-10-01 08:57:22.670 [ 1] 9 MediaPlayer:resetPipeline
> > > > > > (SampleApp:9986): GLib-CRITICAL **: 08:57:22.670:
> > > > > > g_main_context_find_source_by_id: assertion 'source_id > 0'
> > > > > failed
> > > > > > 2018-10-01 08:57:22.670 [ 1] E
> > > > > >
> > > > >
> > > RequiresShutdown:~RequiresShutdownFailed:reason=notShutdown,name=Sp
> > > > > ea
> > > > > > kMediaPlayer
> > > > > > 2018-10-01 08:57:22.670 [ 1] C SampleApplication:Failed to
> > > create
> > > > > > media player for speech!
> > > > > > 2018-10-01 08:57:22.670 [ 1] C SampleApplication:Failed to
> > > > > initialize
> > > > > > SampleApplication
> > > > > > Failed to create to SampleApplication!
> > > > > > --
> > > > > > Thanks & Regards,
> > > > > > Arjav Parikh
> > > > > > _______________________________________________
> > > > > > gstreamer-devel mailing list
> > > > > > gstreamer-devel at lists.freedesktop.org
> > > > > >
> > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > > > > _______________________________________________
> > > > > gstreamer-devel mailing list
> > > > > gstreamer-devel at lists.freedesktop.org
> > > > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > > >
> > > >
> > > > _______________________________________________
> > > > gstreamer-devel mailing list
> > > > gstreamer-devel at lists.freedesktop.org
> > > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > >
> > > _______________________________________________
> > > gstreamer-devel mailing list
> > > gstreamer-devel at lists.freedesktop.org
> > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> >
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20181004/47431ba7/attachment-0001.html>


More information about the gstreamer-devel mailing list