Re: [Elementary-dev-community] VA-API in Audience/elementary?

2012-11-22 Thread David Nielsen
I believe that GStreamer 1.0 has much better support for GPU acceleration. 

-- 
David Nielsen
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)


On Thursday den 22. November 2012 at 04.09, Cody Garver wrote:

 GStreamer needs to support hardware-accelerated playback in order for 
 Audience/Totem to.
 
 
 On Wed, Nov 21, 2012 at 11:26 PM, Cassidy James c...@ssidyjam.es 
 (mailto:c...@ssidyjam.es) wrote:
  Hey guys, I was just reading about hardware acceleration support in MPlayer 
  and was wondering if anyone knew anything about it. 
  http://www.webupd8.org/2012/11/install-mplayer-with-va-api-hardware.html
  It'd be sweet to get hardware acceleration for video in Audience to 
  significantly reduce memory usage on some graphics chipsets. Unless I'm 
  totally mistaken and Audience already supports this, what would it take to 
  get this in it by default?
  Regards,
  Cassidy James 
  --
  Mailing list: https://launchpad.net/~elementary-dev-community
  Post to : elementary-dev-community@lists.launchpad.net 
  (mailto:elementary-dev-community@lists.launchpad.net)
  Unsubscribe : https://launchpad.net/~elementary-dev-community
  More help   : https://help.launchpad.net/ListHelp
  
 
 
 
 -- 
 Cody Garver
 -- 
 Mailing list: https://launchpad.net/~elementary-dev-community
 Post to : elementary-dev-community@lists.launchpad.net 
 (mailto:elementary-dev-community@lists.launchpad.net)
 Unsubscribe : https://launchpad.net/~elementary-dev-community
 More help : https://help.launchpad.net/ListHelp
 
 


-- 
Mailing list: https://launchpad.net/~elementary-dev-community
Post to : elementary-dev-community@lists.launchpad.net
Unsubscribe : https://launchpad.net/~elementary-dev-community
More help   : https://help.launchpad.net/ListHelp


Re: [Elementary-dev-community] VA-API in Audience/elementary?

2012-11-22 Thread Jaap Broekhuizen
Much better than previous version of GStreamer, or better than mplayer?

--
Jaap


On Thu, Nov 22, 2012 at 11:39 AM, David Nielsen gnomeu...@gmail.com wrote:

  I believe that GStreamer 1.0 has much better support for GPU
 acceleration.

 --
 David Nielsen
 Sent with Sparrow http://www.sparrowmailapp.com/?sig

 On Thursday den 22. November 2012 at 04.09, Cody Garver wrote:

 GStreamer needs to support hardware-accelerated playback in order for
 Audience/Totem to.


 On Wed, Nov 21, 2012 at 11:26 PM, Cassidy James c...@ssidyjam.es wrote:

 Hey guys, I was just reading about hardware acceleration support in
 MPlayer and was wondering if anyone knew anything about it.

 http://www.webupd8.org/2012/11/install-mplayer-with-va-api-hardware.html

 It'd be sweet to get hardware acceleration for video in Audience to
 significantly reduce memory usage on some graphics chipsets. Unless I'm
 totally mistaken and Audience already supports this, what would it take to
 get this in it by default?

 Regards,
 Cassidy James

 --
 Mailing list: https://launchpad.net/~elementary-dev-community
 Post to : elementary-dev-community@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~elementary-dev-community
 More help   : https://help.launchpad.net/ListHelp




 --
 Cody Garver

  --
 Mailing list: https://launchpad.net/~elementary-dev-community
 Post to : elementary-dev-community@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~elementary-dev-community
 More help : https://help.launchpad.net/ListHelp



 --
 Mailing list: https://launchpad.net/~elementary-dev-community
 Post to : elementary-dev-community@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~elementary-dev-community
 More help   : https://help.launchpad.net/ListHelp


-- 
Mailing list: https://launchpad.net/~elementary-dev-community
Post to : elementary-dev-community@lists.launchpad.net
Unsubscribe : https://launchpad.net/~elementary-dev-community
More help   : https://help.launchpad.net/ListHelp


Re: [Elementary-dev-community] VA-API in Audience/elementary?

2012-11-22 Thread Sergey Shnatsel Davidoff
There is hardware acceleration of video playback on several levels. I
assume you mean offloading stream decoding to the GPU in this context,
because other means of acceleration were implemented quite a while
ago.

Hardware acceleration of video decoding has been possible in GStreamer
0.10 (e.g. it works like that on my maemophone), but this never was
widely used. GStreamer 1.0 supports hardware acceleration with VA-API
more or less out of the box.

However, the main problem here is not the media players but in the GPU
drivers. Only Intel driver provides VA-API acceleration and only on
recent GPUs.

Nvidia's binary blob provides VDPAU acceleration, which is not
leveraged by GStreamer at this point (though some monolithic players
seem to be able to use it). However, this is being actively worked on
in GStreamer.

