[gst-devel] Element/Plugin Trouble...

CCiongoli at viewpoint.org CCiongoli at viewpoint.org
Mon Apr 21 15:50:15 CEST 2003


I am running RedHat Linux on a 2.0 GHz PC.  I installed the GStreamer
packages "gstreamer-0.4.2-fr1.i386.rpm" "gstreamer-0.4.2-fr1.src.rpm" and
"gstreamer-devel-0.4.2-fr1.i386.rpm".  I ran a simple program "gst-launch
filesrc location=a.mp3 ! mad ! osssink" at the command line, and recieved an
error, "ERROR: pipeline could not be constructed: No such element mad".  I
then got the file "libmad-0.14.2b-3.i386.rpm" from the RedHat 8.0
installation CD and installed it.  I ran "gst-register" again and it
outputted this:

[root at localhost root]# gst-register
INFO (11801: 0) Initializing GStreamer Core Library version 0.4.2
INFO (11801: 0) CPU features: (00000000) MMX SSE
rebuilding global_registry
added plugin gsttypes with 2 feature(s)
added plugin gststaticautoplugrender with 1 feature(s)
added plugin gststaticautoplug with 1 feature(s)
added plugin gstspider with 2 feature(s)
added plugin gstputbits with 0 feature(s)
added plugin gstoptomegascheduler with 1 feature(s)
added plugin gstgetbits with 0 feature(s)
added plugin gstfastwingoscheduler with 1 feature(s)
added plugin gstfastomegascheduler with 1 feature(s)
added plugin gstelements with 13 feature(s)
added plugin gstbytestream with 0 feature(s)
added plugin gstbasicwingoscheduler with 1 feature(s)
added plugin gstbasicomegascheduler with 1 feature(s)
added plugin autoplugger with 1 feature(s)
added plugin autoplugcache with 1 feature(s)
rebuilding user_registry
loaded 15 plugins with 26 features


When I ran "gst-launch filesrc location=a.mp3 ! mad ! osssink" again, I got
the same error as before, "ERROR: pipeline could not be constructed: No such
element mad".  When I ran "gst-inspect mad", I saw this:

[root at localhost root]# gst-inspect mad
INFO (11812: 0) Initializing GStreamer Core Library version 0.4.2
INFO (11812: 0) CPU features: (00000000) MMX SSE
registry: loaded user_registry in 0.000155 seconds
          (/root/.gstreamer/registry.xml)
registry: loaded global_registry in 0.006390 seconds
          (/etc/gstreamer/registry.xml)
no such element or plugin 'mad'


I then also typed in "gst-inspect osssink" (to see information of the Open
Sound System sink), I saw this:

[root at localhost root]# gst-inspect osssink
INFO (11813: 0) Initializing GStreamer Core Library version 0.4.2
INFO (11813: 0) CPU features: (00000000) MMX SSE
registry: loaded user_registry in 0.000154 seconds
          (/root/.gstreamer/registry.xml)
registry: loaded global_registry in 0.005745 seconds
          (/etc/gstreamer/registry.xml)
no such element or plugin 'osssink'


I know that OSS works, as I made sure (in Control Center -> Sound -> Sound
Server) that OSS was the sound server being used, I hit "apply" and then
"Play Test Sound" and heard the sound fine, so I know OSS works.  I'm not
sure what is wrong, GStreamer cannot find the plugins...  When I ran
"gst-inspect gstelements" this is what I saw:

[root at localhost root]# gst-inspect gstelements
INFO (11802: 0) Initializing GStreamer Core Library version 0.4.2
INFO (11802: 0) CPU features: (00000000) MMX SSE
registry: loaded user_registry in 0.000159 seconds
          (/root/.gstreamer/registry.xml)
registry: loaded global_registry in 0.006427 seconds
          (/etc/gstreamer/registry.xml)
Plugin Details:
  Name:         gstelements
  Long Name:    Standard GST Elements
  Filename:     /usr/lib/gst/libgstelements.so

  fakesrc: Fake Source
  fakesink: Fake Sink
  filesrc: File Source
  filesink: File Sink
  identity: Identity
  fdsink: Filedescriptor Sink
  fdsrc: Disk Source
  multidisksrc: Multi Disk Source
  pipefilter: Pipefilter
  tee: Tee pipe fitting
  aggregator: Aggregator pipe fitting
  statistics: Statistics
  md5sink: MD5 Sink

[root at localhost root]#


I Don't know why this is happening.  Help would be greatly appreciated,
Thanks!




More information about the gstreamer-devel mailing list