From: bugzilla-daemon@freedesktop.org
Subject: [Bug 98278] Corrupted videos VA-API HW encoding radeonsi
Date: Sun, 16 Oct 2016 19:49:38 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0570006320=="
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 CA0606E1A8
for ; Sun, 16 Oct 2016 19:49:37 +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
--===============0570006320==
Content-Type: multipart/alternative; boundary="14766473771.0e53f3c.1295";
charset="UTF-8"
--14766473771.0e53f3c.1295
Date: Sun, 16 Oct 2016 19:49:37 +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 #8 from Andy Furniss ---
(In reply to Tom from comment #1)
> mpv, vlc players show constant errors every .5 sec:
>=20
> [ffmpeg/video] h264: illegal short term buffer state detected
> V: 00:00:01 / 00:00:16 (10%) Dropped: 20
> [ffmpeg/video] h264: illegal short term buffer state detected
> V: 00:00:01 / 00:00:16 (10%) Dropped: 20
> [ffmpeg/video] h264: illegal short term buffer state detected
> V: 00:00:01 / 00:00:16 (10%) Dropped: 20
If your gstreamer is the latest, they have changed the default profile from
baseline to high which tries to use b-frames, but they are not yet
supported/working.
I don't think dct8x8=3Dtrue will do anything, though I could be wrong.
I notice your command used matroskamux, which is good, but you call the file
mp4 - it will likely ignpre that and make mkv. For screen recording with
gstreamer I would avoid mp4 as when you stop it it hasn't for me finalized
properly =3D unplayable file. Maybe I am just crap with gstreamer and contr=
ol c
is not the best way to stop it!
Something like this should work, though 3Mbit will be way too low if much is
happening when recording recording 1080p60, cqp may be a better choice - but
then it will potentially use far more bits and everything may grind to a ha=
lt
(by default) when Linux does one of its all stopping flushes to disk (though
there are workarounds)
Pasted from notes, not intended to be better that anything else, just an
example - could/should be improved as needed (eg. how to use 709 for CSC as
players will tend to assume 1080p is 709.
gst-launch-1.0 -f ximagesrc use-damage=3D0 startx=3D0 starty=3D0 endx=3D191=
9 endy=3D1079
! queue ! videoconvert ! video/x-raw,framerate=3D60/1,format=3DNV12 ! queu=
e !
vaapih264enc rate-control=3Dcbr bitrate=3D3000 ! video/x-h264,profile=3Dbas=
eline !
h264parse ! matroskamux ! filesink location=3Dout.mkv
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--14766473771.0e53f3c.1295
Date: Sun, 16 Oct 2016 19:49:37 +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=
# 8
on bug 98278<=
/a>
from Andy Furniss
(In reply to Tom from c=
omment #1)
> mpv, vlc players show constant errors every .5 s=
ec:
>=20
> [ffmpeg/video] h264: illegal short term buffer state detected
> V: 00:00:01 / 00:00:16 (10%) Dropped: 20
> [ffmpeg/video] h264: illegal short term buffer state detected
> V: 00:00:01 / 00:00:16 (10%) Dropped: 20
> [ffmpeg/video] h264: illegal short term buffer state detected
> V: 00:00:01 / 00:00:16 (10%) Dropped: 20
If your gstreamer is the latest, they have changed the default profile from
baseline to high which tries to use b-frames, but they are not yet
supported/working.
I don't think dct8x8=3Dtrue will do anything, though I could be wrong.
I notice your command used matroskamux, which is good, but you call the file
mp4 - it will likely ignpre that and make mkv. For screen recording with
gstreamer I would avoid mp4 as when you stop it it hasn't for me finalized
properly =3D unplayable file. Maybe I am just crap with gstreamer and contr=
ol c
is not the best way to stop it!
Something like this should work, though 3Mbit will be way too low if much is
happening when recording recording 1080p60, cqp may be a better choice - but
then it will potentially use far more bits and everything may grind to a ha=
lt
(by default) when Linux does one of its all stopping flushes to disk (though
there are workarounds)
Pasted from notes, not intended to be better that anything else, just an
example - could/should be improved as needed (eg. how to use 709 for CSC as
players will tend to assume 1080p is 709.
gst-launch-1.0 -f ximagesrc use-damage=3D0 startx=3D0 starty=3D0 endx=3D191=
9 endy=3D1079
! queue ! videoconvert ! video/x-raw,framerate=3D60/1,format=3DNV12 ! queu=
e !
vaapih264enc rate-control=3Dcbr bitrate=3D3000 ! video/x-h264,profile=3Dbas=
eline !
h264parse ! matroskamux ! filesink location=3Dout.mkv
You are receiving this mail because:
- You are the assignee for the bug.
=
--14766473771.0e53f3c.1295--
--===============0570006320==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============0570006320==--