Error due to Gstreamer plugins on ARM

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

Error due to Gstreamer plugins on ARM

Arjav Parikh
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.

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=SpeakMediaPlayer
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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

gstreamer_build.txt (15K) Download Attachment
gstreamer_compilation.txt (6K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Error due to Gstreamer plugins on ARM

Nicolas Dufresne-5
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
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (201 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Error due to Gstreamer plugins on ARM

Arjav Parikh
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

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=SpeakMediaPlayer
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 <[hidden email]> 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=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
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


--
Thanks & Regards,
Arjav Parikh

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

gstreamer_files.txt (8K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Error due to Gstreamer plugins on ARM

Nicolas Dufresne-5
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=Spea
> 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 <[hidden email]
> > 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
> > > [hidden email]
> > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > _______________________________________________
> > gstreamer-devel mailing list
> > [hidden email]
> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Error due to Gstreamer plugins on ARM

Arjav Parikh
Hi Nicolas,
Thank you for your response.

Can you please elaborate more on environment setup.

In case of yocto I am using default bb file from openembedded branch in GitHub.

Thanks & Regards,
Arjav Parikh

On Wed, Oct 3, 2018, 10:10 PM Nicolas Dufresne <[hidden email]> 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=Spea
> 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 <[hidden email]
> > 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
> > > [hidden email]
> > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > _______________________________________________
> > gstreamer-devel mailing list
> > [hidden email]
> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Error due to Gstreamer plugins on ARM

Nicolas Dufresne-5
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 <[hidden email]>
> 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 <
> > [hidden email]
> > > > 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
> > > > > [hidden email]
> > > > >
> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > > > _______________________________________________
> > > > gstreamer-devel mailing list
> > > > [hidden email]
> > > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > >
> > >
> > > _______________________________________________
> > > gstreamer-devel mailing list
> > > [hidden email]
> > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> >
> > _______________________________________________
> > gstreamer-devel mailing list
> > [hidden email]
> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Error due to Gstreamer plugins on ARM

Arjav Parikh
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 <[hidden email]> 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 <[hidden email]>
> 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 <
> > [hidden email]
> > > > 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
> > > > > [hidden email]
> > > > >
> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > > > _______________________________________________
> > > > gstreamer-devel mailing list
> > > > [hidden email]
> > > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > >
> > >
> > > _______________________________________________
> > > gstreamer-devel mailing list
> > > [hidden email]
> > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> >
> > _______________________________________________
> > gstreamer-devel mailing list
> > [hidden email]
> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Error due to Gstreamer plugins on ARM

Kaj-Michael Lang
In reply to this post by Arjav Parikh
On Tue, 2018-10-02 at 23:32 +0530, Arjav Parikh wrote:
> cross compiling gstreamer & its plugins on the ARM Platform board

Just a comment, you seem to be building for a aarch64 board, those are
for sure powerful enough to compile on natively. No need to bother with
all the hassle with cross-compiling and moving files over.

-- 
Kaj-Michael Lang <[hidden email]>

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Error due to Gstreamer plugins on ARM

Arjav Parikh
> Just a comment, you seem to be building for a aarch64 board, those are
> for sure powerful enough to compile on natively. No need to bother with
> all the hassle with cross-compiling and moving files over.

In my case it is not possible to compile any code natively. For reference I am using Qualcomm based APQ8053 SOC (Cortex A53 ARM CPU)


On Thu, Oct 4, 2018 at 12:45 PM Kaj-Michael Lang <[hidden email]> wrote:
On Tue, 2018-10-02 at 23:32 +0530, Arjav Parikh wrote:
> cross compiling gstreamer & its plugins on the ARM Platform board

Just a comment, you seem to be building for a aarch64 board, those are
for sure powerful enough to compile on natively. No need to bother with
all the hassle with cross-compiling and moving files over.

-- 
Kaj-Michael Lang <[hidden email]>

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


--
Thanks & Regards,
Arjav Parikh

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Error due to Gstreamer plugins on ARM

Nicolas Dufresne-5
In reply to this post by Arjav Parikh
Le jeudi 04 octobre 2018 à 07:53 +0530, Arjav Parikh a écrit :
> 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.

As I said in my previous email, try and set GST_PLUGINS_PATH to
whatever patch you have installed your GStreamer plugins (if you
installed them).

>
> Thanks & Regards,
> Arjav Parikh
>
> On Thu, Oct 4, 2018, 12:22 AM Nicolas Dufresne <[hidden email]>
> 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 <
> > [hidden email]>
> > > 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 <
> > > > [hidden email]
> > > > > > 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
> > > > > > > [hidden email]
> > > > > > >
> > > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > > > > > _______________________________________________
> > > > > > gstreamer-devel mailing list
> > > > > > [hidden email]
> > > > > >
> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > gstreamer-devel mailing list
> > > > > [hidden email]
> > > > >
> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > > >
> > > > _______________________________________________
> > > > gstreamer-devel mailing list
> > > > [hidden email]
> > > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > >
> > > _______________________________________________
> > > gstreamer-devel mailing list
> > > [hidden email]
> > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> >
> > _______________________________________________
> > gstreamer-devel mailing list
> > [hidden email]
> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (201 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Error due to Gstreamer plugins on ARM

Arjav Parikh
Nicolas, I followed the steps as you mentioned but it produces same error.

On Thu, Oct 4, 2018 at 9:02 PM Nicolas Dufresne <[hidden email]> wrote:
Le jeudi 04 octobre 2018 à 07:53 +0530, Arjav Parikh a écrit :
> 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.

As I said in my previous email, try and set GST_PLUGINS_PATH to
whatever patch you have installed your GStreamer plugins (if you
installed them).

>
> Thanks & Regards,
> Arjav Parikh
>
> On Thu, Oct 4, 2018, 12:22 AM Nicolas Dufresne <[hidden email]>
> 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 <
> > [hidden email]>
> > > 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 <
> > > > [hidden email]
> > > > > > 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
> > > > > > > [hidden email]
> > > > > > >
> > > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > > > > > _______________________________________________
> > > > > > gstreamer-devel mailing list
> > > > > > [hidden email]
> > > > > >
> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > gstreamer-devel mailing list
> > > > > [hidden email]
> > > > >
> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > > >
> > > > _______________________________________________
> > > > gstreamer-devel mailing list
> > > > [hidden email]
> > > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > >
> > > _______________________________________________
> > > gstreamer-devel mailing list
> > > [hidden email]
> > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> >
> > _______________________________________________
> > gstreamer-devel mailing list
> > [hidden email]
> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


--
Thanks & Regards,
Arjav Parikh

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Error due to Gstreamer plugins on ARM

Arjav Parikh
Hi Nicolas,
I could resolve the setupPipelineFailed error. Thanks for your support.

On Sat, Oct 6, 2018 at 6:50 PM Arjav Parikh <[hidden email]> wrote:
Nicolas, I followed the steps as you mentioned but it produces same error.

On Thu, Oct 4, 2018 at 9:02 PM Nicolas Dufresne <[hidden email]> wrote:
Le jeudi 04 octobre 2018 à 07:53 +0530, Arjav Parikh a écrit :
> 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.

As I said in my previous email, try and set GST_PLUGINS_PATH to
whatever patch you have installed your GStreamer plugins (if you
installed them).

>
> Thanks & Regards,
> Arjav Parikh
>
> On Thu, Oct 4, 2018, 12:22 AM Nicolas Dufresne <[hidden email]>
> 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 <
> > [hidden email]>
> > > 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 <
> > > > [hidden email]
> > > > > > 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
> > > > > > > [hidden email]
> > > > > > >
> > > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > > > > > _______________________________________________
> > > > > > gstreamer-devel mailing list
> > > > > > [hidden email]
> > > > > >
> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > gstreamer-devel mailing list
> > > > > [hidden email]
> > > > >
> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > > >
> > > > _______________________________________________
> > > > gstreamer-devel mailing list
> > > > [hidden email]
> > > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> > >
> > > _______________________________________________
> > > gstreamer-devel mailing list
> > > [hidden email]
> > > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> >
> > _______________________________________________
> > gstreamer-devel mailing list
> > [hidden email]
> > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


--
Thanks & Regards,
Arjav Parikh


--
Thanks & Regards,
Arjav Parikh

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Error due to Gstreamer plugins on ARM

Carl
Hi  Arjav,

     when i run ./SampleApp ./AlexaClientSDKConfig.json DEBUG9,I get same
error as same as you get.
could you tell me how do you fix this error!Thanks!

Best regards!
Carl.

2019-01-04 02:37:45.872 [  1] E SQLiteMiscStorage:createFailed:reason=Could
not load config value,key=databaseFilePath
2019-01-04 02:37:45.879 [  1] 1
InMemoryEqualizerConfiguration:validateConfiguration::Validating Equalizer
configuration
2019-01-04 02:37:45.887 [  1] 1
InMemoryEqualizerConfiguration:validateConfiguration::Validating default
Equalizer state
2019-01-04 02:37:45.899 [  1] 1
InMemoryEqualizerConfiguration:validateConfiguration::Validating Equalizer
configuration
2019-01-04 02:37:45.908 [  1] 1
InMemoryEqualizerConfiguration:validateConfiguration::Validating default
Equalizer state
2019-01-04 02:37:45.919 [  1] E
MiscDBEqualizerStorage:createFailed:reason=storageNull
2019-01-04 02:37:45.928 [  1] 9
MediaPlayer:createCalled:name=SpeakMediaPlayer
2019-01-04 02:37:45.971 [  1] E
*MediaPlayer:setupPipelineFailed:name=SpeakMediaPlayer,reason=createQueueElementFailed*
2019-01-04 02:37:45.976 [  1] E
MediaPlayer:initPlayerFailed:name=SpeakMediaPlayer,reason=setupPipelineFailed
2019-01-04 02:37:45.986 [  1] 9
MediaPlayer:~MediaPlayer:name=SpeakMediaPlayer

(<unknown>:801): GStreamer-CRITICAL **: 02:37:45.994: gst_object_unref:
assertion 'object != NULL' failed
2019-01-04 02:37:46.004 [  1] 9
MediaPlayer:resetPipeline:name=SpeakMediaPlayer
2019-01-04 02:37:46.011 [  1] E
RequiresShutdown:~RequiresShutdownFailed:reason=notShutdown,name=SpeakMediaPlayer
2019-01-04 02:37:46.022 [  1] C SampleApplication:Failed to create media
player for speech!
2019-01-04 02:37:46.029 [  1] C SampleApplication:Failed to initialize
SampleApplication



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel