can playbin handle the sink with decoding functions?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


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





[Index of Archives]     [Linux Embedded]     [Linux ARM Kernel]     [Linux for ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux Media]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux