Description
mpv Information
mpv v0.40.0_1-116-ge8f115e1e Copyright © 2000-2025 mpv/MPlayer/mplayer2 projects
built on Jun 3 2025 16:53:01
libplacebo version: v7.351.0 (v7.351.0-4-gc311355-dirty)
FFmpeg version: git-2025-06-03-917d4264d
FFmpeg library versions:
libavcodec 62.3.101
libavdevice 62.0.100
libavfilter 11.0.100
libavformat 62.0.102
libavutil 60.3.100
libswresample 6.0.100
libswscale 9.0.100
Other Information
- Windows version: Version 10.0.26100 Build 26100
- GPU model, driver and version: 4060 576.52
- Source of mpv: https://api.github.com/repos/zhongfly/mpv-winbuild/releases/latest according to the update.ps1
- Latest known working version: none
- Issue started after the following happened: i compared an iamge and noticed a massive color difference with profile=high-quality vo=gpu-next and nothing else.
after that i tried the very old know calibration patterns from https://www.avsforum.com/threads/avs-hd-709-blu-ray-mp4-calibration.948496/
Reproduction Steps
mpc-hc is madVR mpc-be is mpcVR
mpv decodes this files as 255 15 3.
a bit difference is fine dithering such but that not even close to 100% red
mpcVR pixel i checked is 255 1 0
madVR is 255 0 0
tested file
https://github.com/user-attachments/assets/fb0e9e0d-3b5c-40e8-8709-bd7b17214675
i could not test no config because it is again blank
Expected Behavior
if the file is correct red 255 so ~241 CB mpv should also produce red like any other renderer/video player else the rest is wrong and the file is 255 15 1 and i have a lot more bug reports to write...
Actual Behavior
mpv outputs 255 15 1 instead of 255 0 0
Log File
[ 0.001][v][cplayer] mpv v0.40.0-130-g6b178e4f5 Copyright © 2000-2025 mpv/MPlayer/mplayer2 projects
[ 0.002][v][cplayer] built on Jun 2 2025 14:05:04
[ 0.002][v][cplayer] libplacebo version: v7.351.0 (v7.351.0-4-gc311355-dirty)
[ 0.002][v][cplayer] FFmpeg version: N-119811-gd4556c98f
[ 0.002][v][cplayer] FFmpeg library versions:
[ 0.002][v][cplayer] libavcodec 62.3.101
[ 0.002][v][cplayer] libavdevice 62.0.100
[ 0.002][v][cplayer] libavfilter 11.0.100
[ 0.002][v][cplayer] libavformat 62.0.102
[ 0.002][v][cplayer] libavutil 60.3.100
[ 0.002][v][cplayer] libswresample 6.0.100
[ 0.002][v][cplayer] libswscale 9.0.100
[ 0.002][v][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 -Dgl=enabled -Degl-angle=enabled -Dc_args=-Wno-error=int-conversion -Dprefix=/__w/mpv-winbuild/mpv-winbuild/mpv-winbuild-cmake/build64/install/x86_64-w64-mingw32 -Dlibdir=/__w/mpv-winbuild/mpv-winbuild/mpv-winbuild-cmake/build64/install/x86_64-w64-mingw32/lib -Ddefault_library=shared -Dprefer_static=True --cross-file=/__w/mpv-winbuild/mpv-winbuild/mpv-winbuild-cmake/build64/meson_cross.txt
[ 0.002][v][cplayer] List of enabled features: build-date cplugins cuda-hwaccel cuda-interop d3d-hwaccel d3d11 d3d9-hwaccel debug direct3d dos-paths dvdnav dxgi-debug-d3d11 egl-angle egl-angle-win32 ffmpeg ffnvcodec gl gl-dxinterop gl-dxinterop-d3d9 gl-win32 glob glob-win32 gpl iconv javascript jpeg lcms2 libarchive libass libavdevice libbluray libplacebo luajit openal rubberband rubberband-3 sdl2 sdl2-audio sdl2-gamepad sdl2-video shaderc spirv-cross uchardet vaapi vaapi-win32 vapoursynth vector vulkan wasapi win32 win32-desktop win32-executable win32-smtc win32-threads zimg zimg-st428 zlib
[ 0.002][v][cplayer] Built with NDEBUG.
[ 0.002][v][cplayer] Command line options: '--player-operation-mode=pseudo-gui' '--no-config' '--gpu-debug' '--log-file=output.txt' 'D:\mpv-x86_64-v3-20230716-git-cab5448\1-100 Red.mp4'
[ 0.002][v][cplayer] mpv v0.40.0-130-g6b178e4f5 Copyright © 2000-2025 mpv/MPlayer/mplayer2 projects
[ 0.002][v][cplayer] built on Jun 2 2025 14:05:04
[ 0.002][v][cplayer] libplacebo version: v7.351.0 (v7.351.0-4-gc311355-dirty)
[ 0.002][v][cplayer] FFmpeg version: N-119811-gd4556c98f
[ 0.002][v][cplayer] FFmpeg library versions:
[ 0.002][v][cplayer] libavcodec 62.3.101
[ 0.002][v][cplayer] libavdevice 62.0.100
[ 0.002][v][cplayer] libavfilter 11.0.100
[ 0.002][v][cplayer] libavformat 62.0.102
[ 0.002][v][cplayer] libavutil 60.3.100
[ 0.002][v][cplayer] libswresample 6.0.100
[ 0.002][v][cplayer] libswscale 9.0.100
[ 0.002][v][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 -Dgl=enabled -Degl-angle=enabled -Dc_args=-Wno-error=int-conversion -Dprefix=/__w/mpv-winbuild/mpv-winbuild/mpv-winbuild-cmake/build64/install/x86_64-w64-mingw32 -Dlibdir=/__w/mpv-winbuild/mpv-winbuild/mpv-winbuild-cmake/build64/install/x86_64-w64-mingw32/lib -Ddefault_library=shared -Dprefer_static=True --cross-file=/__w/mpv-winbuild/mpv-winbuild/mpv-winbuild-cmake/build64/meson_cross.txt
[ 0.002][v][cplayer] List of enabled features: build-date cplugins cuda-hwaccel cuda-interop d3d-hwaccel d3d11 d3d9-hwaccel debug direct3d dos-paths dvdnav dxgi-debug-d3d11 egl-angle egl-angle-win32 ffmpeg ffnvcodec gl gl-dxinterop gl-dxinterop-d3d9 gl-win32 glob glob-win32 gpl iconv javascript jpeg lcms2 libarchive libass libavdevice libbluray libplacebo luajit openal rubberband rubberband-3 sdl2 sdl2-audio sdl2-gamepad sdl2-video shaderc spirv-cross uchardet vaapi vaapi-win32 vapoursynth vector vulkan wasapi win32 win32-desktop win32-executable win32-smtc win32-threads zimg zimg-st428 zlib
[ 0.002][v][cplayer] Built with NDEBUG.
[ 0.002][d][global] home path: '' -> '-'
[ 0.002][d][global] user path: '~~home/' -> ''
[ 0.002][d][global] user path: '~~old_home/' -> ''
[ 0.002][v][cplayer] Setting option 'player-operation-mode' = 'pseudo-gui' (flags = 8)
[ 0.002][v][cplayer] Setting option 'config' = 'no' (flags = 8)
[ 0.002][v][cplayer] Setting option 'gpu-debug' = '' (flags = 8)
[ 0.002][v][cplayer] Setting option 'log-file' = 'output.txt' (flags = 8)
[ 0.002][v][cplayer] Applying profile 'builtin-pseudo-gui'...
[ 0.002][v][cplayer] Setting option 'terminal' = 'no' (flags = 260)
[ 0.002][v][cplayer] Setting option 'force-window' = 'yes' (flags = 260)
[ 0.002][v][cplayer] Setting option 'idle' = 'once' (flags = 260)
[ 0.002][v][cplayer] Setting option 'screenshot-dir' = '~~desktop/' (flags = 260)
[ 0.002][v][cplayer] Applying profile 'pseudo-gui'...
[ 0.002][v][cplayer] Setting option 'player-operation-mode' = 'pseudo-gui' (flags = 4)
[ 0.002][d][osc] Loading lua script @osc.lua...
[ 0.003][d][ytdl_hook] Loading lua script @ytdl_hook.lua...
[ 0.003][d][stats] Loading lua script @stats.lua...
[ 0.003][d][console] Loading lua script @console.lua...
[ 0.003][d][auto_profiles] Loading lua script @auto_profiles.lua...
[ 0.003][d][select] Loading lua script @select.lua...
[ 0.003][d][positioning] Loading lua script @positioning.lua...
[ 0.003][d][commands] Loading lua script @commands.lua...
[ 0.003][v][clipboard] Initialized win32 clipboard backend.
[ 0.003][v][cplayer] Waiting for scripts...
[ 0.003][d][osc] loading mp.defaults
[ 0.003][d][ytdl_hook] loading mp.defaults
[ 0.003][d][stats] loading mp.defaults
[ 0.003][d][auto_profiles] loading mp.defaults
[ 0.003][d][console] loading mp.defaults
[ 0.003][d][positioning] loading mp.defaults
[ 0.003][d][select] loading mp.defaults
[ 0.003][d][osc] loading @osc.lua
[ 0.003][d][stats] loading @stats.lua
[ 0.003][d][auto_profiles] loading @auto_profiles.lua
[ 0.003][d][ytdl_hook] loading @ytdl_hook.lua
[ 0.003][d][positioning] loading @positioning.lua
[ 0.003][d][select] loading @select.lua
[ 0.003][d][console] loading @console.lua
[ 0.004][d][commands] loading mp.defaults
[ 0.004][d][positioning] reading options for positioning
[ 0.004][d][positioning] script-opts/positioning.conf not found.
[ 0.004][d][positioning] lua-settings/positioning.conf not found.
[ 0.004][d][select] reading options for select
[ 0.004][d][select] script-opts/select.conf not found.
[ 0.004][d][select] lua-settings/select.conf not found.
[ 0.004][d][cplayer] Run command: define-section, flags=64, args=[name="input_positioning", contents="", flags="default"]
[ 0.004][d][cplayer] Run command: enable-section, flags=64, args=[name="input_positioning", flags="allow-hide-cursor+allow-vo-dragging"]
[ 0.004][d][cplayer] Run command: define-section, flags=64, args=[name="input_forced_positioning", contents="", flags="force"]
[ 0.004][d][cplayer] Run command: enable-section, flags=64, args=[name="input_forced_positioning", flags="allow-hide-cursor+allow-vo-dragging"]
[ 0.004][d][cplayer] Run command: define-section, flags=64, args=[name="input_select", contents="", flags="default"]
[ 0.004][d][cplayer] Run command: enable-section, flags=64, args=[name="input_select", flags="allow-hide-cursor+allow-vo-dragging"]
[ 0.004][d][cplayer] Run command: define-section, flags=64, args=[name="input_forced_select", contents="", flags="force"]
[ 0.004][d][cplayer] Run command: enable-section, flags=64, args=[name="input_forced_select", flags="allow-hide-cursor+allow-vo-dragging"]
[ 0.004][d][ytdl_hook] reading options for ytdl_hook
[ 0.004][d][ytdl_hook] script-opts/ytdl_hook.conf not found.
[ 0.004][d][ytdl_hook] lua-settings/ytdl_hook.conf not found.
[ 0.005][d][auto_profiles] Destroying client handle...
[ 0.005][d][stats] reading options for stats
[ 0.005][d][stats] script-opts/stats.conf not found.
[ 0.005][d][stats] lua-settings/stats.conf not found.
[ 0.005][d][console] reading options for console
[ 0.005][d][console] script-opts/console.conf not found.
[ 0.005][d][console] lua-settings/console.conf not found.
[ 0.005][d][commands] loading @commands.lua
[ 0.005][d][cplayer] Run command: define-section, flags=64, args=[name="input_stats", contents="", flags="default"]
[ 0.005][d][cplayer] Run command: enable-section, flags=64, args=[name="input_stats", flags="allow-hide-cursor+allow-vo-dragging"]
[ 0.005][d][cplayer] Run command: define-section, flags=64, args=[name="input_forced_stats", contents="", flags="force"]
[ 0.005][d][cplayer] Run command: enable-section, flags=64, args=[name="input_forced_stats", flags="allow-hide-cursor+allow-vo-dragging"]
[ 0.005][d][cplayer] Run command: define-section, flags=64, args=[name="input_console", contents="", flags="default"]
[ 0.005][d][cplayer] Run command: enable-section, flags=64, args=[name="input_console", flags="allow-hide-cursor+allow-vo-dragging"]
[ 0.005][d][cplayer] Run command: define-section, flags=64, args=[name="input_forced_console", contents="", flags="force"]
[ 0.005][d][cplayer] Run command: enable-section, flags=64, args=[name="input_forced_console", flags="allow-hide-cursor+allow-vo-dragging"]
[ 0.006][d][cplayer] Run command: define-section, flags=64, args=[name="showhide", contents="mouse_move script-binding osc/__keybinding1\nmouse_leave script-binding osc/__keybinding2\n", flags="force"]
[ 0.006][d][cplayer] Run command: define-section, flags=64, args=[name="showhide_wc", contents="mouse_move script-binding osc/__keybinding3\nmouse_leave script-binding osc/__keybinding4\n", flags="force"]
[ 0.006][d][cplayer] Run command: enable-section, flags=64, args=[name="showhide", flags="allow-hide-cursor+allow-vo-dragging"]
[ 0.006][d][cplayer] Run command: enable-section, flags=64, args=[name="showhide_wc", flags="allow-hide-cursor+allow-vo-dragging"]
[ 0.006][d][cplayer] Run command: define-section, flags=64, args=[name="input", contents="mbtn_left script-binding osc/__keybinding5\nmbtn_mid script-binding osc/__keybinding6\nmbtn_right script-binding osc/__keybinding7\nshift+mbtn_left script-binding osc/__keybinding8\nwheel_up script-binding osc/__keybinding9\nwheel_down script-binding osc/__keybinding10\nmbtn_left_dbl ignore\nshift+mbtn_left_dbl ignore\nmbtn_right_dbl ignore\n", flags="force"]
[ 0.006][d][cplayer] Run command: enable-section, flags=64, args=[name="input", flags=""]
[ 0.006][d][commands] reading options for commands
[ 0.006][d][commands] script-opts/commands.conf not found.
[ 0.006][d][commands] lua-settings/commands.conf not found.
[ 0.006][d][cplayer] Run command: define-section, flags=64, args=[name="window-controls", contents="mbtn_left script-binding osc/__keybinding11\n", flags="force"]
[ 0.006][d][cplayer] Run command: enable-section, flags=64, args=[name="window-controls", flags=""]
[ 0.006][d][cplayer] Run command: define-section, flags=64, args=[name="input_commands", contents="", flags="default"]
[ 0.006][d][cplayer] Run command: enable-section, flags=64, args=[name="input_commands", flags="allow-hide-cursor+allow-vo-dragging"]
[ 0.006][d][cplayer] Run command: define-section, flags=64, args=[name="input_forced_commands", contents="", flags="force"]
[ 0.006][d][cplayer] Run command: enable-section, flags=64, args=[name="input_forced_commands", flags="allow-hide-cursor+allow-vo-dragging"]
[ 0.006][d][osc] reading options for osc
[ 0.006][d][osc] script-opts/osc.conf not found.
[ 0.006][d][osc] lua-settings/osc.conf not found.
[ 0.007][v][cplayer] Set property: user-data/osc/visibility="auto" -> 1
[ 0.007][d][cplayer] Run command: disable-section, flags=64, args=[name="input"]
[ 0.007][d][cplayer] Run command: disable-section, flags=64, args=[name="window-controls"]
[ 0.007][v][cplayer] Set property: user-data/osc/margins={"b":0,"r":0,"t":0,"l":0} -> 1
[ 0.007][v][cplayer] Done loading scripts.
[ 0.007][d][global] state path: 'watch_later' -> '-'
[ 0.007][v][cplayer] Running hook: auto_profiles/on_before_start_file
[ 0.007][v][cplayer] Failed sending hook command auto_profiles/on_before_start_file. Removing hook.
[ 0.007][d][global] state path: 'watch_later' -> '-'
[ 0.007][v][cplayer] Running hook: auto_profiles/on_load
[ 0.007][v][cplayer] Failed sending hook command auto_profiles/on_load. Removing hook.
[ 0.007][v][cplayer] Running hook: ytdl_hook/on_load
[ 0.007][v][cplayer] Running hook: ytdl_hook/on_load
[ 0.007][v][ytdl_hook] playlist hook
[ 0.007][v][ifo_dvdnav] Opening D:\mpv-x86_64-v3-20230716-git-cab5448\1-100 Red.mp4
[ 0.007][v][bdmv/bluray] Opening D:\mpv-x86_64-v3-20230716-git-cab5448\1-100 Red.mp4
[ 0.007][v][file] Opening D:\mpv-x86_64-v3-20230716-git-cab5448\1-100 Red.mp4
[ 0.007][e][file] Cannot open file 'D:\mpv-x86_64-v3-20230716-git-cab5448\1-100 Red.mp4': No such file or directory
[ 0.007][e][stream] Failed to open D:\mpv-x86_64-v3-20230716-git-cab5448\1-100 Red.mp4.
[ 0.007][v][cplayer] Opening failed or was aborted: D:\mpv-x86_64-v3-20230716-git-cab5448\1-100 Red.mp4
[ 0.007][v][cplayer] Set property: user-data/osc/margins={"b":0,"r":0,"t":0,"l":0} -> 1
[ 0.007][v][cplayer] Running hook: ytdl_hook/on_load_fail
[ 0.007][d][osc] osc_init
[ 0.007][v][cplayer] finished playback, loading failed (reason 4)
[ 0.007][v][cplayer] Running hook: ytdl_hook/on_after_end_file
[ 0.007][d][cplayer] Run command: del, flags=64, args=[name="user-data/mpv/ytdl/json-subprocess-result"]
[ 0.007][i][cplayer] Exiting... (Errors when loading file)
[ 0.007][d][cplayer] Run command: del, flags=64, args=[name="user-data/mpv/console"]
[ 0.008][v][cplayer] Set property: user-data/osc/margins={"b":0,"r":0,"t":0,"l":0} -> 1
[ 0.008][d][osd/libass] ASS library version: 0x1703020 (runtime 0x1703020)
[ 0.008][v][osd/libass] libass API version: 0x1703020
[ 0.008][v][osd/libass] libass source: meson, commit: 0.17.3-84-g4679413b3636220d940465f0aaedc994ff9bad17
[ 0.008][d][ytdl_hook] Destroying client handle...
[ 0.008][v][osd/libass] Shaper: FriBidi 1.0.16 (SIMPLE) HarfBuzz-ng 11.2.1 (COMPLEX)
[ 0.008][v][osd/libass] Setting up fonts...
[ 0.008][d][positioning] Destroying client handle...
[ 0.008][d][commands] Destroying client handle...
[ 0.008][d][stats] Destroying client handle...
[ 0.008][d][select] Destroying client handle...
[ 0.008][d][console] Destroying client handle...
[ 0.009][v][osd/libass] Using font provider directwrite (with GDI)
[ 0.009][v][osd/libass] Done.
[ 0.009][d][cplayer] Run command: del, flags=64, args=[name="user-data/osc"]
[ 0.009][d][osc] Destroying client handle...
[ 0.013][d][SystemMediaTransportControls] Destroying client handle...
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.