[FFmpeg-trac] #10566(undetermined:new): AV1 decoding with -hwaccel d3d11va performance issue
FFmpeg
trac at avcodec.org
Thu Sep 14 13:52:16 EEST 2023
#10566: AV1 decoding with -hwaccel d3d11va performance issue
-------------------------------------+-------------------------------------
Reporter: Evgeny | Type:
| enhancement
Status: new | Priority: normal
Component: | Version: git-
undetermined | master
Keywords: av1 | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
When I try to use av1 hardware decoder with -hwaccel d3d11va, then
hardware AV1 decoder is working in one thread only, because FPS for video
decoding is the same with and without `-threads 1` option, VCN utilization
is about 53% for both commands.
If I use the same command on hevc / h264 video, then I got 98% of VCN
utilization without passing option `-threads 1` and 55% of VCN
utilization.
I tested on AMD GPU 6800XT & on notebook with Intel/NVidia GPU and it
seems that this issue is general for av1 hardware decoders.
I found that av1_decoder doesn't setup AV_CODEC_CAP_FRAME_THREADS option
in .p.capabilities while hevc&h264 does, does AV1 decoder support
multithreading?
How to reproduce:
{{{
% ffmpeg.exe -hwaccel d3d11va -i av1_source.mp4 -f null -
% ffmpeg.exe -threads 1 -hwaccel d3d11va -i av1_source.mp4 -f null -
ffmpeg version: git-master
built on Windows
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10566>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list