Error due to Gstreamer plugins on ARM

Nicolas Dufresne nicolas at ndufresne.ca
Tue Oct 2 20:54:53 UTC 2018


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=Spea
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20181002/77fc648c/attachment.sig>


More information about the gstreamer-devel mailing list