Gstreamer-VAAPI and Totem

Nicolas Dufresne nicolas.dufresne at collabora.co.uk
Tue Jun 12 13:19:44 PDT 2012


Le mardi 12 juin 2012 à 19:37 +0100, Bastien Nocera a écrit : 
> On Wed, 2012-06-06 at 13:41 -0400, Nicolas Dufresne wrote:
> > Le mercredi 06 juin 2012 à 18:30 +0100, Bastien Nocera a écrit : 
> > > > Bastien, any input where I can follow the issue? Even better, any chance 
> > > > of seeing Totem working with VA-API backported to 3.4 so that I don't 
> > > > have to get all the 3.5.* libraries? :)
> > > 
> > > Totem 3.5 makes use of autocluttersink, which rely on bug fixes in
> > > clutter-gst. If you update those two, it might be enough.
> > 
> > autocluttersink has never been tested along with gstreamer-vaapi (this
> > arrived after my work). Instead of wrapping an X windows into a some DRI
> > pixbuf, cluttersink (not autocluttersink) uses an new API in gstreamer
> > that let it use the GstBuffer as textures that are directly rendered
> > into the clutter scene.
> > 
> > I do think this approach is more efficient then the autocluttersink one,
> > and that fluendo could have implemented the GstVideoBuffer interface for
> > the VA buffer rather then using this. It's a bit of a design war, my
> > apology if this creates flames.
> 
> Thinking about it some more. Is there any reason why gstreamer-vaapi
> wouldn't work with Totem 3.4 or 3.6?
> 
> In 3.4, we just use cluttersink. Does gstreamer-vaapi work with
> cluttersink?

gstreamer-vaapi works fine with cluttersink, but 3.4 uses videobalance,
a software element which cause va decoder to be discarded.

> 
> In 3.6, we use autocluttersink. Surely, if Fluendo's VAAPI
> flucluttersink isn't available, it should just fallback to the same
> situation as in 3.4, right?

Normally, and it's bugged, it should fallback to using cluttersink, as
long as no other software only element is forced into the pipeline, it
should work. This need investigation for sure. Note that I don't think
cluttersink implement video balance interface yet, so that would mean no
hue/brightness/saturation in that setup.

> 
> In my testing, Totem just exploded when gstreamer-vaapi was installed. I
> can certainly file a bug, but I'd like to know what's expected of it
> beforehand.

Could you be more precise. You could describe the explosion maybe ?

cheers,
Nicolas



More information about the gstreamer-devel mailing list