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

Daniel Díaz mrchapp at gmail.com
Wed Jun 6 04:25:50 CEST 2007


Hello!


On 6/5/07, andika <ignabandika at yahoo.com> wrote:
> hi,
> When i try do this :
>   gst-launch filesrc location=a.mp3 ! mad ! volume ! osssink
> i got "cant link mad0 to volume0" message.
[...]
> 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?

You are correct: You cannot link them if their capabilities don't
match. Here's how you would connect them:

  gst-launch filesrc location=a.mp3 ! mad ! audioconvert ! volume ! osssink

Take a look at `gst-inspect audioconvert`.

Greetings!

Daniel Díaz
yosoy at danieldiaz.org




More information about the gstreamer-devel mailing list