Deployment of GStreamer app on Test Machine

Andoni Morales ylatuya at gmail.com
Mon May 19 01:40:24 PDT 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140519/7f383503/attachment.html>


More information about the gstreamer-devel mailing list