Deployment of GStreamer app on Test Machine
Andoni Morales
ylatuya at gmail.com
Tue May 20 04:42:52 PDT 2014
2014-05-20 8:15 GMT+02:00 Lasse Laursen <gazoo at 42.dk>:
> Dear Sebastian and Andoni,
>
> Thank you both for your replies. The 'audiovideosink', was a typo in my
> e-mail only unfortunately :)
>
> 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.
>
> 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??
>
> Functions like:
>
> g_pollable_stream_read
> g_inet_address_equal
> g_socket_condition_timed_wait
> etc.
>
> Looking in the log I see WARNs confirming failures to find specific
> procedures, but instead pointing to libgiognutls.dll?
>
> 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?
>
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.
Cheers,
Andoni
> Any ideas?
>
> Thank you,
> Lasse
>
>
>
> On 19-05-2014 17:40, Andoni Morales wrote:
>
>
>
>
> 2014-05-19 9:19 GMT+02:00 Sebastian Dröge <sebastian at centricular.com>:
>
>> On Mo, 2014-05-19 at 15:13 +0900, Lasse Laursen wrote:
>> > Hey folks,
>> >
>> > Now that I'm trying to recover from willpower fatigue, I was hoping
>> > someone with a little know how could help me out with my predicament.
>> >
>> > I am trying to deploy my pretty shaky/unstable app from my developing
>> > machine, to my other private test machine. The goal is to be able to
>> > distribute a zip file containing all the necessary files to a few close
>> > friends and have them run my app for various testing purposes.
>> >
>> > My application unfortunately doesn't quite work fully on my test
>> > machine. I'm using Vs2013 and am remote debugging the app on my test
>> > machine. This made pinpointing the issue quite easy, which is that my
>> > call to 'gst_parse_launch' returns a void pointer and tells me that
>> > there is no element "uridecodebin".
>> >
>> > I should note at this point, that I simply copied the SDK directly from
>> > my dev machine and set up the necessary environment variables - thinking
>> > along the lines of "let's take it all, and then trim it down to what my
>> > app really seems to need". It should be noted that everything works fine
>> > on my development machine, and to my bigger surprise it *also* works on
>> > my second test machine when launching the string via the
>> > gst-launch-1.0.exe file.
>> >
>> > The string is as follows:
>> >
>> > gst-launch-1.0.exe uridecodebin uri=file:///D:/PMP/vids/cosmos.webm !
>> > videorate ! video/x-raw,framerate=30/1 ! videoconvert ! videoscale !
>> > appsink name=sink caps=\"video/x-raw,format=RGB,pixel-aspect-ratio=1/1"
>> >
>> > appsink is replaced with 'audiovideosink' when I run it from the command
>>
>
> Check your pipeline again, just in case you have the same typo as here :)
> audiovideosink -> autovideosink
>
> Cheers,
> Andoni
>
>
>> > line - but as I previously stated, the original string runs fine on my
>> > dev machine. I've also run the gst-inspect tool on my 2nd machine for
>> > appsink which it seems to find without a hitch.
>> >
>> > Does anybody have an idea to what I'm missing? What could cause
>> > gstreamer to seemingly work fine on the command line, as well as in the
>> > application on my dev machine, but not on my 2nd machine?
>>
>> Usually gst_parse_launch() returns NULL if plugins are missing. You
>> should see that from the GError parameter, and also if you run your
>> application with GST_DEBUG=6 to get all the debug output.
>>
>> --
>> Sebastian Dröge, Centricular Ltd - http://www.centricular.com
>> Expertise, Straight from the Source
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>>
>
>
> --
> Andoni Morales Alastruey
>
> LongoMatch:The Digital Coach
> http://www.longomatch.ylatuya.es
>
>
> _______________________________________________
> gstreamer-devel mailing listgstreamer-devel at lists.freedesktop.orghttp://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
> --
> Lasse Farnung Laursen
> Post.doc at the University of Tokyo
> www.lasselaursen.com
> FB: lasse.laursen <https://www.facebook.com/lasse.laursen>
> Twitter: @YouTouchTheDJ <https://twitter.com/YouTouchTheDJ>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
--
Andoni Morales Alastruey
LongoMatch:The Digital Coach
http://www.longomatch.ylatuya.es
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140520/3c47f065/attachment-0001.html>
More information about the gstreamer-devel
mailing list