[mythtv-users] VDPAU and playback filters

Mark Kendall mark.kendall at gmail.com
Thu Mar 10 14:36:34 UTC 2011


On 10 March 2011 22:24, Dave Badia <dbadia at gmail.com> wrote:
> I tried applying the invert filter
> (http://www.mythtv.org/wiki/Using_playback_filters) while using VDPAU,
> but it doesn't work for me.  If I switch to CPU based output I see the
> filter take effect.  Is this by design?  Some limitation of VDPAU?
>
> I ask because I'd like to implement a new filter, but it won't be of
> much use if it doesn't work under VDPAU.

None of those filters will work in conjunction with any form of GPU
based decoding acceleration (e.g VDPAU, VAAPI, DXVA2).  Technically it
would be possible to implement some post-process filters via OpenGL
but it's not available with the current implementation. Alternatively
you could copy the decoded frame back into main memory for filtering
(which is actually what VLC does) - but that won't come cheap and
you'll lose much of the VDPAU benefit in the process.

What kind of filter are you looking at?

regards

Mark


More information about the mythtv-users mailing list