[FFmpeg-trac] #9256(ffmpeg:new): D3D11VA does not work for AV1
FFmpeg
trac at avcodec.org
Sat May 22 18:45:09 EEST 2021
#9256: D3D11VA does not work for AV1
------------------------------------+--------------------------------------
Reporter: aufkrawall | Type: defect
Status: new | Priority: normal
Component: ffmpeg | Version: git-master
Keywords: D3D11V | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+--------------------------------------
Run
ffmpeg -hwaccel d3d11va -i "1080p_av1_29.97fps.mkv" -f matroska - | ffplay
-
It should use D3D11VA for decoding, and is the case for H.264 and VP9. But
it doesn't use hardware decoding for AV1, "Video Codec 0" and 1 don't
report any usage in Windows Task Manager (it's the weird place where AMD
driver reports VPU usage). When playing the AV1 file in MPC HC with LAV
Filters, it uses hardware decoding and there is load reported for "Video
Codec 0" sensor. This is also the case when decoding H.264/VP9 via D3D11VA
in ffmpeg.
ffmpeg 4.4 changelog mentions "DXVA2/D3D11VA hardware accelerated AV1
decoding", so I think it should work.
Tested with gyan.dev 2021-05-19-git-2261cc6d8a build.
Sample: Download this video as AV1 via youtube-dl:
https://youtu.be/2nXYbGmF3_Q?list=PLyqf6gJt7KuHBmeVzZteZUlNUQAVLwrZS
Radeon RX 6800, driver 21.5.2, Windows 10 21H1.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9256>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list