From: bugzilla-daemon@freedesktop.org
Subject: [Bug 98278] Corrupted videos VA-API HW encoding radeonsi
Date: Sun, 16 Oct 2016 18:45:00 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0789480032=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[IPv6:2610:10:20:722:a800:ff:fe98:4b55])
by gabe.freedesktop.org (Postfix) with ESMTP id 49B2D6E12E
for ; Sun, 16 Oct 2016 18:45:00 +0000 (UTC)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============0789480032==
Content-Type: multipart/alternative; boundary="14766435000.A23aD.28636";
charset="UTF-8"
--14766435000.A23aD.28636
Date: Sun, 16 Oct 2016 18:45:00 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
https://bugs.freedesktop.org/show_bug.cgi?id=3D98278
--- Comment #3 from Tom ---
(In reply to Christoph Haag from comment #2)
> I'm just a user, so take this with a grain of salt, but I found that rade=
on
> with vaapi only works with the nv12 color format and produces something
> broken like this with i420.
>=20
> The last time I tried it, vaapipostproc format=3Dnv12 did not work, so I =
had
> to do the color space conversion on the CPU with videoconvert.
>=20
> Here is a pipeline that last worked for me:
>=20
> gst-launch-1.0 ximagesrc display-name=3D:0 use-damage=3D0 startx=3D0 star=
ty=3D0
> endx=3D1919 endy=3D1079 ! videoconvert ! video/x-raw,framerate=3D60/1,for=
mat=3DNV12
> ! vaapih264enc ! h264parse ! matroskamux ! filesink location=3Doutput.avi
>=20
> Can't really test right now because it hangs my GPU, but I see it saves o=
ne
> frame that has this vertically doubled image too, with correct colors tho=
ugh.
Tested, it produces similar corrupted video.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--14766435000.A23aD.28636
Date: Sun, 16 Oct 2016 18:45:00 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
Comment=
# 3
on bug 98278<=
/a>
from Tom
(In reply to Christoph Haag from comment #2)
> I'm just a user, so take this with a grain of sa=
lt, but I found that radeon
> with vaapi only works with the nv12 color format and produces something
> broken like this with i420.
>=20
> The last time I tried it, vaapipostproc format=3Dnv12 did not work, so=
I had
> to do the color space conversion on the CPU with videoconvert.
>=20
> Here is a pipeline that last worked for me:
>=20
> gst-launch-1.0 ximagesrc display-name=3D:0 use-damage=3D0 startx=3D0 s=
tarty=3D0
> endx=3D1919 endy=3D1079 ! videoconvert ! video/x-raw,framerate=3D60/1,=
format=3DNV12
> ! vaapih264enc ! h264parse ! matroskamux ! filesink location=3Doutput.=
avi
>=20
> Can't really test right now because it hangs my GPU, but I see it save=
s one
> frame that has this vertically doubled image too, with correct colors =
though.
Tested, it produces similar corrupted video.
You are receiving this mail because:
- You are the assignee for the bug.
=
--14766435000.A23aD.28636--
--===============0789480032==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============0789480032==--