<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Corrupted videos VA-API HW encoding radeonsi"
href="https://bugs.freedesktop.org/show_bug.cgi?id=98278#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Corrupted videos VA-API HW encoding radeonsi"
href="https://bugs.freedesktop.org/show_bug.cgi?id=98278">bug 98278</a>
from <span class="vcard"><a class="email" href="mailto:haagch@frickel.club" title="Christoph Haag <haagch@frickel.club>"> <span class="fn">Christoph Haag</span></a>
</span></b>
<pre>I'm just a user, so take this with a grain of salt, but I found that radeon
with vaapi only works with the nv12 color format and produces something broken
like this with i420.
The last time I tried it, vaapipostproc format=nv12 did not work, so I had to
do the color space conversion on the CPU with videoconvert.
Here is a pipeline that last worked for me:
gst-launch-1.0 ximagesrc display-name=:0 use-damage=0 startx=0 starty=0
endx=1919 endy=1079 ! videoconvert ! video/x-raw,framerate=60/1,format=NV12 !
vaapih264enc ! h264parse ! matroskamux ! filesink location=output.avi
Can't really test right now because it hangs my GPU, but I see it saves one
frame that has this vertically doubled image too, with correct colors though.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>