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

2009-02-22 Thread Liang Zhao
Hi Mike,

Can I use decodebin2 in playbin and resolve this problem?

Thanks
Zhao Liang

2009/2/21 Michael Smith msm...@xiph.org

 On Fri, Feb 20, 2009 at 6:03 PM, Liang Zhao liangzhao@gmail.com
 wrote:
  Hi Mke,
 
  Thank you.
 
  So the only way is to use playbin2?  what is the difference on intefaces,
  properties and signals between playbin2 and playbin?
  I find most of them are same.

 The only sensible approach (assuming you want to reuse existing code,
 rather than writing something from scratch yourself) is to switch to
 playbin2.

 The documentation can help you with the differences - you're right,
 most things are similar.

 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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded


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

2009-02-20 Thread Michael Smith
On Fri, Feb 20, 2009 at 5:28 PM, Liang Zhao liangzhao@gmail.com wrote:
 Hi,

 If I have a audio sink with decoding functions, that means this audiosink
 can decode encoded data and render it to audio device. Can playbin handle
 this type audio sink well?

No. playbin2 should be able to handle this sort of situation, though,
if you configure it to.

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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded


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

2009-02-20 Thread Liang Zhao
Hi Mke,

Thank you.

So the only way is to use playbin2?  what is the difference on intefaces,
properties and signals between playbin2 and playbin?
I find most of them are same.
2009/2/21 Michael Smith msm...@xiph.org

 On Fri, Feb 20, 2009 at 5:35 PM, Liang Zhao liangzhao@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




-- 
BRs.
Zhao Liang
--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded


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

2009-02-20 Thread Liang Zhao
Hi Mike,

Thanks.

so playbin must add a audiobin after decoder? If that, that means our
audiosink can not work with playbin?

playbin2 is not stable in its description, and not used by many players such
as totem,  so what can I do?

2009/2/21 Michael Smith msm...@xiph.org

 On Fri, Feb 20, 2009 at 5:28 PM, Liang Zhao liangzhao@gmail.com
 wrote:
  Hi,
 
  If I have a audio sink with decoding functions, that means this audiosink
  can decode encoded data and render it to audio device. Can playbin handle
  this type audio sink well?

 No. playbin2 should be able to handle this sort of situation, though,
 if you configure it to.

 Mike




-- 
BRs.
Zhao Liang
--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded