<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">2014-05-20 8:15 GMT+02:00 Lasse Laursen <span dir="ltr"><<a href="mailto:gazoo@42.dk" target="_blank">gazoo@42.dk</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Dear Sebastian and Andoni,<br>
<br>
Thank you both for your replies. The 'audiovideosink', was a typo in
my e-mail only unfortunately :)<br>
<br>
Of course, the only environment variable I did not copy was the one
named 'GST_PLUGIN_PATH'. Having corrected this oversight, my program
now executes... But! Not without some new and - for me -
inexplicable 'Entry Point Now Found' errors.<br>
<br>
When gst_init is called, my program now complains about a number of
functions for which it cannot find the entry point in the
libgio-2.0-0.dll??<br>
<br>
Functions like:<br>
<br>
g_pollable_stream_read<br>
g_inet_address_equal<br>
g_socket_condition_timed_wait<br>
etc.<br>
<br>
Looking in the log I see WARNs confirming failures to find specific
procedures, but instead pointing to libgiognutls.dll?<br>
<br>
Again - I should stress that by just 'Ok'-ing my way past the
errors, the app does run and now my video pipeline works fine. But
I'm at a loss as to why I get these errors on my 2nd test machine
and not my dev machine? If it's related to the fact that I just
copied over the SDK, I don't quite see how?<br></div></blockquote><div><br></div><div>This is probably caused because your application is loading on old glib from a different path (it finds libgio-2.0-0.dll somewhere in %PATH%) . You can use an app called Dependency Walker to track all the libraries your application is loading and check that glib's dll's are loaded from the correct path and not from a different installation you might have in the target host.<br>
<br>Cheers,<br>Andoni<br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000">
<br>
Any ideas?<br>
<br>
Thank you,<br>
Lasse<div><div class="h5"><br>
<br>
<br>
<div>On 19-05-2014 17:40, Andoni Morales
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr"><br>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2014-05-19 9:19 GMT+02:00 Sebastian
Dröge <span dir="ltr"><<a href="mailto:sebastian@centricular.com" target="_blank">sebastian@centricular.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div>On Mo, 2014-05-19 at 15:13 +0900, Lasse
Laursen wrote:<br>
> Hey folks,<br>
><br>
> Now that I'm trying to recover from willpower
fatigue, I was hoping<br>
> someone with a little know how could help me out
with my predicament.<br>
><br>
> I am trying to deploy my pretty shaky/unstable
app from my developing<br>
> machine, to my other private test machine. The
goal is to be able to<br>
> distribute a zip file containing all the
necessary files to a few close<br>
> friends and have them run my app for various
testing purposes.<br>
><br>
> My application unfortunately doesn't quite work
fully on my test<br>
> machine. I'm using Vs2013 and am remote debugging
the app on my test<br>
> machine. This made pinpointing the issue quite
easy, which is that my<br>
> call to 'gst_parse_launch' returns a void pointer
and tells me that<br>
> there is no element "uridecodebin".<br>
><br>
> I should note at this point, that I simply copied
the SDK directly from<br>
> my dev machine and set up the necessary
environment variables - thinking<br>
> along the lines of "let's take it all, and then
trim it down to what my<br>
> app really seems to need". It should be noted
that everything works fine<br>
> on my development machine, and to my bigger
surprise it *also* works on<br>
> my second test machine when launching the string
via the<br>
> gst-launch-1.0.exe file.<br>
><br>
> The string is as follows:<br>
><br>
> gst-launch-1.0.exe uridecodebin
uri=<a>file:///D:/PMP/vids/cosmos.webm</a> !<br>
> videorate ! video/x-raw,framerate=30/1 !
videoconvert ! videoscale !<br>
> appsink name=sink
caps=\"video/x-raw,format=RGB,pixel-aspect-ratio=1/1"<br>
><br>
> appsink is replaced with 'audiovideosink' when I
run it from the command<br>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>Check your pipeline again, just in case you have the
same typo as here :)<br>
audiovideosink -> autovideosink<br>
<br>
</div>
<div>Cheers,<br>
</div>
<div>Andoni<br>
<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div>
> line - but as I previously stated, the original
string runs fine on my<br>
> dev machine. I've also run the gst-inspect tool
on my 2nd machine for<br>
> appsink which it seems to find without a hitch.<br>
><br>
> Does anybody have an idea to what I'm missing?
What could cause<br>
> gstreamer to seemingly work fine on the command
line, as well as in the<br>
> application on my dev machine, but not on my 2nd
machine?<br>
<br>
</div>
</div>
Usually gst_parse_launch() returns NULL if plugins are
missing. You<br>
should see that from the GError parameter, and also if you
run your<br>
application with GST_DEBUG=6 to get all the debug output.<br>
<span><font color="#888888"><br>
--<br>
Sebastian Dröge, Centricular Ltd - <a href="http://www.centricular.com" target="_blank">http://www.centricular.com</a><br>
Expertise, Straight from the Source<br>
</font></span><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="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Andoni Morales Alastruey<br>
<br>
LongoMatch:The Digital Coach<br>
<a href="http://www.longomatch.ylatuya.es" target="_blank">http://www.longomatch.ylatuya.es</a>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
gstreamer-devel mailing list
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
</blockquote>
<br>
</div></div><div>-- <br><div class="">
Lasse Farnung Laursen<br>
Post.doc at the University of Tokyo<br>
<a href="http://www.lasselaursen.com" target="_blank">www.lasselaursen.com</a><br>
FB: <a href="https://www.facebook.com/lasse.laursen" target="_blank">lasse.laursen</a><br>
Twitter: <a href="https://twitter.com/YouTouchTheDJ" target="_blank">@YouTouchTheDJ</a></div></div>
</div>
<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Andoni Morales Alastruey<br><br>LongoMatch:The Digital Coach<br><a href="http://www.longomatch.ylatuya.es">http://www.longomatch.ylatuya.es</a>
</div></div>