Gstreamer can it use Radon Processor/ ATI etc

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Gstreamer can it use Radon Processor/ ATI etc

vivekr
If gstreamer wants to use ATI / radon, what needs to be done?
Or is it possible directly,

Regards,
Vivek Ramakrishnan
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer can it use Radon Processor/ ATI etc

Sean McNamara-4
Hi,

On Fri, May 11, 2012 at 5:01 AM, vivekr <[hidden email]> wrote:
> If gstreamer wants to use ATI / radon, what needs to be done?
> Or is it possible directly,

For what purpose? And on what platform? Using which drivers? You can
do a lot of things with a GPU:

* Hardware decoding of video on the fixed-function video decoding
pipeline (e.g. UVD for recent Radeon hardware)
* Hardware decoding of video on the general-purpose shader pipeline
using e.g. OpenCL or Gallium3d
* Hardware encoding of video on the fixed-function video encoding
pipeline (e.g. VCE for Radeon HD7000 series hardware)
* Hardware encoding of video on the general-purpose shader pipeline
using e.g. OpenCL or Gallium3d
* Hardware acceleration of the rendering of video playback using e.g. OpenGL
* General purpose GPGPU computing for hardware-assist on almost any
part of the media pipeline you can imagine (using e.g. OpenCL) -- for
effects processing etc

Depending on what you want to do, and what platform, you'd basically
have to write a lot of code (probably using OpenCL for most of the
above, or XvBA for hardware video decoding on Linux with the Catalyst
proprietary driver) if you wanted to do this.

Right now the only hardware support I'm aware of that exists today for
Radeon are the following two:

1. Fluendo (a company) sells a codec for decoding video using the XvBA
API, which is a proprietary API for the ATI Catalyst Linux driver
(does not work with the open source drivers or on any other platform
than Linux).
2. Gstreamer itself supports glvideosink, which will render decoded
raw video to an OpenGL device, to offload the task of drawing the
image to the 3d hardware.

Hardware support for GPUs in free software media frameworks is a
sorely lacking area right now... we really don't have very much that's
done and ready to use. I think the Mesa open source graphics stack
(particularly Gallium3d) is working towards that, by providing OpenCL
and VA-API support among others, but these are still in the
experimental stages and there is no working support (at all) for the
HD7000 series right now.

Anyway, good luck, but I think you probably won't be able to get what
you want with gstreamer without contributing a lot of code that would
require detailed knowledge of graphics programming and media
processing. Unless you just want to decode video with Catalyst using
XvBA... then you go to
http://www.fluendo.com/press/fluendo-codec-pack-release-15-now-adding-hardware-acceleration-amd-xvba/
and have fun :)

Sean

>
> Regards,
> Vivek Ramakrishnan
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-can-it-use-Radon-Processor-ATI-etc-tp4625897.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer can it use Radon Processor/ ATI etc

Tony Houghton
On Fri, 11 May 2012 19:19:42 -0400
Sean McNamara <[hidden email]> wrote:

> Right now the only hardware support I'm aware of that exists today for
> Radeon are the following two:
>
> 1. Fluendo (a company) sells a codec for decoding video using the XvBA
> API, which is a proprietary API for the ATI Catalyst Linux driver
> (does not work with the open source drivers or on any other platform
> than Linux).
> 2. Gstreamer itself supports glvideosink, which will render decoded
> raw video to an OpenGL device, to offload the task of drawing the
> image to the 3d hardware.

There's also a free vaapi gstreamer plugin, but I don't know how well it
compares to the Fluendo one.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer can it use Radon Processor/ ATI etc

Sean McNamara-4
Hi,

On Sat, May 12, 2012 at 9:53 AM, Tony Houghton <[hidden email]> wrote:

> On Fri, 11 May 2012 19:19:42 -0400
> Sean McNamara <[hidden email]> wrote:
>
>> Right now the only hardware support I'm aware of that exists today for
>> Radeon are the following two:
>>
>> 1. Fluendo (a company) sells a codec for decoding video using the XvBA
>> API, which is a proprietary API for the ATI Catalyst Linux driver
>> (does not work with the open source drivers or on any other platform
>> than Linux).
>> 2. Gstreamer itself supports glvideosink, which will render decoded
>> raw video to an OpenGL device, to offload the task of drawing the
>> image to the 3d hardware.
>
> There's also a free vaapi gstreamer plugin, but I don't know how well it
> compares to the Fluendo one.

To my knowledge, I don't think current Radeons (HD2000 and later) work
with VA-API at all, either on the Catalyst drivers or the open source
graphics stack. I may be wrong though. I've heard of some development
efforts along these lines, for sure, in both the free software and the
proprietary stack, but I really don't think this is ready for general
consumption, yet.

Sean

> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel