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

mpv-examples - qt_opengl, libmpv windows crashed #60

Open
lexxai opened this issue Feb 18, 2024 · 2 comments
Open

mpv-examples - qt_opengl, libmpv windows crashed #60

lexxai opened this issue Feb 18, 2024 · 2 comments

Comments

@lexxai
Copy link

lexxai commented Feb 18, 2024

I'm trying to recompile my old project with the old mpvlib, but now it crashed. Trying to solve the problem and only open the example.
An example where the version without opengl works.

https://github.com/mpv-player/mpv-examples/tree/master/libmpv/qt_opengl
Build: mpv-dev-x86_64-v3-20240218-git-bd5b80b
Windows 11. Qt 5.15.2. VS 2019.

devtools=C:/dev/develop-tools/
MPVDIR=$${devtools}/mpv/mpv-dev-x86_64-v3-20240218-git-bd5b80b

LIBS += -L$${MPVDIR} -llibmpv

QT_CONFIG -= no-pkg-config
CONFIG += link_pkgconfig debug
# PKGCONFIG += mpv

INCLUDEPATH += $${MPVDIR}/include
DEPENDPATH += $${MPVDIR}/include

Trying to open any video in mp4 format:

[cplayer] mpv v0.37.0-337-gbd5b80ba Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects
[cplayer]  built on Feb 18 2024 00:09:08
[cplayer] libplacebo version: v6.338.0-77-g3ba18d5-dirty
[cplayer] FFmpeg version: N-113670-g0895ef0d6
[cplayer] FFmpeg library versions:
[cplayer]    libavutil       58.39.100
[cplayer]    libavcodec      60.39.101
[cplayer]    libavformat     60.21.100
[cplayer]    libswscale      7.6.100
[cplayer]    libavfilter     9.17.100
[cplayer]    libswresample   4.13.100
[cplayer]
[cplayer] Configuration: -Ddebug=true -Db_ndebug=true -Doptimization=3 -Db_lto=true -Db_lto_mode=thin -Dlibmpv=true -Dpdf-build=enabled -Dlua=enabled -Djavascript=enabled -Dsdl2=enabled -Dlibarchive=enabled -Dlibbluray=enabled -Ddvdnav=enabled -Duchardet=enabled -Drubberband=enabled -Dlcms2=enabled -Dopenal=enabled -Dspirv-cross=enabled -Dvulkan=enabled -Dvapoursynth=enabled -Degl-angle=enabled -Dprefix=/__w/mpv-winbuild-cmake/mpv-winbuild-cmake/build_x86_64_v3/x86_64_v3-w64-mingw32 -Dlibdir=/__w/mpv-winbuild-cmake/mpv-winbuild-cmake/build_x86_64_v3/x86_64_v3-w64-mingw32/lib -Ddefault_library=shared -Dprefer_static=True --cross-file=/__w/mpv-winbuild-cmake/mpv-winbuild-cmake/build_x86_64_v3/meson_cross.txt
[cplayer] List of enabled features: av-channel-layout avif-muxer build-date cplugins cuda-hwaccel cuda-interop d3d-hwaccel d3d11 d3d9-hwaccel debug direct3d dos-paths dvdnav egl-angle egl-angle-win32 egl-helpers ffmpeg ffnvcodec gl gl-dxinterop gl-dxinterop-d3d9 gl-win32 glob glob-win32 gpl iconv javascript jpeg jpegxl lavu-uuid lcms2 libarchive libass libavdevice libbluray libm libplacebo luajit manpage-build noexecstack openal pdf-build rubberband rubberband-3 sdl2 sdl2-audio sdl2-gamepad sdl2-video shaderc spirv-cross threads uchardet vaapi vaapi-win32 vapoursynth vector vulkan vulkan-interop wasapi win32 win32-desktop win32-executable win32-threads zimg zimg-st428 zlib
[cplayer] Built with NDEBUG.
[cplayer] Waiting for scripts...
[cplayer] Done loading scripts.
[libmpv_render] GL_VERSION='4.6.0 - Build 31.0.101.2111'
[libmpv_render] Detected desktop OpenGL 4.6.
[libmpv_render] GL_VENDOR='Intel'
[libmpv_render] GL_RENDERER='Intel(R) HD Graphics 620'
[libmpv_render] GL_SHADING_LANGUAGE_VERSION='4.60 - Build 31.0.101.2111'
[libmpv_render] Loaded extension WGL_EXT_swap_control.
[libmpv_render] Loaded extension GL_KHR_debug.
[libmpv_render] GL_*_swap_control extension missing.
[libmpv_render] Testing FBO format rgba16f
[libmpv_render] Using FBO format rgba16f.
[libmpv_render] Loading hwdec driver 'vaapi'
[libmpv_render/vaapi] VAAPI hwdec only works with OpenGL or Vulkan backends.
[libmpv_render] Loading failed.
[libmpv_render] Loading hwdec driver 'd3d11-egl'
[libmpv_render] Loading failed.
[libmpv_render] Loading hwdec driver 'dxva2-egl'
[libmpv_render] Loading failed.
[libmpv_render] Loading hwdec driver 'd3d11va'
[libmpv_render] Loading failed.
[libmpv_render] Loading hwdec driver 'dxva2-dxgi'
[libmpv_render] Loading failed.
[libmpv_render] Loading hwdec driver 'dxva2-dxinterop'
[libmpv_render] Loading failed.
[libmpv_render] Loading hwdec driver 'cuda'
[libmpv_render/cuda] cu->cuGLGetDevices(&device_count, &display_dev, 1, CU_GL_DEVICE_LIST_ALL) failed -> CUDA_ERROR_OPERATING_SYSTEM: OS call failed or operation not supported on this OS
[libmpv_render/cuda] CUDA hwdec only works with OpenGL or Vulkan backends.
[libmpv_render] Loading failed.
[libmpv_render] Loading hwdec driver 'vulkan'
[libmpv_render/vulkan] This is not a libplacebo vulkan gpu api context.
[cplayer] Running hook: auto_profiles/on_before_start_file
[cplayer] Running hook: ytdl_hook/on_load
[ytdl_hook] ytdl:// hook
[ytdl_hook] not a ytdl:// url
[cplayer] Running hook: ytdl_hook/on_load
[ytdl_hook] playlist hook
[cplayer] Running hook: auto_profiles/on_load
[ifo_dvdnav] Opening FastAPI. Project Pixels.mp4
[bdmv/bluray] Opening FastAPI. Project Pixels.mp4
[file] Opening FastAPI. Project Pixels.mp4
[demux] Trying demuxers for level=normal.
[lavf] Found 'mov,mp4,m4a,3gp,3g2,mj2' at score=100 size=2048.
[file] stream level seek from 131072 to 118008369
[demux] Detected file format: mov,mp4,m4a,3gp,3g2,mj2 (libavformat)
[cplayer] Opening done: FastAPI. Project Pixels.mp4
[find_files] Loading external files in 
[cplayer] Running hook: ytdl_hook/on_preloaded
[cplayer] Running hook: auto_profiles/on_preloaded
[lavf] select track 0
[lavf] select track 1
 (+) Video --vid=1 (*) (h264 1920x1080 30.000fps)
 (+) Audio --aid=1 (*) (aac 2ch 44100Hz)
