From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 99029] VCE VAAPI segfault using ffmpeg
Date: Tue, 09 May 2017 15:40:56 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1415522664=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id D57C76E1B6
for ; Tue, 9 May 2017 15:40:55 +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
--===============1415522664==
Content-Type: multipart/alternative; boundary="14943444550.dBeFCA855.20096";
charset="UTF-8"
--14943444550.dBeFCA855.20096
Date: Tue, 9 May 2017 15:40:55 +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=3D99029
--- Comment #3 from Andy Furniss ---
Hmm, I haven't tested yet, but if you hit the division by zero, I guess the=
re
is something special about thet file (or ffmpeg/something changed since I l=
ast
looked). Before reading your other bug the only way I thought would trigger
that one was to explicitly add -g 0 to the command line.
On speed - I would get rid of the yuv420p, maybe add -g 48 as for some reas=
on
things don't seem quite right with the gop, or you shouldn't hit the divisi=
on
by zero.
Your fix seems to change the intent of that code a little bit - I don't kno=
w if
it makes any difference. That code got added to correct some corner case ra=
te
control cbr issue - ffmpeg switched to using vbr by default so may not show=
it
anyway. I don't recall what rate (maybe it's cqp) you'll get if you don't a=
sk
for anything like your example. There may be a better place to check if gop=
is
0.
-profile:v 77 doesn't quite work properly IIRC (well it doesn't change anyt=
hing
encoding wise but the file will not show as main).
You may get more perf if you force your GPU to high.
I guess this is just a test, but for real world use, using your h/w to
transcode without b-frames is not really an optimum solution and it's up to=
the
firmware team whether b-frames ever work (They don't work on windows either
AFAICT).
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--14943444550.dBeFCA855.20096
Date: Tue, 9 May 2017 15:40:55 +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 99029<=
/a>
from Andy Furniss
Hmm, I haven't tested yet, but if you hit the division by zero=
, I guess there
is something special about thet file (or ffmpeg/something changed since I l=
ast
looked). Before reading your other bug the only way I thought would trigger
that one was to explicitly add -g 0 to the command line.
On speed - I would get rid of the yuv420p, maybe add -g 48 as for some reas=
on
things don't seem quite right with the gop, or you shouldn't hit the divisi=
on
by zero.
Your fix seems to change the intent of that code a little bit - I don't kno=
w if
it makes any difference. That code got added to correct some corner case ra=
te
control cbr issue - ffmpeg switched to using vbr by default so may not show=
it
anyway. I don't recall what rate (maybe it's cqp) you'll get if you don't a=
sk
for anything like your example. There may be a better place to check if gop=
is
0.
-profile:v 77 doesn't quite work properly IIRC (well it doesn't change anyt=
hing
encoding wise but the file will not show as main).
You may get more perf if you force your GPU to high.
I guess this is just a test, but for real world use, using your h/w to
transcode without b-frames is not really an optimum solution and it's up to=
the
firmware team whether b-frames ever work (They don't work on windows either
AFAICT).
You are receiving this mail because:
- You are the assignee for the bug.
=
--14943444550.dBeFCA855.20096--
--===============1415522664==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============1415522664==--