Issues doing an uninstalled setup

Pedro Côrte-Real pedro at pedrocr.net
Sat Dec 28 15:11:51 PST 2013


I've been trying to do an uninstalled setup today of gstreamer 1.2 and
ran into some issues. I've been able to get a working setup of master
using the scripts included in the main model so I assume this just
isn't tested for the 1.2 case.

1) The first issue is that git-update.sh defaults to pulling master
breaking the checkouts that create-uninstalled-setup.sh has done. The
solution is to just do "git pull" instead of "git pull origin master":

--- git-update.sh 2013-12-28 22:13:30.717280878 +0000
+++ master/gstreamer/scripts/git-update.sh 2013-12-28 20:57:38.887944702 +0000
@@ -35,12 +35,12 @@
     echo "+ updating $m"
     cd $m

-    git pull
+    git pull origin master
     if test $? -ne 0
     then
       echo "$m: update (trying stash, pull, stash apply)" >> $ERROR_LOG
       git stash
-      git pull
+      git pull origin master
       if test $? -ne 0
       then
         echo "$m: update" >> $ERROR_LOG

2) The second issue is that the plugin path doesn't seem to actually
work. After solving 1) everything builds fine but then gst-inspect-1.0
seems to show only the elements compiled in:

$ gst-inspect-1.0
coreelements:  capsfilter: CapsFilter
coreelements:  fakesrc: Fake Source
coreelements:  fakesink: Fake Sink
coreelements:  fdsrc: Filedescriptor Source
coreelements:  fdsink: Filedescriptor Sink
coreelements:  filesrc: File Source
coreelements:  funnel: Funnel pipe fitting
coreelements:  identity: Identity
coreelements:  input-selector: Input selector
coreelements:  output-selector: Output selector
coreelements:  queue: Queue
coreelements:  queue2: Queue 2
coreelements:  filesink: File Sink
coreelements:  tee: Tee pipe fitting
coreelements:  typefind: TypeFind
coreelements:  multiqueue: MultiQueue
coreelements:  valve: Valve element
staticelements:  bin: Generic bin
staticelements:  pipeline: Pipeline object

Total count: 194 plugins (192 blacklist entries not shown), 19 features

GST_PLUGIN_PATH looks good though:

$ echo $GST_PLUGIN_PATH
/home/pedrocr/gst/1.2/gstreamer/plugins:/home/pedrocr/gst/1.2/gst-plugins-base/ext:/home/pedrocr/gst/1.2/gst-plugins-base/gst:/home/pedrocr/gst/1.2/gst-plugins-base/sys:/home/pedrocr/gst/1.2/gst-plugins-good/ext:/home/pedrocr/gst/1.2/gst-plugins-good/gst:/home/pedrocr/gst/1.2/gst-plugins-good/sys:/home/pedrocr/gst/1.2/gst-plugins-ugly/ext:/home/pedrocr/gst/1.2/gst-plugins-ugly/gst:/home/pedrocr/gst/1.2/gst-plugins-ugly/sys:/home/pedrocr/gst/1.2/gst-plugins-bad/ext:/home/pedrocr/gst/1.2/gst-plugins-bad/gst:/home/pedrocr/gst/1.2/gst-plugins-bad/sys:/home/pedrocr/gst/1.2/gst-libav/ext/:/home/pedrocr/gst/1.2/gst-ffmpeg/ext/:/home/pedrocr/gst/1.2/gnonlin/gnl/.libs:/home/pedrocr/gst/1.2/gst-openmax/omx/.libs:/home/pedrocr/gst/1.2/gst-omx/omx/.libs:/home/pedrocr/gst/1.2/gst-plugins-gl/gst/gl/.libs:/home/pedrocr/gst/1.2/clutter-gst/clutter-gst/.libs:/home/pedrocr/gst/1.2/plugins:/home/pedrocr/gst/1.2/farsight2/gst:/home/pedrocr/gst/1.2/farsight2/transmitters:/home/pedrocr/gst/1.2/libnice/gst

and those paths include plugins:

$ ls /home/pedrocr/gst/1.2/gst-plugins-base/ext/alsa
gstalsa.c             gstalsa.h        gstalsasink.h  libgstalsa.la
                    libgstalsa_la-gstalsaplugin.lo  Makefile
gstalsadeviceprobe.c  gstalsaplugin.c  gstalsasrc.c
libgstalsa_la-gstalsadeviceprobe.lo  libgstalsa_la-gstalsasink.lo
Makefile.am
gstalsadeviceprobe.h  gstalsasink.c    gstalsasrc.h
libgstalsa_la-gstalsa.lo             libgstalsa_la-gstalsasrc.lo
Makefile.in

Any pointers are welcome here.

Pedro


More information about the gstreamer-devel mailing list