[Bug 98278] Corrupted videos VA-API HW encoding radeonsi

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Oct 16 19:05:18 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=98278

--- Comment #7 from Andy Furniss <adf.lists at gmail.com> ---
(In reply to Andy Furniss from comment #6)
> (In reply to Andy Furniss from comment #5)
> > (In reply to Andy Furniss from comment #4)
> > > Since recentish mesa change you have to set the env
> > > 
> > > VAAPI_DISABLE_INTERLACE=1
> > 
> > You will still need to feed the encoder NV12 as well.
> 
> Though I420 will work, it may be better to let gstreamer convert the BGRx as
> it may be faster than letting the driver do it. The driver will just use C
> gstreamer may (or may not) use SIMD.

LOL fail post, to clarify, the driver will not convert BGRx to anything (would
be a nice feature if the GPU could do it).

If you tell gstreamer to convert BGRx to I420 then the driver will just change
it to nv12 using CPU C code, so you may as well tell gstreamer to convert to 
NV12 in the first place.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20161016/f2fe2afa/attachment.html>


More information about the dri-devel mailing list