[gst-devel] [gst-embedded] can playbin handle the sink with decoding functions?

Liang Zhao liangzhao.bit at gmail.com
Fri Feb 27 07:36:54 CET 2009


Suppose decodesink has higher rank than decode, and playbin2 will choose
decodesink, so how will playbin select ?  select decodesink and fail?

Zhao Liang

2009/2/27 Stefan Kost <ensonic at hora-obscura.de>

> Liang Zhao schrieb:
> > Can playbin2 support both decoder and decodesink? I mean if both of them
> > are available, can I decide the playbin2 behavior that whic element can
> > be used by some methods? I find some signals in decodebin2, such as
> > "autoplug-factories", "autoplug-select", can I use it?
> >
> For autoplugging, it is never good to have alternatives. Choose the best
> way to
> decode files for you platform and ship that set of needed plugins. If There
> are
> multiple decoders for the same format, autoplugging will pick whater has
> the
> highes rank and if even there are multiple, it takes what it find first.
>
> Stefan
>
> > Zhao Liang
> >
> > 2009/2/21 Michael Smith <msmith at xiph.org <mailto:msmith at xiph.org>>
> >
> >     On Fri, Feb 20, 2009 at 5:35 PM, Liang Zhao <liangzhao.bit at gmail.com
> >     <mailto:liangzhao.bit at gmail.com>> wrote:
> >     > Hi Mike,
> >     >
> >     > Thanks.
> >     >
> >     > so playbin must add a audiobin after decoder? If that, that means
> our
> >     > audiosink can not work with playbin?
> >
> >     playbin always decodes the audio fully, to raw PCM. So you probably
> >     can't use it in your case.
> >
> >     >
> >     > playbin2 is not stable in its description, and not used by many
> >     players such
> >     > as totem,  so what can I do?
> >
> >     It's not guaranteed to be entirely API-stable (properties, signals,
> >     might change in future versions), but as far as code stability goes,
> >     it's perfectly ok.
> >
> >     Some players do use it (e.g. Songbird, the player I work on, uses it
> >     on windows, linux, and macos).
> >
> >     Mike
> >
> >
> > ------------------------------------------------------------------------
> >
> >
> ------------------------------------------------------------------------------
> > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
> CA
> > -OSBC tackles the biggest issue in open source: Open Sourcing the
> Enterprise
> > -Strategies to boost innovation and cut costs with open source
> participation
> > -Receive a $600 discount off the registration fee with the source code:
> SFAD
> > http://p.sf.net/sfu/XcvMzF8H
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Gstreamer-embedded mailing list
> > Gstreamer-embedded at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090227/d4a49e5a/attachment.htm>


More information about the gstreamer-devel mailing list