File tags:
 Comment:
[vd] Container reported FPS: 30.000000
[vd] Codec list:
[vd]     h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
[vd]     h264_qsv (h264) - H264 video (Intel Quick Sync Video acceleration)
[vd]     h264_cuvid (h264) - Nvidia CUVID H264 decoder
[vd] Opening decoder h264
[vd] Looking at hwdec h264-d3d11va...
[vd] Could not create device.
[vd] Looking at hwdec h264-dxva2...
[vd] Could not create device.
[vd] Looking at hwdec h264-nvdec...
[vd] Could not create device.
[vd] Looking at hwdec h264-vaapi...
[vd] Could not create device.
[vd] Looking at hwdec h264-d3d11va-copy...
[vd] Trying hardware decoding via h264-d3d11va-copy.
[vd] Selected codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
[vf] User filter list:
[vf]   (empty)
[ad] Codec list:
[ad]     aac - AAC (Advanced Audio Coding)
[ad]     aac_fixed (aac) - AAC (Advanced Audio Coding)
[ad] Opening decoder aac
[ad] Requesting 1 threads for decoding.
[ad] Selected codec: AAC (Advanced Audio Coding)
[af] User filter list:
[af]   (empty)
[cplayer] Starting playback...
[file] stream level seek from 118249154 to 48
[vd] Pixel formats supported by decoder: vulkan cuda dxva2_vld d3d11va_vld d3d11 d3d12 vaapi yuv420p
[vd] Codec profile: Constrained Baseline (0x242)
[vd] Requesting pixfmt 'd3d11' from decoder.
[ffmpeg/video] h264: Failed to get the decoder GUIDs
[ffmpeg/video] h264: Failed setup for format d3d11: hwaccel initialisation returned error.
[vd] Pixel formats supported by decoder: vulkan cuda dxva2_vld d3d11va_vld d3d12 vaapi yuv420p yuv420p
[vd] Codec profile: Constrained Baseline (0x242)
[vd] Requesting pixfmt 'yuv420p' from decoder.
[vd] Attempting next decoding method after failure of h264-d3d11va-copy.
[vd] Looking at hwdec h264-dxva2-copy...
[vd] Trying hardware decoding via h264-dxva2-copy.
[vd] Pixel formats supported by decoder: vulkan cuda dxva2_vld d3d11va_vld d3d11 d3d12 vaapi yuv420p
[vd] Codec profile: Constrained Baseline (0x242)
[vd] Requesting pixfmt 'dxva2_vld' from decoder.
[ffmpeg/video] h264: Failed to retrieve decoder device GUIDs
[ffmpeg/video] h264: Failed setup for format dxva2_vld: hwaccel initialisation returned error.
[vd] Pixel formats supported by decoder: vulkan cuda d3d11va_vld d3d11 d3d12 vaapi yuv420p yuv420p
[vd] Codec profile: Constrained Baseline (0x242)
[vd] Requesting pixfmt 'yuv420p' from decoder.
[vd] Attempting next decoding method after failure of h264-dxva2-copy.
[vd] Looking at hwdec h264-nvdec-copy...
[vd] Trying hardware decoding via h264-nvdec-copy.
[vd] Pixel formats supported by decoder: vulkan cuda dxva2_vld d3d11va_vld d3d11 d3d12 vaapi yuv420p
[vd] Codec profile: Constrained Baseline (0x242)
[vd] Requesting pixfmt 'cuda' from decoder.
[ffmpeg/video] h264: Cannot load cuvidGetDecodeStatus
[ffmpeg/video] h264: Failed loading nvcuvid.
[ffmpeg/video] h264: Failed setup for format cuda: hwaccel initialisation returned error.
[vd] Pixel formats supported by decoder: vulkan dxva2_vld d3d11va_vld d3d11 d3d12 vaapi yuv420p yuv420p
[vd] Codec profile: Constrained Baseline (0x242)
[vd] Requesting pixfmt 'yuv420p' from decoder.
[vd] Attempting next decoding method after failure of h264-nvdec-copy.
[vd] Looking at hwdec h264-vaapi-copy...
[vaapi] libva: VA-API version 1.21.0
[vaapi] libva: Trying to open /__w/mpv-winbuild-cmake/mpv-winbuild-cmake/build_x86_64_v3/x86_64_v3-w64-mingw32/bin\vaon12_drv_video.dll
[vaapi] libva: va_openDriver() returns -1
[vd] Could not create device.
[vd] Looking at hwdec h264-d3d12va...
[vd] Could not create device.
[vd] Looking at hwdec h264-vulkan...
[vd] Could not create device.
[vd] Looking at hwdec h264_qsv-qsv...
[vd] Could not create device.
[vd] Looking at hwdec h264_cuvid-cuda...
[vd] Could not create device.
[vd] Looking at hwdec h264-d3d12va-copy...
[ffmpeg] av_log callback called with bad parameters (NULL AVClass).
[ffmpeg] This is a bug in one of FFmpeg libraries used.
[ffmpeg] Using device 10de:134f (NVIDIA GeForce 920MX).
[ffmpeg] av_log callback called with bad parameters (NULL AVClass).
[ffmpeg] This is a bug in one of FFmpeg libraries used.
[ffmpeg] Failed to create Direct 3D 12 device (887a0004)
[vd] Could not create device.
[vd] Looking at hwdec h264-vulkan-copy...
qtc.process_stub: Inferior error:  QProcess::Crashed "Process crashed"
Terminal process exited with code -1073741819
@lexxai
Copy link
Author

