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