Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"No decoder device for codec found" when using INTEL UHD770 decode HEVC video #15686

Open
6 tasks done
caffeew opened this issue Jan 13, 2025 · 3 comments
Open
6 tasks done
Labels

Comments

@caffeew
Copy link

caffeew commented Jan 13, 2025

mpv Information

mpv ca211b5 Copyright © 2000-2025 mpv/MPlayer/mplayer2 projects
 built on Jan 10 2025 13:22:10
libplacebo version: v7.350.0
FFmpeg version: 2af7885
FFmpeg library versions:
   libavcodec      61.19.100
   libavdevice     61.3.100
   libavfilter     10.4.100
   libavformat     61.7.100
   libavutil       59.39.100
   libswresample   5.3.100
   libswscale      8.3.100

Other Information

- Windows version: Win 11 24H2
- GPU model, driver and version: Intel UHD770 in i5-14500, Driver verion 32.0.101.5542 (HP OEM)
- Source of mpv: First-party builds by GitHub CI (latest commit)
- Latest known working version: First use
- Issue started after the following happened:

Reproduction Steps

[ffmpeg/video] hevc: No decoder device for codec found
[ffmpeg/video] hevc: Failed setup for format d3d11: hwaccel initialisation returned error.

I see a lot of HEVC devoder GUIDs reported above the error message, but none of it is useful?
Have tried another version intel driver (latest WHQL driver 101.6314), but still cannot initialize hwaccel.

Expected Behavior

Use hardware d3d11va decode

Actual Behavior

downgraded to software decode

Log File

mpv.log

Sample Files

No response

I carefully read all instruction and confirm that I did the following:

  • I tested with the latest mpv version to validate that the issue is not already fixed.
  • I provided all required information including system and mpv version.
  • I produced the log file with the exact same set of files, parameters, and conditions used in "Reproduction Steps", with the addition of --log-file=output.txt.
  • I produced the log file while the behaviors described in "Actual Behavior" were actively observed.
  • I attached the full, untruncated log file.
  • I attached the backtrace in the case of a crash.
@caffeew caffeew added the os:win label Jan 13, 2025
@zhongfly
Copy link

zhongfly commented Jan 13, 2025

Can you crop the video file by a few seconds and share it, or post mediainfo?
I have a similar situation on my R7 6800H(AMD Radeon 680M), most avc videos can use d3d11 hardware acceleration, very few avc videos can't.

I guess AMD Radeon 680M don't support hardware acceleration on avc baseline profile.
mediainfo(from video can't use d3d11)

Video
ID                          : 1
Format                      : AVC
Format/Info                 : Advanced Video Codec
Format profile              : Baseline@L4
Format settings             : 2 Ref Frames
Format settings, CABAC      : No
Format settings, Reference  : 2 frames
Codec ID                    : avc1
Codec ID/Info               : Advanced Video Coding
Duration                    : 23 min 40 s
Bit rate                    : 3 247 kb/s
Width                       : 1 920 pixels
Height                      : 1 080 pixels
Display aspect ratio        : 16:9
Frame rate mode             : Constant
Frame rate                  : 23.976 (24000/1001) FPS
Standard                    : Component
Color space                 : YUV
Chroma subsampling          : 4:2:0
Bit depth                   : 8 bits
Scan type                   : Progressive
Bits/(Pixel*Frame)          : 0.065
Stream size                 : 550 MiB (96%)
Color range                 : Limited
Color primaries             : BT.709
Transfer characteristics    : BT.709
Matrix coefficients         : BT.709
Codec configuration box     : avcC

@caffeew
Copy link
Author

caffeew commented Jan 13, 2025

Thx for reply.
The video is encoded by ffmpeg, settings are "-c:v libx265 -preset medium -crf 23 -profile:v main"
I doubt whether my intel driver or something wrong that led to encode/decode error, since H264 hardware encoding is not working.

mediainfo.txt

@nanachisol
Copy link

The video is encoded by ffmpeg, settings are "-c:v libx265 -preset medium -crf 23 -profile:v main"

ffmpeg version 7.1-essentials_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers

sample files

mpv v0.39.0-615-gca211b5b Copyright © 2000-2025 mpv/MPlayer/mplayer2 projects
 built on Jan 10 2025 14:04:25
libplacebo version: v7.350.0 (v7.349.0-30-g056b852-dirty)
FFmpeg version: N-118288-g8bd66a8c9
FFmpeg library versions:
   libavcodec      61.31.100
   libavdevice     61.4.100
   libavfilter     10.6.101
   libavformat     61.9.105
   libavutil       59.55.100
   libswresample   5.4.100
   libswscale      8.13.100
- Windows version: Win 11 24H2
- GPU model, driver and version: Intel UHD770 in i7-14650, Driver verion 32.0.101.5763 (lenovo laptop OEM)
- Source of mpv: zhongfly
- Latest known working version: First use
- Issue started after the following happened:

mpv.log

屏幕截图 2025-01-13 225530

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants