Gstreamer can it use Radon Processor/ ATI etc

Sean McNamara smcnam at gmail.com
Fri May 11 16:19:42 PDT 2012


Hi,

On Fri, May 11, 2012 at 5:01 AM, vivekr <vivekramakrishnan at iitb.ac.in> 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
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list