[gst-devel] how to linking the proper GstElement?

andika ignabandika at yahoo.com
Wed Jun 6 04:02:37 CEST 2007


hi,

When i try do this : 
  gst-launch filesrc location=a.mp3 ! mad ! volume ! osssink
 
i got "cant link mad0 to volume0" message.

when i do gst-inspect query for getting  mad caps :
    Capabilities:
      audio/x-raw-int
             endianness: 1234
                 signed: true
                  width: 32
                  depth: 32
                   rate: { 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000 }
               channels: [ 1, 2 ]


and for volume :
   Capabilities:
      audio/x-raw-float
                   rate: [ 1, 2147483647 ]
               channels: [ 1, 2147483647 ]
             endianness: 1234
                  width: { 32, 64 }
      audio/x-raw-int
               channels: [ 1, 2147483647 ]
                   rate: [ 1, 2147483647 ]
             endianness: 1234
                  width: 16
                  depth: 16
                 signed: true

there are some different values between both of mad and volume caps property. 

does it means it is not possible to link them? or are there some way to make "mad" and "volume" element work together? if it does how to do it and what other element is needed?

sorry , make read a lot line of message :)

Regards,
Gusti Andika

 
---------------------------------
Don't get soaked.  Take a quick peak at the forecast 
 with theYahoo! Search weather shortcut.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20070605/b8e4fe83/attachment.htm>


More information about the gstreamer-devel mailing list