[Bug 104920] Broken hardware video encoding with vaapi/ffmpeg
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Feb 28 10:54:11 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=104920
--- Comment #6 from Andy Furniss <adf.lists at gmail.com> ---
(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.mp4
Not related to any issue as such - and I don't have the same h/w to test, but
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 you
want constant qp (= highly variable bitrate). I didn't test what ffmpeg takes
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 about
the newer engines)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180228/2ad6e60f/attachment-0001.html>
More information about the dri-devel
mailing list