decodebin2 does not load wma plugin

Stefan Kost ensonic at hora-obscura.de
Mon Aug 22 14:29:42 PDT 2011


On 08/22/11 14:34, mohid wrote:
> Hi all
>
> I have a wma parser and a decode plugin.
> wma paser is having a typefind function.
>
> When I try to play a wma file with totem player
>
> the decodebin finds the typefind function and loads wmaparser plugin.
> Then it does not load the wmadecoder plugin.
> Rather it creates another wmaparser1 plugin itself and fails the connection.
>
> Please help me how to load the wmadecoder plugin next to my wmaparser
> plugin.
>
> The caps are
> Type find:
> "audio/x-wma"
>
> wmaparser:
> sink:
> GST_STATIC_CAPS ("audio/x-wma")
>
> src:
> GST_STATIC_CAPS ( "audio/x-wma, "
> "rate = (int) [ 1, MAX ], "
>     "encopt = (int) [ 1, MAX ], "
>     "bitrate = (int) [ 1, MAX ], "
>     "blockalign = (int) [ 1, MAX ], "
>     "formattag = (int) [ 1, MAX ], "
>     "channelmask = (int) [ 1, MAX ], "
>     "channels = (int) [ 1, MAX ], "
>     "endianness = (int) { LITTLE_ENDIAN, BIG_ENDIAN }, "
>     "width = (int) 16, "
>     "depth = (int) [ 1, 16 ], "
>     "signed = (boolean) { true, false }")
>
> wmadecoder:
> sink:
> GST_STATIC_CAPS ("audio/x-wma, "
> "rate = (int) [ 1, MAX ], "
>     "encopt = (int) [ 1, MAX ], "
>     "bitrate = (int) [ 1, MAX ], "
>     "blockalign = (int) [ 1, MAX ], "
>     "formattag = (int) [ 1, MAX ], "
>     "channelmask = (int) [ 1, MAX ], "
>     "channels = (int) [ 1, MAX ], "
>     "endianness = (int) { LITTLE_ENDIAN, BIG_ENDIAN }, "
>     "width = (int) 16, "
>     "depth = (int) [ 1, 16 ], "
>     "signed = (boolean) { true, false }")
>
> src:
> GST_STATIC_CAPS ("audio/x-raw-int, "
>     "rate = (int) [ 1, MAX ], "
>     "channels = (int) [ 1, MAX ], "
>     "endianness = (int) { LITTLE_ENDIAN, BIG_ENDIAN }, "
>     "width = (int) 16, "
>     "depth = (int) [ 1, 16 ], "
>     "signed = (boolean) { true, false }")
>
> Please help in this regard
>
> Regards,
> Mohid
>
better attach full gst-inspect output. Does your decoder have a rank >
RANK_NONE?

Stefan


More information about the gstreamer-devel mailing list