[Bug 561225] Add support for VDPAU (PureVideo)

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Mar 9 11:51:18 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=561225

--- Comment #26 from Víctor Manuel Jáquez Leal <vjaquez at igalia.com> ---
(In reply to Julien Isorce from comment #25)

Hi Julien,

> Hi Victor, do you plan to finish that work ? (and bug #744698). Maybe it is
> worth to attach for review what you got already ? I cannot access the gitlab
> link anymore.

I work on this when I find time (which is not a lot).

Managed to have a mpeg2 decoding since the mpegvideo parser sends the parsing
data as a buffer meta. But no other parser does that (bug 691712). That means
that we need to replicate what gstreamer-vaapi does: do its own frame parsing
to extract the slice's properties.

Nonetheless, I developed it using the proprietary NVIDIA driver, and the mpeg2
decoding to ximagesink works fine. Last week I setup VDPAU decoding with
nouveau and the decoder doesn't show the frames correctly! (though no error
messages are throw). Very disappointing. Though I need to verify if my setup is
correct.

I can clean up the patches and upload them here as soon as I find time (most
probably not this month :S)


> I would say the most interesting part would be to have gstvdpauh264dec and
> gstvdpauvideopostprocess back (eventually gstvdpausink if you already ported
> it).

Simultaneously I started working on a gstvdaumixer (postproc) and the
gstvdpauinterop (bug 744698) with the idea of grouping them in a bin. But also
they are not functional yet, almost pure boilerplate.

> I do not think anybody use the current gst-vdpau since it only supports
> mpeg2 so what you made is really valuable and would be a pity to not have it
> upstream.

Agree.

> I am chasing this because today Christian Koenig (from AMD) submitted a
> patch series for Mesa/Gallium to extend Gallium vdpau backend to support
> potential new VDPAU functionality/API: VdpVideoSurfaceDMABuf and
> VdpOutputSurfaceDMABuf.
> (Similar to vaAcquireBufferHandle in VAAPI). It aallow to export a surface
> as a dma buffer and to use in conjunction with EXT_image_dma_buf_import.
> See one of the patches: https://patchwork.freedesktop.org/patch/76129/ 

Yes, I saw that API patch in the mailing list.


> So Victor if you work is merged I might be interested to add support for
> dmabuf.

:$

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list