lexxai commented Feb 18, 2024

Primary - NVIDIA GeForce 920MX GPU:

[cplayer] mpv v0.37.0-337-gbd5b80ba Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects
[cplayer]  built on Feb 18 2024 00:09:08
[cplayer] libplacebo version: v6.338.0-77-g3ba18d5-dirty
[cplayer] FFmpeg version: N-113670-g0895ef0d6
[cplayer] FFmpeg library versions:
[cplayer]    libavutil       58.39.100
[cplayer]    libavcodec      60.39.101
[cplayer]    libavformat     60.21.100
[cplayer]    libswscale      7.6.100
[cplayer]    libavfilter     9.17.100
[cplayer]    libswresample   4.13.100
[cplayer]
[cplayer] Configuration: -Ddebug=true -Db_ndebug=true -Doptimization=3 -Db_lto=true -Db_lto_mode=thin -Dlibmpv=true -Dpdf-build=enabled -Dlua=enabled -Djavascript=enabled -Dsdl2=enabled -Dlibarchive=enabled -Dlibbluray=enabled -Ddvdnav=enabled -Duchardet=enabled -Drubberband=enabled -Dlcms2=enabled -Dopenal=enabled -Dspirv-cross=enabled -Dvulkan=enabled -Dvapoursynth=enabled -Degl-angle=enabled -Dprefix=/__w/mpv-winbuild-cmake/mpv-winbuild-cmake/build_x86_64_v3/x86_64_v3-w64-mingw32 -Dlibdir=/__w/mpv-winbuild-cmake/mpv-winbuild-cmake/build_x86_64_v3/x86_64_v3-w64-mingw32/lib -Ddefault_library=shared -Dprefer_static=True --cross-file=/__w/mpv-winbuild-cmake/mpv-winbuild-cmake/build_x86_64_v3/meson_cross.txt
[cplayer] List of enabled features: av-channel-layout avif-muxer build-date cplugins cuda-hwaccel cuda-interop d3d-hwaccel d3d11 d3d9-hwaccel debug direct3d dos-paths dvdnav egl-angle egl-angle-win32 egl-helpers ffmpeg ffnvcodec gl gl-dxinterop gl-dxinterop-d3d9 gl-win32 glob glob-win32 gpl iconv javascript jpeg jpegxl lavu-uuid lcms2 libarchive libass libavdevice libbluray libm libplacebo luajit manpage-build noexecstack openal pdf-build rubberband rubberband-3 sdl2 sdl2-audio sdl2-gamepad sdl2-video shaderc spirv-cross threads uchardet vaapi vaapi-win32 vapoursynth vector vulkan vulkan-interop wasapi win32 win32-desktop win32-executable win32-threads zimg zimg-st428 zlib
[cplayer] Built with NDEBUG.
[cplayer] Waiting for scripts...
[cplayer] Done loading scripts.
[libmpv_render] GL_VERSION='4.5.0 NVIDIA 382.64'
[libmpv_render] Detected desktop OpenGL 4.5.
[libmpv_render] GL_VENDOR='NVIDIA Corporation'
[libmpv_render] GL_RENDERER='GeForce 920MX/PCIe/SSE2'
[libmpv_render] GL_SHADING_LANGUAGE_VERSION='4.50 NVIDIA'
[libmpv_render] Loaded extension WGL_EXT_swap_control.
[libmpv_render] Loaded extension GL_KHR_debug.
[libmpv_render] GL_*_swap_control extension missing.
[libmpv_render] Testing FBO format rgba16f
[libmpv_render] Using FBO format rgba16f.
[libmpv_render] Loading hwdec driver 'vaapi'
[libmpv_render/vaapi] VAAPI hwdec only works with OpenGL or Vulkan backends.
[libmpv_render] Loading failed.
[libmpv_render] Loading hwdec driver 'd3d11-egl'
[libmpv_render] Loading failed.
[libmpv_render] Loading hwdec driver 'dxva2-egl'
[libmpv_render] Loading failed.
[libmpv_render] Loading hwdec driver 'd3d11va'
[libmpv_render] Loading failed.
[libmpv_render] Loading hwdec driver 'dxva2-dxgi'
[libmpv_render] Loading failed.
[libmpv_render] Loading hwdec driver 'dxva2-dxinterop'
[libmpv_render] Loading failed.
[libmpv_render] Loading hwdec driver 'cuda'
[libmpv_render] Loading hwdec driver 'vulkan'
[libmpv_render/vulkan] This is not a libplacebo vulkan gpu api context.
[cplayer] Running hook: auto_profiles/on_before_start_file
[cplayer] Running hook: ytdl_hook/on_load
[ytdl_hook] ytdl:// hook
[ytdl_hook] not a ytdl:// url
[cplayer] Running hook: ytdl_hook/on_load
[ytdl_hook] playlist hook
[cplayer] Running hook: auto_profiles/on_load
[ifo_dvdnav] Opening C_NaturLangu_M01_04_Using APIs.mp4
[bdmv/bluray] Opening C_NaturLangu_M01_04_Using APIs.mp4
[file] Opening C_NaturLangu_M01_04_Using APIs.mp4
[demux] Trying demuxers for level=normal.
[lavf] Found 'mov,mp4,m4a,3gp,3g2,mj2' at score=100 size=2048.
[demux] Detected file format: mov,mp4,m4a,3gp,3g2,mj2 (libavformat)
[cplayer] Opening done: C_NaturLangu_M01_04_Using APIs.mp4
[find_files] Loading external files in 
[cplayer] Running hook: ytdl_hook/on_preloaded
[cplayer] Running hook: auto_profiles/on_preloaded
[lavf] select track 0
[lavf] select track 1
 (+) Video --vid=1 (*) (h264 1280x720 30.000fps)
 (+) Audio --aid=1 (*) (aac 2ch 44100Hz)
