From: bugzilla-daemon@freedesktop.org
Subject: [Bug 104920] Broken hardware video encoding with vaapi/ffmpeg
Date: Wed, 28 Feb 2018 10:54:11 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1831225515=="
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 44BD86E93E
for ; Wed, 28 Feb 2018 10:54:11 +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
--===============1831225515==
Content-Type: multipart/alternative; boundary="15198152510.26bbAc755.9922"
Content-Transfer-Encoding: 7bit
--15198152510.26bbAc755.9922
Date: Wed, 28 Feb 2018 10:54:11 +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=3D104920
--- Comment #6 from Andy Furniss ---
(In reply to Luke McKee from comment #3)
> ffmpeg -hwaccel vaapi -hwaccel_device /dev/dri/renderD128
> -hwaccel_output_format vaapi -ss 120 -t 120 -i a-movie.mkv -map 0:0 -map =
0:1
> -c:v h264_vaapi -b:v 4000k -qp 20 -bf 0 -profile:v 578 (or
> constrained_baseline in ffmpeg-git) -movflags +faststart -quality:v 0
> -level:v 3.1 -coder:v cavlc -c:a aac -ab 128k -ar 48000 -ac 2 vaapitest.m=
p4
Not related to any issue as such - and I don't have the same h/w to test, b=
ut
some thoughts related to the command line.
-b:v 4000k -qp 20
I would think one or the other, not both ie. you want constant bitrate or y=
ou
want constant qp (=3D highly variable bitrate). I didn't test what ffmpeg t=
akes
this to mean.
-coder:v cavlc
I don't think this is hooked up - you will probably get cabac or calvlc
depending on h/w.
-quality:v 0
I don't thing this will do anything either on VCE (I don't know anything ab=
out
the newer engines)
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15198152510.26bbAc755.9922
Date: Wed, 28 Feb 2018 10:54:11 +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
Commen=
t # 6
on bug 10492=
0
from Andy Furniss
(In reply to Luke McKee from comment #3)
> ffmpeg -hwaccel vaapi -hwaccel_device /dev/dri/r=
enderD128
> -hwaccel_output_format vaapi -ss 120 -t 120 -i a-movie.mkv -map 0:0 -m=
ap 0:1
> -c:v h264_vaapi -b:v 4000k -qp 20 -bf 0 -profile:v 578 (or
> constrained_baseline in ffmpeg-git) -movflags +faststart -quality:v 0
> -level:v 3.1 -coder:v cavlc -c:a aac -ab 128k -ar 48000 -ac 2 vaapites=
t.mp4
Not related to any issue as such - and I don't have the same h/w to test, b=
ut
some thoughts related to the command line.
-b:v 4000k -qp 20
I would think one or the other, not both ie. you want constant bitrate or y=
ou
want constant qp (=3D highly variable bitrate). I didn't test what ffmpeg t=
akes
this to mean.
-coder:v cavlc
I don't think this is hooked up - you will probably get cabac or calvlc
depending on h/w.
-quality:v 0
I don't thing this will do anything either on VCE (I don't know anything ab=
out
the newer engines)
You are receiving this mail because:
- You are the assignee for the bug.
=
--15198152510.26bbAc755.9922--
--===============1831225515==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============1831225515==--