[gst-devel] Problem in working with helloworld sample

Dinesh Ahuja mdlinux7 at yahoo.co.in
Wed Aug 25 10:26:03 CEST 2004


I have installed all the neccessary packages for
GStreamer provided by repository listed at below site
http://gstreamer.freedesktop.org/download/redhat.html

When I gst-inspect on mad plugin, I get the below
information. After seeing this info, it seems that my
system have mad installed in it but still when I
execute helloworld example, I get the error mentioned
below:
could not find plugin "mad"

My registry.xml looks like this and I have executed
gst-register after logging in as root.

<?xml version="1.0"?>
<GST-PluginRegistry>
<gst-plugin-paths>
</gst-plugin-paths>
</GST-PluginRegistry>

Please guide me how to proceed further with this.

Thanks & Regards
Dinesh

************OutPut of gst-inspect mad *********

[root at localhost helloworld]# gst-inspect mad
 
** (process:2889): CRITICAL **: Could not parse caps:
length 2695, content: image/jpeg, framerate=(double)[
0, 1.7976931348623157e+308 ], width=(int)[ 16, 4096 ],
height=(int)[ 16, 4096 ], pixel_width=(int)[ 0, 255 ],
pixel_height=(int)[ 0, 255 ]; video/mpeg,
systemstream=(boolean)false, mpegversion=(boolean){
true, 4, 1, 2 }, framerate=(double)[ 0,
1.7976931348623157e+308 ], width=(int)[ 16, 4096 ],
height=(int)[ 16, 4096 ], pixel_width=(int)[ 0, 255 ],
pixel_height=(int)[ 0, 255 ]; video/x-3ivx,
framerate=(double)[ 0, 1.7976931348623157e+308 ],
width=(int)[ 16,
4096 ], height=(int)[ 16, 4096 ], pixel_width=(int)[
0, 255 ], pixel_height=(int)[ 0, 255 ];
video/x-cinepak, framerate=(double)[ 0,
1.7976931348623157e+308 ], width=(int)[ 16, 4096 ],
height=(int)[ 16, 4096 ], pixel_width=(int)[ 0, 255 ],
pixel_height=(int)[ 0, 255 ]; video/x-divx,
divxversion=(int){ 5, 4, 3 }, width=(int)[ 16, 4096 ],
height=(int)[ 16, 4096 ], pixel_width=(int)[ 0, 255 ],
pixel_height=(int)[ 0, 255 ], framerate=(double)[ 0,
1.7976931348623157e+308 ]; video/x-dv,
 
(process:2889): GStreamer-CRITICAL **: file gstpad.c:
line 3613 (gst_pad_template_new): assertion `caps !=
NULL' failed
 
(process:2889): GStreamer-CRITICAL **: file
gstelementfactory.c: line 349
(__gst_element_factory_add_pad_template): assertion
`templ != NULL' failed
Factory Details:
  Long name:    mad mp3 decoder
  Class:        Codec/Decoder/Audio
  Description:  Uses mad code to decode mp3 streams
  Author(s):    Wim Taymans <wim.taymans at chello.be>
  Rank:         primary (256)
 
GObject
 +----GstObject
       +----GstElement
             +----GstMad
 
Pad Templates:
  SINK template: 'sink'
    Availability: Always
    Capabilities:
      audio/mpeg
            mpegversion: 1
                  layer: [ 1, 3 ]
 
  SRC template: 'src'
    Availability: Always
    Capabilities:
      audio/x-raw-int
             endianness: 1234
                 signed: true
                  width: 16
                  depth: 16
                   rate: [ 11025, 48000 ]
               channels: [ 1, 2 ]
 
 
Element Flags:
  GST_ELEMENT_EVENT_AWARE
 
Element Implementation:
  No loopfunc(), must be chain-based or not configured
yet
  Has change_state() function: 0x40019d20
  Has custom save_thyself() function:
gst_element_save_thyself
  Has custom restore_thyself() function:
gst_element_restore_thyself
 
Element has no clocking capabilities.
Indexing capabilities:
  element can do indexing
 
Pads:
  SINK: 'sink'
    Implementation:
      Has chainfunc(): gst_mad_chain
      Supports seeking/conversion/query formats:
                (2):    bytes (Bytes)
                (3):    time (Time)
      Has custom convertfunc(): gst_mad_convert_sink
    Pad Template: 'sink'
  SRC: 'src'
    Implementation:
      Supports seeking/conversion/query formats:
                (2):    bytes (Bytes)
                (1):    default (Default format for
the media type)
                (3):    time (Time)
      Has custom convertfunc(): gst_mad_convert_src
      Has custom eventfunc(): gst_mad_src_event
        Provides event masks:
                seek | method-set | flag-flush
      Has custom queryfunc(): gst_mad_src_query
        Provides query types:
                (1):    total (Total length)
                (2):    position (Current Position)
    Pad Template: 'src'
 
Element Properties:
  name                : The name of the object
                        String. (Default "element")
  half                : Generate PCM at 1/2 sample
rate
                        Boolean. (Default false)
  ignore-crc          : Ignore CRC errors
                        Boolean. (Default false)


________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony




More information about the gstreamer-devel mailing list