[gst-embedded] can playbin handle the sink with decodingfunctions?

Zhao Liang-E3423C E3423C at motorola.com
Sun Mar 1 17:53:02 PST 2009


>From code, I find decodebin will not put decodesink into its element
factory, decodebin only support elements with klass is "Demuxer",
"Parser", "Decoder", "Depayloader".
 
so playbin will select decoder, not decodesink.

________________________________

From: Liang Zhao [mailto:liangzhao.bit at gmail.com] 
Sent: Friday, February 27, 2009 2:37 PM
To: Stefan Kost
Cc: gstreamer-devel at lists.sourceforge.net;
gstreamer-embedded at lists.sourceforge.net
Subject: Re: [gst-embedded] can playbin handle the sink with
decodingfunctions?


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-embedded/attachments/20090302/a3bf6f79/attachment.htm>


More information about the Gstreamer-embedded mailing list