File tags:
 Date: 2022-03-10
 Title: C3W1SC4
[vd] Container reported FPS: 30.000000
[vd] Codec list:
[vd]     h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
[vd]     h264_qsv (h264) - H264 video (Intel Quick Sync Video acceleration)
[vd]     h264_cuvid (h264) - Nvidia CUVID H264 decoder
[vd] Opening decoder h264
[vd] Looking at hwdec h264-d3d11va...
[vd] Could not create device.
[vd] Looking at hwdec h264-dxva2...
[vd] Could not create device.
[vd] Looking at hwdec h264-nvdec...
[vd] Trying hardware decoding via h264-nvdec.
[vd] Selected codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
[vf] User filter list:
[vf]   (empty)
[ad] Codec list:
[ad]     aac - AAC (Advanced Audio Coding)
[ad]     aac_fixed (aac) - AAC (Advanced Audio Coding)
[ad] Opening decoder aac
[ad] Requesting 1 threads for decoding.
[ad] Selected codec: AAC (Advanced Audio Coding)
[af] User filter list:
[af]   (empty)
[cplayer] Starting playback...
[libmpv_render] Window size: 480x270 (Borders: l=0 t=0 r=0 b=0)
[libmpv_render] Video source: 0x0 (0:0)
[libmpv_render] Video display: (0, 0) 1x1 -> (239, 0) 1x270
[libmpv_render] Video scale: 1.000000/270.000000
[libmpv_render] OSD borders: l=239 t=0 r=240 b=0
[libmpv_render] Video borders: l=239 t=0 r=240 b=0
[af] [in] 44100Hz stereo 2ch floatp
[af] [userspeed] 44100Hz stereo 2ch floatp
[af] [userspeed] (disabled)
[af] [convert] 44100Hz stereo 2ch floatp
[vd] Pixel formats supported by decoder: vulkan cuda dxva2_vld d3d11va_vld d3d11 d3d12 vaapi yuv420p
[vd] Codec profile: Main (0x4d)
[vd] Requesting pixfmt 'cuda' from decoder.
[ffmpeg/video] h264: Cannot load cuvidGetDecodeStatus
[ffmpeg/video] h264: Failed loading nvcuvid.
[ffmpeg/video] h264: Failed setup for format cuda: hwaccel initialisation returned error.
[vd] Pixel formats supported by decoder: vulkan dxva2_vld d3d11va_vld d3d11 d3d12 vaapi yuv420p yuv420p
[vd] Codec profile: Main (0x4d)
[vd] Requesting pixfmt 'yuv420p' from decoder.
[vd] Attempting next decoding method after failure of h264-nvdec.
[vd] Looking at hwdec h264-vaapi...
[vd] Could not create device.
[vd] Looking at hwdec h264-d3d11va-copy...
[vd] Trying hardware decoding via h264-d3d11va-copy.
[ao] Trying audio driver 'wasapi'
[ao/wasapi] requested format: 44100 Hz, stereo channels, floatp
[ao/wasapi] No device specified. Selecting default.
[ao/wasapi] Selecting device '{77464311-1ae7-40f3-be6b-11cac9beff61}' (Speakers (2- High Definition Audio Device))
[ao/wasapi] Monitoring changes in device {0.0.0.00000000}.{77464311-1ae7-40f3-be6b-11cac9beff61}
[ao/wasapi] Trying stereo float (32/32 bits) @ 48000hz (shared) -> ok
[ao/wasapi] Accepted as stereo float @ 48000hz -> stereo float (32/32 bits) @ 48000hz (shared)
[ao/wasapi] Device period: 10 ms
[ao/wasapi] Buffer frame count: 2400 (50 ms)
[ao/wasapi] IAudioClock::GetFrequency gave a frequency of 384000.
[ao/wasapi] device buffer: 2400 samples.
[ao/wasapi] using soft-buffer of 9600 samples.
AO: [wasapi] 48000Hz stereo 2ch float
[cplayer] AO: Description: Windows WASAPI audio output (event mode)
[autoconvert] inserting resampler
[swresample] format change, reinitializing resampler
[swresample] 44100Hz stereo floatp -> 48000Hz stereo float
[af] [out] 48000Hz stereo 2ch float
[vd] Pixel formats supported by decoder: vulkan cuda dxva2_vld d3d11va_vld d3d11 d3d12 vaapi yuv420p
[vd] Codec profile: Main (0x4d)
[vd] Requesting pixfmt 'd3d11' from decoder.
[ffmpeg/video] h264: Failed to get the decoder GUIDs
[ffmpeg/video] h264: Failed setup for format d3d11: hwaccel initialisation returned error.
[vd] Pixel formats supported by decoder: vulkan cuda dxva2_vld d3d11va_vld d3d12 vaapi yuv420p yuv420p
[vd] Codec profile: Main (0x4d)
[vd] Requesting pixfmt 'yuv420p' from decoder.
[vd] Attempting next decoding method after failure of h264-d3d11va-copy.
[vd] Looking at hwdec h264-dxva2-copy...
[vd] Trying hardware decoding via h264-dxva2-copy.
[vd] Pixel formats supported by decoder: vulkan cuda dxva2_vld d3d11va_vld d3d11 d3d12 vaapi yuv420p
[vd] Codec profile: Main (0x4d)
[vd] Requesting pixfmt 'dxva2_vld' from decoder.
[ffmpeg/video] h264: Failed to retrieve decoder device GUIDs
[ffmpeg/video] h264: Failed setup for format dxva2_vld: hwaccel initialisation returned error.
[vd] Pixel formats supported by decoder: vulkan cuda d3d11va_vld d3d11 d3d12 vaapi yuv420p yuv420p
[vd] Codec profile: Main (0x4d)
[vd] Requesting pixfmt 'yuv420p' from decoder.
[vd] Attempting next decoding method after failure of h264-dxva2-copy.
[vd] Looking at hwdec h264-nvdec-copy...
[vd] Trying hardware decoding via h264-nvdec-copy.
[vd] Pixel formats supported by decoder: vulkan cuda dxva2_vld d3d11va_vld d3d11 d3d12 vaapi yuv420p
[vd] Codec profile: Main (0x4d)
[vd] Requesting pixfmt 'cuda' from decoder.
[ffmpeg/video] h264: Cannot load cuvidGetDecodeStatus
[ffmpeg/video] h264: Failed loading nvcuvid.
[ffmpeg/video] h264: Failed setup for format cuda: hwaccel initialisation returned error.
[vd] Pixel formats supported by decoder: vulkan dxva2_vld d3d11va_vld d3d11 d3d12 vaapi yuv420p yuv420p
[vd] Codec profile: Main (0x4d)
[vd] Requesting pixfmt 'yuv420p' from decoder.
[vd] Attempting next decoding method after failure of h264-nvdec-copy.
[vd] Looking at hwdec h264-vaapi-copy...
[vaapi] libva: VA-API version 1.21.0
[vaapi] libva: Trying to open /__w/mpv-winbuild-cmake/mpv-winbuild-cmake/build_x86_64_v3/x86_64_v3-w64-mingw32/bin\vaon12_drv_video.dll
[vaapi] libva: va_openDriver() returns -1
[vd] Could not create device.
[vd] Looking at hwdec h264-d3d12va...
[vd] Could not create device.
[vd] Looking at hwdec h264-vulkan...
[vd] Could not create device.
[vd] Looking at hwdec h264_qsv-qsv...
[vd] Could not create device.
[vd] Looking at hwdec h264_cuvid-cuda...
[vd] Trying hardware decoding via h264_cuvid-cuda.
[vd] Using underlying hw-decoder 'h264_cuvid'
[vd] Pixel formats supported by decoder: cuda nv12
[vd] Codec profile: unknown (0xffffff9d)
[vd] Requesting pixfmt 'cuda' from decoder.
[ffmpeg/video] h264_cuvid: Cannot load cuvidGetDecodeStatus
[ffmpeg/video] h264_cuvid: Failed loading nvcuvid.
Could not open codec.
[vd] Attempting next decoding method after failure of h264_cuvid-cuda.
[vd] Looking at hwdec h264-d3d12va-copy...
[ffmpeg] av_log callback called with bad parameters (NULL AVClass).
[ffmpeg] This is a bug in one of FFmpeg libraries used.
[ffmpeg] Using device 10de:134f (NVIDIA GeForce 920MX).
[ffmpeg] av_log callback called with bad parameters (NULL AVClass).
[ffmpeg] This is a bug in one of FFmpeg libraries used.
[ffmpeg] Failed to create Direct 3D 12 device (887a0004)
[vd] Could not create device.
[vd] Looking at hwdec h264-vulkan-copy...
qtc.process_stub: Inferior error:  QProcess::Crashed "Process crashed"
Terminal process exited with code -1073741819

@lexxai
Copy link
Author

lexxai commented Feb 18, 2024

In an isolated Windows environment without GPU acceleration, everything is fine.

зображення

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

No branches or pull requests

1 participant