The situation with other drivers is much worse:
Nouveau does not provide any decoding acceleration yet (they're still
reverse-engineering the relevant GPU unit).
AMD binary blob has yet-another-acceleration-api, but it's
undocumented and doesn't even work properly (see
http://www.phoronix.com/scan.php?page=articleitem=amd_xvba_xbmcnum=1)
Open-source AMD (r600g) driver provides video decoding acceleration
but it works only for full-screen playback and not for all codecs.
It's also rather inefficient because AMD does not provide
documentation on the dedicated video decoding engine out of fear of
compromising Digital Right Mismanagement on an OS sold by a certain
small and soft corporation, so the decoder uses GPU shaders instead.

Generally speaking, it's very hard for modular backends like GStreamer
those monolithic backends like MPlayer. In MPlayer you can easily
change how the whole thing works relatively easily. In GStreamer you
have to redesign the whole thing, come up with new APIs that suit
everybody, rewrite all plugins for the API change... so MPlayer and
VLC always will be one step ahead in low-level features. On the other
hand they're rather inflexible; for example, it's very hard if not
impossible to implement Audience's pop-up preview using MPlayer as a
backend.

But we shouldn't concern ourselves with those monolithic backends at
all because we can't ship any of them due to some legal crap with
libavcodec.

--
Sergey Shnatsel Davidoff
OS architect @ elementary

-- 
Mailing list: https://launchpad.net/~elementary-dev-community
Post to : elementary-dev-community@lists.launchpad.net
Unsubscribe : https://launchpad.net/~elementary-dev-community
More help   : https://help.launchpad.net/ListHelp


Re: [Elementary-dev-community] VA-API in Audience/elementary?

2012-11-22 Thread Cassidy James
Apparently this should be taken care of in GStreamer:
http://docs.gstreamer.com/display/GstSDK/Playback+tutorial+8%3A+Hardware-accelerated+video+decoding

My question is: is this supported out of the box on our OS?
On Nov 22, 2012 12:10 AM, Cody Garver c...@elementaryos.org wrote:

 GStreamer needs to support hardware-accelerated playback in order for
 Audience/Totem to.


 On Wed, Nov 21, 2012 at 11:26 PM, Cassidy James c...@ssidyjam.es wrote:

 Hey guys, I was just reading about hardware acceleration support in
 MPlayer and was wondering if anyone knew anything about it.

 http://www.webupd8.org/2012/11/install-mplayer-with-va-api-hardware.html

 It'd be sweet to get hardware acceleration for video in Audience to
 significantly reduce memory usage on some graphics chipsets. Unless I'm
 totally mistaken and Audience already supports this, what would it take to
 get this in it by default?

 Regards,
 Cassidy James

 --
 Mailing list: https://launchpad.net/~elementary-dev-community
 Post to : elementary-dev-community@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~elementary-dev-community
 More help   : https://help.launchpad.net/ListHelp




 --
 Cody Garver


-- 
Mailing list: https://launchpad.net/~elementary-dev-community
Post to : elementary-dev-community@lists.launchpad.net
Unsubscribe : https://launchpad.net/~elementary-dev-community
More help   : https://help.launchpad.net/ListHelp


Re: [Elementary-dev-community] VA-API in Audience/elementary?

2012-11-22 Thread Sergey Shnatsel Davidoff
Proper VA-API decoding will not be supported in Luna (except via the
commerical gstreamer-fluvadec) because we'll stick to GStreamer 0.10;
going forward I'd recommend to stick to it for a while and wait till
1.0 stabilizes and gains more plugins.

In general I'd prefer to stick to whatever Ubuntu does because they
have reasonable QA which we simply can't afford right now.

-- 
Sergey Shnatsel Davidoff
OS architect @ elementary

-- 
Mailing list: https://launchpad.net/~elementary-dev-community
Post to : elementary-dev-community@lists.launchpad.net
Unsubscribe : https://launchpad.net/~elementary-dev-community
More help   : https://help.launchpad.net/ListHelp


Re: [Elementary-dev-community] VA-API in Audience/elementary?

2012-11-21 Thread Cody Garver
GStreamer needs to support hardware-accelerated playback in order for
Audience/Totem to.


On Wed, Nov 21, 2012 at 11:26 PM, Cassidy James c...@ssidyjam.es wrote:

 Hey guys, I was just reading about hardware acceleration support in
 MPlayer and was wondering if anyone knew anything about it.

 http://www.webupd8.org/2012/11/install-mplayer-with-va-api-hardware.html

 It'd be sweet to get hardware acceleration for video in Audience to
 significantly reduce memory usage on some graphics chipsets. Unless I'm
 totally mistaken and Audience already supports this, what would it take to
 get this in it by default?

 Regards,
 Cassidy James

 --
 Mailing list: https://launchpad.net/~elementary-dev-community
 Post to : elementary-dev-community@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~elementary-dev-community
 More help   : https://help.launchpad.net/ListHelp




-- 
Cody Garver
-- 
Mailing list: https://launchpad.net/~elementary-dev-community
Post to : elementary-dev-community@lists.launchpad.net
Unsubscribe : https://launchpad.net/~elementary-dev-community
More help   : https://help.launchpad.net/ListHelp