From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 99029] VCE VAAPI segfault using ffmpeg
Date: Thu, 11 May 2017 16:32:17 +0000 [thread overview]
Message-ID: <bug-99029-502-08ByZR42uw@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-99029-502@http.bugs.freedesktop.org/>
[-- Attachment #1.1: Type: text/plain, Size: 2185 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=99029
--- Comment #6 from Andy Furniss <adf.lists@gmail.com> ---
(In reply to Martin Bednar from comment #4)
> The file is the OSS Elephant's dream movie : https://orange.blender.org/
> Purposely tested with this for easy sharing.
> Contained streams (ffmpeg -i ):
> Stream #0:0: Video: msmpeg4v2 (MP42 / 0x3234504D), yuv420p, 1920x1080,
> 10002 kb/s, 24 fps, 24 tbr, 24 tbn, 24 tbc
> Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side),
> fltp, 448 kb/s
I think ffmpeg will silently fall back to s/w decode with this file as it's not
normal h264.
If you don't specify a bitrate it seems ffmpeg will use cqp = 20 (which will
come out quite high bitrate on some content).
> -profile:v 77 : I tested values and in the end found one in ffmpeg sources.
> Are these values documented anywhere?
Not sure about ffmpeg, but they are standard numbers in the world of h264
> B-Frames : so basically VCE is useless in its B-Frame-less state?
I wouldn't go that far, for realtime encoding it is useful and libx264 with
realtime settings wouldn't use b-frames either (well depends on how much CPU
you have available in practice).
For example my card can do 2160p60 realtime in an artificial test - though in
practice for say, game/screen recording I would need hardware CSC which Windows
may have, but linux doesn't.
> I was hoping to create a tvheadend streaming server with live hw-accelerated
> transcoding, is this at all possible with AMD VCE cards?
If the input is progressive h.264 maybe - VCE doesn't encode interlaced which
could be an issue depending on what your local broadcasters use.
TV tends to be quite low bitrate anyway - if you are not reducing size then
re-encoding may not be the best way to go.
gstreamer can, for my dual instance VCE card, be faster than ffmpeg, on your
APU I don't know whether it would be.
gstreamer can use vaapi (I don't think a current mesa regression affects
transcoding). OMX can be used, but it's cqp only, with vaapi you can target
bitrates.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 3159 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2017-05-11 16:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-08 14:37 [Bug 99029] VCE VAAPI segfault using ffmpeg bugzilla-daemon
2016-12-08 14:41 ` bugzilla-daemon
2016-12-08 14:54 ` bugzilla-daemon
2017-05-09 14:15 ` bugzilla-daemon
2017-05-09 15:40 ` bugzilla-daemon
2017-05-11 13:40 ` bugzilla-daemon
2017-05-11 14:03 ` bugzilla-daemon
2017-05-11 16:32 ` bugzilla-daemon [this message]
2019-09-18 19:22 ` bugzilla-daemon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-99029-502-08ByZR42uw@http.bugs.freedesktop.org/ \
--to=bugzilla-daemon@freedesktop.org \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox