<div dir="ltr">Nicolas, I followed the steps as you mentioned but it produces same error.<br><div><br><div class="gmail_quote"><div dir="ltr">On Thu, Oct 4, 2018 at 9:02 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 jeudi 04 octobre 2018 à 07:53 +0530, Arjav Parikh a écrit :<br>
> Regarding environment setup I thought if you could provide little<br>
> more information it would be really helpful.<br>
> <br>
> Previously I was manually configuring Gstreamer and I was getting<br>
> errors. So I tried with yocto as it resolves dependencies<br>
> automatically but in that case also same error.<br>
<br>
As I said in my previous email, try and set GST_PLUGINS_PATH to<br>
whatever patch you have installed your GStreamer plugins (if you<br>
installed them).<br>
<br>
> <br>
> Thanks & Regards,<br>
> Arjav Parikh<br>
> <br>
> On Thu, Oct 4, 2018, 12:22 AM Nicolas Dufresne <<a href="mailto:nicolas@ndufresne.ca" target="_blank">nicolas@ndufresne.ca</a>><br>
> wrote:<br>
> > Le mercredi 03 octobre 2018 à 22:39 +0530, Arjav Parikh a écrit :<br>
> > > Hi Nicolas,<br>
> > > Thank you for your response.<br>
> > > <br>
> > > Can you please elaborate more on environment setup.<br>
> > <br>
> > It's all in my previous email.<br>
> > <br>
> > > <br>
> > > In case of yocto I am using default bb file from openembedded<br>
> > branch<br>
> > > in GitHub.<br>
> > <br>
> > Somehow you're installation does not match the configuration given<br>
> > to<br>
> > GStreamer at build time. What's also odd, is that even though you<br>
> > say<br>
> > you used yocto, you provided a build script earlier.<br>
> > <br>
> > > <br>
> > > Thanks & Regards,<br>
> > > Arjav Parikh<br>
> > > <br>
> > > On Wed, Oct 3, 2018, 10:10 PM Nicolas Dufresne <<br>
> > <a href="mailto:nicolas@ndufresne.ca" target="_blank">nicolas@ndufresne.ca</a>><br>
> > > wrote:<br>
> > > > Le mercredi 03 octobre 2018 à 20:24 +0530, Arjav Parikh a écrit<br>
> > :<br>
> > > > > Hi,<br>
> > > > > I again cross compiled gstreamer, gst-plugins-base, gst-<br>
> > plugins-<br>
> > > > good, <br>
> > > > > gst-plugins-bad, gst-libav using yocto (for ARM itself) and<br>
> > files<br>
> > > > > (mentioned in gstreamer_files.txt) generated after successful<br>
> > > > 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<br>
> > ?<br>
> > > > Why<br>
> > > > does your Yocto setup not use the final install prefix ?<br>
> > > > <br>
> > > > Short answer, you still have a broken installation. You should<br>
> > 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<br>
> > > > 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>
> > > > ><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<br>
> > 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'<br>
> > > > failed<br>
> > > > > 1970-01-08 22:29:08.618 [ 1] E<br>
> > > > ><br>
> > > ><br>
> > RequiresShutdown:~RequiresShutdownFailed:reason=notShutdown,name=Sp<br>
> > > > ea<br>
> > > > > kMediaPlayer<br>
> > > > > 1970-01-08 22:29:08.618 [ 1] C SampleApplication:Failed to<br>
> > > > 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 <<br>
> > > > <a href="mailto:nicolas@ndufresne.ca" target="_blank">nicolas@ndufresne.ca</a><br>
> > > > > > wrote:<br>
> > > > > > Le mardi 02 octobre 2018 à 23:32 +0530, Arjav Parikh a<br>
> > écrit :<br>
> > > > > > > Hi,<br>
> > > > > > > I am cross compiling AVS SDK (Alexa Voice Service) for<br>
> > ARM<br>
> > > > > > platform.<br>
> > > > > > > As per AVS SDK dependencies Gstreamer & its plugins of<br>
> > 1.8.3<br>
> > > > or<br>
> > > > > > later<br>
> > > > > > > version is required. So I have cross compiled Gstreamer &<br>
> > its<br>
> > > > > > plugins<br>
> > > > > > > of version 1.14.2 through source code in Ubuntu 16.04.<br>
> > > > > > > Please find attached document (gstreamer_compilation.txt)<br>
> > > > 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<br>
> > is<br>
> > > > > > > successfully built. I have Copied all the binaries &<br>
> > > > libraries<br>
> > > > > > > generated from cross compiling gstreamer & its plugins on<br>
> > the<br>
> > > > ARM<br>
> > > > > > > Platform board<br>
> > > > > > > Please find attached document (gstreamer_build.txt) which<br>
> > > > lists<br>
> > > > > > the<br>
> > > > > > > binaries & libraries of gstreamer copied on board.<br>
> > > > > > > <br>
> > > > > > > On Executing AVS SampleApp on Board I get below mentioned<br>
> > > > 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<br>
> > > > ported<br>
> > > > > > on<br>
> > > > > > > Board.<br>
> > > > > > > <br>
> > > > > > > Please let me know in case of any additional information<br>
> > > > required<br>
> > > > > > > from my end.<br>
> > > > > > <br>
> > > > > > To continue what was discussed ont he bug, you seem to have<br>
> > > > forgot<br>
> > > > > > to<br>
> > > > > > set your run-time env. Adding symlink to some random place<br>
> > > > won't<br>
> > > > > > make<br>
> > > > > > it work. Best is to setup a prefix env, please fix for your<br>
> > > > 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<br>
> > as<br>
> > > > many<br>
> > > > > > prefix as there is component generates a lot of setup and<br>
> > is<br>
> > > > > > complicated. So if you want to keep it this way, then I<br>
> > 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>
> > > > > > ><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<br>
> > 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 ><br>
> > 0'<br>
> > > > > > failed<br>
> > > > > > > 2018-10-01 08:57:22.670 [ 1] E<br>
> > > > > > ><br>
> > > > > ><br>
> > > ><br>
> > RequiresShutdown:~RequiresShutdownFailed:reason=notShutdown,name=Sp<br>
> > > > > > ea<br>
> > > > > > > kMediaPlayer<br>
> > > > > > > 2018-10-01 08:57:22.670 [ 1] C SampleApplication:Failed<br>
> > to<br>
> > > > create<br>
> > > > > > > media player for speech!<br>
> > > > > > > 2018-10-01 08:57:22.670 [ 1] C SampleApplication:Failed<br>
> > 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">gstreamer-devel@lists.freedesktop.org</a><br>
> > > > > > > <br>
> > > > <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="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">gstreamer-devel@lists.freedesktop.org</a><br>
> > > > > > <br>
> > <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="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">gstreamer-devel@lists.freedesktop.org</a><br>
> > > > > <br>
> > <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="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">gstreamer-devel@lists.freedesktop.org</a><br>
> > > > <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="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">gstreamer-devel@lists.freedesktop.org</a><br>
> > > <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="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">gstreamer-devel@lists.freedesktop.org</a><br>
> > <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="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">gstreamer-devel@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="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">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Thanks & Regards,<div>Arjav Parikh</div></div></div></div></div>