Opened 2 years ago

Closed 2 years ago

#8722 closed defect (invalid)

Video Encode engine used while decoding H264 stream in Radeon 5700XT

Reported by: JK Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no


I'm testing hardware decompression of h264 stream using DXVA2 option in modified hw_decode example. I've added only logs and I've removed saving to file. Video stream resolution is 3840x2160, 59.94fps, yuv420p (but resolution doesn't matter).

On Radeon 580 I'm observing, that in Task Manager Video Decode engine is used for about 40%.
On Radeon 5700XT Task Manager shows Video Encode, instead of Decode and it is used for about 60%.

Is it possible, that it is sth wrong in GPU driver? Driver version is official, not optional.

ffmpeg (x64) version: (pre-built version)

libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavfilter 7. 57.100 / 7. 57.100
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100

Attachments (1) (91.5 KB ) - added by JK 2 years ago.
Source file, logs from both GPU cards (verbose) and Task Manager screens

Download all attachments as: .zip

Change History (3)

by JK, 2 years ago

Attachment: added

Source file, logs from both GPU cards (verbose) and Task Manager screens

comment:1 by Carl Eugen Hoyos, 2 years ago

Keywords: dxva2 video decode encode removed
Version: 4.2unspecified

Do I understand correctly that you are reporting a graphics driver bug on the FFmpeg bug tracker?

comment:2 by Carl Eugen Hoyos, 2 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.