Dudemanguy / mpv-manga-reader

Manga reading script for mpv
GNU General Public License v3.0
119 stars 4 forks source link

[Noob Question] Can I make this work on windows 10? If so, How? #13

Closed Droyk closed 2 years ago

Droyk commented 2 years ago

First question is where should I put the .lua file as I don't have the script folder? image

Since I didn't had any I tried to made two of them first in the MPV main directory image 2nd one is in MPV\mpv\config\scripts\manga-reader.lua (there was no folder in the mpv folder so I also had to made that one) image

I also tried to put in the MPV\mpv folder I also tried to put the .lua file directly in the main directory where mpv.exe resides

none of them gave me any kind of response when I try to put the manga folder in the player! is there something else do I need to do first to make it run? IDK what to do? please help!

Dudemanguy commented 2 years ago

Oops, somehow I missed this issue. I'm not really familiar with windows, but it should work the same all scripts work. mpv should load any lua scripts placed in scripts subdirectory in config so that one should have worked. Make sure you actually activate the script with the proper keybinding.

Droyk commented 2 years ago

Make sure you actually activate the script with the proper keybinding.

To enable it is to press Press Y on the keyboard right. it doesn't provide any kind of feedback that it has been enabled I also tried to press D to toggle double page it says deinterlace Yes or no that's all!

Dudemanguy commented 2 years ago

In that case, that means the lua script wasn't loaded.

Droyk commented 2 years ago

So what else I can do to load it?

Dudemanguy commented 2 years ago

You could use the --script option and pass the exact path to the script I suppose.

Droyk commented 2 years ago

I got it working now but not with your script with a test script since this is a portable version I had to create 2 folders name them "portable_config" & "Scripts" portable_config/scripts (in the mpv main directory) and then inside the script dir. I placed your manga-reader.lua & and created another file ping.js which contains 1 line (it display a timestamp at the OSD every 500 ms): setInterval(function() { mp.osd_message(mp.get_time_ms()) }, 500)

The script ping.js is definitely loaded and shows a message at the window every 500 ms. but your script doesn't work! here's the log file it shows the file manga-reader.lua file being loaded properly

[   0.007][v][cplayer] mpv 0.34.0-127-g777628e761 Copyright © 2000-2021 mpv/MPlayer/mplayer2 projects
[   0.007][v][cplayer]  built on Sun Jan  9 11:43:53 +08 2022
[   0.007][v][cplayer] FFmpeg library versions:
[   0.007][v][cplayer]    libavutil       57.18.100
[   0.007][v][cplayer]    libavcodec      59.20.100
[   0.007][v][cplayer]    libavformat     59.17.100
[   0.007][v][cplayer]    libswscale      6.5.100
[   0.007][v][cplayer]    libavfilter     8.25.100
[   0.007][v][cplayer]    libswresample   4.4.100
[   0.007][v][cplayer] FFmpeg version: git-2022-01-08-ffb000ff
[   0.007][v][cplayer] 
[   0.007][v][cplayer] Configuration: /home/shinchiro/build64/packages/mpv-prefix/src/mpv/waf configure --enable-static-build --enable-pdf-build --disable-manpage-build --enable-libmpv-shared --enable-lua --enable-javascript --enable-sdl2 --enable-libarchive --enable-libbluray --enable-dvdnav --enable-uchardet --enable-rubberband --enable-lcms2 --enable-openal --enable-spirv-cross --enable-vulkan --enable-vapoursynth --prefix=/home/shinchiro/build64/install/mingw
[   0.007][v][cplayer] List of enabled features: asm build-date cplayer cuda-hwaccel cuda-interop d3d-hwaccel d3d11 d3d9-hwaccel debug-build direct3d dos-paths dvdnav egl-angle egl-angle-win32 egl-helpers ffmpeg ffmpeg-aviocontext-bytes-read ffnvcodec gl gl-dxinterop gl-dxinterop-d3d9 gl-win32 glob glob-win32 gpl iconv javascript jpeg lcms2 libarchive libass libavdevice libbluray libm libmpv-shared libplacebo libplacebo-v4 lua luajit mingw noexecstack openal optimize plain-gl posix-or-mingw rubberband sdl2 sdl2-audio sdl2-gamepad sdl2-video shaderc shaderc-static spirv-cross spirv-cross-static static-build stdatomic uchardet vapoursynth vector vulkan wasapi win32-desktop win32-internal-pthreads zimg zlib
[   0.007][d][osc] Loading lua script @osc.lua...
[   0.007][d][ytdl_hook] Loading lua script @ytdl_hook.lua...
[   0.007][d][stats] Loading lua script @stats.lua...
[   0.007][d][console] Loading lua script @console.lua...
[   0.007][d][osc] loading mp.defaults
[   0.007][d][ytdl_hook] loading mp.defaults
[   0.007][d][stats] loading mp.defaults
[   0.007][d][auto_profiles] Loading lua script @auto_profiles.lua...
[   0.007][d][global] config path: 'scripts' -> 'C:/Users/Ruyjin Parker/Desktop/MPV/portable_config/scripts'
[   0.008][d][ytdl_hook] loading @ytdl_hook.lua
[   0.008][d][osc] loading @osc.lua
[   0.008][d][stats] loading @stats.lua
[   0.008][d][ytdl_hook] reading options for ytdl_hook 
[   0.008][d][global] config path: 'script-opts/ytdl_hook.conf' -/-> 'C:/Users/Ruyjin Parker/Desktop/MPV/portable_config/script-opts/ytdl_hook.conf'
[   0.008][d][ytdl_hook] script-opts/ytdl_hook.conf not found. 
[   0.008][d][global] config path: 'lua-settings/ytdl_hook.conf' -/-> 'C:/Users/Ruyjin Parker/Desktop/MPV/portable_config/lua-settings/ytdl_hook.conf'
[   0.008][d][ytdl_hook] lua-settings/ytdl_hook.conf not found. 
[   0.009][d][stats] reading options for stats 
[   0.009][d][global] config path: 'script-opts/stats.conf' -/-> 'C:/Users/Ruyjin Parker/Desktop/MPV/portable_config/script-opts/stats.conf'
[   0.009][d][stats] script-opts/stats.conf not found. 
[   0.009][d][console] loading mp.defaults
[   0.009][d][global] config path: 'lua-settings/stats.conf' -/-> 'C:/Users/Ruyjin Parker/Desktop/MPV/portable_config/lua-settings/stats.conf'
[   0.009][d][stats] lua-settings/stats.conf not found. 
[   0.009][d][manga_reader] Loading lua script C:/Users/Ruyjin Parker/Desktop/MPV/portable_config/scripts/manga-reader.lua...
[   0.009][d][ping] Loading javascript C:/Users/Ruyjin Parker/Desktop/MPV/portable_config/scripts/ping.js...
[   0.009][d][auto_profiles] loading mp.defaults
[   0.009][v][cplayer] Waiting for scripts...
[   0.009][d][console] loading @console.lua
[   0.009][d][auto_profiles] loading @auto_profiles.lua
[   0.009][d][osc] reading options for osc 
[   0.009][d][global] config path: 'script-opts/osc.conf' -/-> 'C:/Users/Ruyjin Parker/Desktop/MPV/portable_config/script-opts/osc.conf'
[   0.010][d][osc] script-opts/osc.conf not found. 
[   0.010][d][global] config path: 'lua-settings/osc.conf' -/-> 'C:/Users/Ruyjin Parker/Desktop/MPV/portable_config/lua-settings/osc.conf'
[   0.010][d][auto_profiles] Exiting...
[   0.010][d][cplayer] Run command: define-section, flags=64, args=[name="input_stats", contents="", flags="default"]
[   0.010][d][cplayer] Run command: enable-section, flags=64, args=[name="input_stats", flags="allow-hide-cursor+allow-vo-dragging"]
[   0.010][d][cplayer] Run command: define-section, flags=64, args=[name="input_forced_stats", contents="", flags="force"]
[   0.010][d][cplayer] Run command: enable-section, flags=64, args=[name="input_forced_stats", flags="allow-hide-cursor+allow-vo-dragging"]
[   0.010][d][osc] lua-settings/osc.conf not found. 
[   0.010][d][manga_reader] loading mp.defaults
[   0.010][d][console] reading options for console 
[   0.010][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.010][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.010][d][global] config path: 'script-opts/console.conf' -/-> 'C:/Users/Ruyjin Parker/Desktop/MPV/portable_config/script-opts/console.conf'
[   0.010][d][console] script-opts/console.conf not found. 
[   0.010][d][cplayer] Run command: enable-section, flags=64, args=[name="showhide", flags="allow-hide-cursor+allow-vo-dragging"]
[   0.010][d][cplayer] Run command: enable-section, flags=64, args=[name="showhide_wc", flags="allow-hide-cursor+allow-vo-dragging"]
[   0.010][d][cplayer] Run command: define-section, flags=64, args=[name="input", contents="mbtn_left script-binding osc/__keybinding5\nshift+mbtn_left script-binding osc/__keybinding6\nmbtn_right script-binding osc/__keybinding7\nmbtn_mid 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.010][d][global] config path: 'lua-settings/console.conf' -/-> 'C:/Users/Ruyjin Parker/Desktop/MPV/portable_config/lua-settings/console.conf'
[   0.010][d][console] lua-settings/console.conf not found. 
[   0.010][d][cplayer] Run command: enable-section, flags=64, args=[name="input", flags=""]
[   0.010][d][cplayer] Run command: define-section, flags=64, args=[name="window-controls", contents="mbtn_left script-binding osc/__keybinding11\n", flags="force"]
[   0.010][d][cplayer] Run command: enable-section, flags=64, args=[name="window-controls", flags=""]
[   0.011][d][cplayer] Run command: change-list, flags=64, args=[name="shared-script-properties", operation="append", value="osc-visibility=auto"]
[   0.011][v][cplayer] Set property: shared-script-properties -> 1
[   0.011][v][ping] Loading file @/defaults.js
[   0.011][d][global] user path: '@/defaults.js' -> '@/defaults.js'
[   0.011][d][cplayer] Run command: disable-section, flags=64, args=[name="input"]
[   0.011][d][cplayer] Run command: disable-section, flags=64, args=[name="window-controls"]
[   0.011][d][cplayer] Run command: change-list, flags=64, args=[name="shared-script-properties", operation="append", value="osc-margins=0.000000,0.000000,0.000000,0.000000"]
[   0.011][v][ping] Reading file '@/defaults.js'
[   0.011][d][manga_reader] loading file C:/Users/Ruyjin Parker/Desktop/MPV/portable_config/scripts/manga-reader.lua
[   0.011][v][cplayer] Set property: shared-script-properties -> 1
[   0.011][d][global] config path: 'fonts' -/-> 'C:/Users/Ruyjin Parker/Desktop/MPV/portable_config/fonts'
[   0.011][d][osd/libass] ASS library version: 0x1502000 (runtime 0x1502000)
[   0.011][v][osd/libass] libass API version: 0x1502000
[   0.011][v][osd/libass] libass source: commit: 0d170d9a1d7e7fee948141eac988c1e6391dfc62
[   0.012][v][osd/libass] Shaper: FriBidi 1.0.11 (SIMPLE) HarfBuzz-ng 3.2.0 (COMPLEX)
[   0.012][d][global] config path: 'subfont.ttf' -/-> 'C:/Users/Ruyjin Parker/Desktop/MPV/portable_config/subfont.ttf'
[   0.012][d][global] config path: 'fonts.conf' -/-> 'C:/Users/Ruyjin Parker/Desktop/MPV/portable_config/fonts.conf'
[   0.012][v][osd/libass] Setting up fonts...
[   0.013][v][osd/libass] Using font provider directwrite (with GDI)
[   0.013][v][osd/libass] Done.
[   0.014][d][global] config path: 'init.js' -/-> 'C:/Users/Ruyjin Parker/Desktop/MPV/portable_config/init.js'
[   0.014][d][global] config path: '.init.js' -/-> 'C:/Users/Ruyjin Parker/Desktop/MPV/portable_config/.init.js'
[   0.014][v][ping] Loading file C:/Users/Ruyjin Parker/Desktop/MPV/portable_config/scripts/ping.js
[   0.014][d][global] user path: 'C:/Users/Ruyjin Parker/Desktop/MPV/portable_config/scripts/ping.js' -> 'C:/Users/Ruyjin Parker/Desktop/MPV/portable_config/scripts/ping.js'
[   0.014][v][ping] Reading file 'C:/Users/Ruyjin Parker/Desktop/MPV/portable_config/scripts/ping.js'
[   0.014][d][manga_reader] reading options for manga-reader 
[   0.014][d][cplayer] Run command: change-list, flags=64, args=[name="shared-script-properties", operation="append", value="osc-margins=0.000000,0.000000,0.000000,0.000000"]
[   0.014][d][global] config path: 'script-opts/manga-reader.conf' -/-> 'C:/Users/Ruyjin Parker/Desktop/MPV/portable_config/script-opts/manga-reader.conf'
[   0.014][d][manga_reader] script-opts/manga-reader.conf not found. 
[   0.014][v][cplayer] Set property: shared-script-properties -> 1
[   0.014][d][cplayer] Run command: define-section, flags=64, args=[name="input_console", contents="", flags="default"]
[   0.014][d][cplayer] Run command: enable-section, flags=64, args=[name="input_console", flags="allow-hide-cursor+allow-vo-dragging"]
[   0.014][d][cplayer] Run command: define-section, flags=64, args=[name="input_forced_console", contents="", flags="force"]
[   0.014][d][global] config path: 'lua-settings/manga-reader.conf' -/-> 'C:/Users/Ruyjin Parker/Desktop/MPV/portable_config/lua-settings/manga-reader.conf'
[   0.014][d][manga_reader] lua-settings/manga-reader.conf not found. 
[   0.014][d][cplayer] Run command: enable-section, flags=64, args=[name="input_forced_console", flags="allow-hide-cursor+allow-vo-dragging"]
[   0.014][d][cplayer] Run command: define-section, flags=64, args=[name="input_manga_reader", contents="y script-binding manga_reader/toggle-reader\n", flags="default"]
[   0.014][d][cplayer] Run command: enable-section, flags=64, args=[name="input_manga_reader", flags="allow-hide-cursor+allow-vo-dragging"]
[   0.014][d][global] config path: 'fonts' -/-> 'C:/Users/Ruyjin Parker/Desktop/MPV/portable_config/fonts'
[   0.014][d][osd/libass] ASS library version: 0x1502000 (runtime 0x1502000)
[   0.014][v][osd/libass] libass API version: 0x1502000
[   0.014][v][osd/libass] libass source: commit: 0d170d9a1d7e7fee948141eac988c1e6391dfc62
[   0.015][v][osd/libass] Shaper: FriBidi 1.0.11 (SIMPLE) HarfBuzz-ng 3.2.0 (COMPLEX)
[   0.015][d][global] config path: 'subfont.ttf' -/-> 'C:/Users/Ruyjin Parker/Desktop/MPV/portable_config/subfont.ttf'
[   0.015][d][global] config path: 'fonts.conf' -/-> 'C:/Users/Ruyjin Parker/Desktop/MPV/portable_config/fonts.conf'
[   0.015][v][osd/libass] Setting up fonts...
[   0.016][v][osd/libass] Using font provider directwrite (with GDI)
[   0.016][v][osd/libass] Done.
[   0.016][d][cplayer] Run command: define-section, flags=64, args=[name="input_forced_manga_reader", contents="", flags="force"]
[   0.016][d][cplayer] Run command: enable-section, flags=64, args=[name="input_forced_manga_reader", flags="allow-hide-cursor+allow-vo-dragging"]
[   0.016][d][cplayer] Run command: disable-section, flags=64, args=[name="showhide"]
[   0.016][v][cplayer] Done loading scripts.
[   0.017][v][vo/gpu] Probing for best GPU context.
[   0.017][v][vo/gpu/d3d11] Initializing GPU context 'd3d11'
[   0.028][v][vo/gpu/d3d11] Using Direct3D 11 feature level 11_1
[   0.028][v][vo/gpu/d3d11] Device Name: Intel(R) HD Graphics 4600
[   0.028][v][vo/gpu/d3d11] Device ID: 8086:0412 (rev 06)
[   0.028][v][vo/gpu/d3d11] Subsystem ID: 1043:8534
[   0.028][v][vo/gpu/d3d11] LUID: 000000000000bc0d
[   0.028][v][vo/gpu/d3d11] Initializing SPIR-V compiler 'shaderc'
[   0.028][v][vo/gpu/d3d11] Using Direct3D 11.1 runtime
[   0.028][v][vo/gpu/d3d11] Maximum Texture2D size: 16384x16384
[   0.029][v][vo/gpu/d3d11] D3DCompiler version: 10.0.19041.868
[   0.050][v][vo/gpu/d3d11] Using DXGI 1.2+
[   0.050][v][vo/gpu/d3d11] Queried output: \\.\DISPLAY1, 1920x1200 @ 8 bits, colorspace: RGB_FULL_G22_NONE_P709 (0)
[   0.050][v][vo/gpu/d3d11] Selected swapchain format R8G8B8A8_UNORM (28), attempting to utilize it.
[   0.051][v][vo/gpu/d3d11] Selected swapchain color space RGB_FULL_G22_NONE_P709 (0), attempting to utilize it.
[   0.051][v][vo/gpu/d3d11] Swapchain capabilities for color space RGB_FULL_G22_NONE_P709 (0): normal: yes, overlay: no
[   0.051][v][vo/gpu/d3d11] Swapchain successfully configured to color space RGB_FULL_G22_NONE_P709 (0)!
[   0.051][v][vo/gpu/d3d11] Using flip-model presentation
[   0.051][d][vo/gpu/d3d11] Texture formats:
[   0.051][d][vo/gpu/d3d11]   NAME       COMP*TYPE SIZE           DEPTH PER COMP.
[   0.051][d][vo/gpu/d3d11]   r8         1*unorm   1B    LF CR ST {8}
[   0.051][d][vo/gpu/d3d11]   rg8        2*unorm   2B    LF CR ST {8 8}
[   0.051][d][vo/gpu/d3d11]   rgba8      4*unorm   4B    LF CR ST {8 8 8 8}
[   0.051][d][vo/gpu/d3d11]   r16        1*unorm   2B    LF CR ST {16}
[   0.051][d][vo/gpu/d3d11]   rg16       2*unorm   4B    LF CR ST {16 16}
[   0.051][d][vo/gpu/d3d11]   rgba16     4*unorm   8B    LF CR ST {16 16 16 16}
[   0.051][d][vo/gpu/d3d11]   r32ui      1*uint    4B          ST {32}
[   0.051][d][vo/gpu/d3d11]   rg32ui     2*uint    8B          ST {32 32}
[   0.051][d][vo/gpu/d3d11]   rgb32ui    3*uint   12B             {32 32 32}
[   0.051][d][vo/gpu/d3d11]   rgba32ui   4*uint   16B          ST {32 32 32 32}
[   0.051][d][vo/gpu/d3d11]   r16hf      1*float   2B    LF CR ST {16}
[   0.051][d][vo/gpu/d3d11]   rg16hf     2*float   4B    LF CR ST {16 16}
[   0.051][d][vo/gpu/d3d11]   rgba16hf   4*float   8B    LF CR ST {16 16 16 16}
[   0.051][d][vo/gpu/d3d11]   r32f       1*float   4B    LF CR ST {32}
[   0.051][d][vo/gpu/d3d11]   rg32f      2*float   8B    LF CR ST {32 32}
[   0.052][d][vo/gpu/d3d11]   rgb32f     3*float  12B    LF       {32 32 32}
[   0.052][d][vo/gpu/d3d11]   rgba32f    4*float  16B    LF CR ST {32 32 32 32}
[   0.052][d][vo/gpu/d3d11]   rgb10_a2   4*unorm   4B    LF CR ST {10 10 10 2}
[   0.052][d][vo/gpu/d3d11]   bgra8      4*unorm   4B    LF CR    {8 8 8 8}
[   0.052][d][vo/gpu/d3d11]   bgrx8      3*unorm   4B    LF CR    {8 8 8}
[   0.052][d][vo/gpu/d3d11]  LA = LUMINANCE_ALPHA hack format
[   0.052][d][vo/gpu/d3d11]  LF = linear filterable
[   0.052][d][vo/gpu/d3d11]  CR = can be used for render targets
[   0.052][d][vo/gpu/d3d11]  ST = can be used for storable images
[   0.052][d][vo/gpu/d3d11] Image formats:
[   0.052][d][vo/gpu/d3d11]   yuv444p => 3 planes 1x1 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.052][d][vo/gpu/d3d11]   yuv420p => 3 planes 2x2 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.052][d][vo/gpu/d3d11]   gray => 1 planes 1x1 8/0 [r8] (r) [unorm]
[   0.052][d][vo/gpu/d3d11]   gray16 => 1 planes 1x1 16/0 [r16] (r) [unorm]
[   0.052][d][vo/gpu/d3d11]   uyvy422
[   0.052][d][vo/gpu/d3d11]   nv12 => 2 planes 2x2 8/0 [r8/rg8] (r/gb) [unorm]
[   0.052][d][vo/gpu/d3d11]   p010 => 2 planes 2x2 16/6 [r16/rg16] (r/gb) [unorm]
[   0.052][d][vo/gpu/d3d11]   argb => 1 planes 1x1 8/0 [rgba8] (argb) [unorm]
[   0.052][d][vo/gpu/d3d11]   bgra => 1 planes 1x1 8/0 [rgba8] (bgra) [unorm]
[   0.052][d][vo/gpu/d3d11]   abgr => 1 planes 1x1 8/0 [rgba8] (abgr) [unorm]
[   0.052][d][vo/gpu/d3d11]   rgba => 1 planes 1x1 8/0 [rgba8] (rgba) [unorm]
[   0.052][d][vo/gpu/d3d11]   bgr24
[   0.052][d][vo/gpu/d3d11]   rgb24
[   0.052][d][vo/gpu/d3d11]   0rgb => 1 planes 1x1 8/0 [rgba8] (_rgb) [unorm]
[   0.052][d][vo/gpu/d3d11]   bgr0 => 1 planes 1x1 8/0 [rgba8] (bgr) [unorm]
[   0.052][d][vo/gpu/d3d11]   0bgr => 1 planes 1x1 8/0 [rgba8] (_bgr) [unorm]
[   0.052][d][vo/gpu/d3d11]   rgb0 => 1 planes 1x1 8/0 [rgba8] (rgb) [unorm]
[   0.052][d][vo/gpu/d3d11]   rgba64 => 1 planes 1x1 16/0 [rgba16] (rgba) [unorm]
[   0.052][d][vo/gpu/d3d11]   rgb565
[   0.052][d][vo/gpu/d3d11]   pal8
[   0.052][d][vo/gpu/d3d11]   vdpau
[   0.052][d][vo/gpu/d3d11]   d3d11
[   0.052][d][vo/gpu/d3d11]   dxva2_vld
[   0.052][d][vo/gpu/d3d11]   mmal
[   0.052][d][vo/gpu/d3d11]   mediacodec
[   0.052][d][vo/gpu/d3d11]   drm_prime
[   0.052][d][vo/gpu/d3d11]   cuda
[   0.052][d][vo/gpu/d3d11]   yap8 => 2 planes 1x1 8/0 [r8/r8] (r/a) [unorm]
[   0.052][d][vo/gpu/d3d11]   yap16 => 2 planes 1x1 16/0 [r16/r16] (r/a) [unorm]
[   0.052][d][vo/gpu/d3d11]   grayaf32 => 2 planes 1x1 32/0 [r32f/r32f] (r/a) [float]
[   0.052][d][vo/gpu/d3d11]   yuv444pf => 3 planes 1x1 32/0 [r32f/r32f/r32f] (r/g/b) [float]
[   0.052][d][vo/gpu/d3d11]   yuva444pf => 4 planes 1x1 32/0 [r32f/r32f/r32f/r32f] (r/g/b/a) [float]
[   0.052][d][vo/gpu/d3d11]   yuv420pf => 3 planes 2x2 32/0 [r32f/r32f/r32f] (r/g/b) [float]
[   0.052][d][vo/gpu/d3d11]   yuva420pf => 4 planes 2x2 32/0 [r32f/r32f/r32f/r32f] (r/g/b/a) [float]
[   0.052][d][vo/gpu/d3d11]   yuv422pf => 3 planes 2x1 32/0 [r32f/r32f/r32f] (r/g/b) [float]
[   0.052][d][vo/gpu/d3d11]   yuva422pf => 4 planes 2x1 32/0 [r32f/r32f/r32f/r32f] (r/g/b/a) [float]
[   0.052][d][vo/gpu/d3d11]   yuv440pf => 3 planes 1x2 32/0 [r32f/r32f/r32f] (r/g/b) [float]
[   0.052][d][vo/gpu/d3d11]   yuva440pf => 4 planes 1x2 32/0 [r32f/r32f/r32f/r32f] (r/g/b/a) [float]
[   0.052][d][vo/gpu/d3d11]   yuv410pf => 3 planes 4x4 32/0 [r32f/r32f/r32f] (r/g/b) [float]
[   0.052][d][vo/gpu/d3d11]   yuva410pf => 4 planes 4x4 32/0 [r32f/r32f/r32f/r32f] (r/g/b/a) [float]
[   0.052][d][vo/gpu/d3d11]   yuv411pf => 3 planes 4x1 32/0 [r32f/r32f/r32f] (r/g/b) [float]
[   0.052][d][vo/gpu/d3d11]   yuva411pf => 4 planes 4x1 32/0 [r32f/r32f/r32f/r32f] (r/g/b/a) [float]
[   0.052][d][vo/gpu/d3d11]   rgb30
[   0.052][d][vo/gpu/d3d11]   y1 => 1 planes 1x1 8/-7 [r8] (r) [unorm]
[   0.052][d][vo/gpu/d3d11]   gbrp1 => 3 planes 1x1 8/-7 [r8/r8/r8] (g/b/r) [unorm]
[   0.052][d][vo/gpu/d3d11]   gbrp2 => 3 planes 1x1 8/-6 [r8/r8/r8] (g/b/r) [unorm]
[   0.052][d][vo/gpu/d3d11]   gbrp3 => 3 planes 1x1 8/-5 [r8/r8/r8] (g/b/r) [unorm]
[   0.052][d][vo/gpu/d3d11]   gbrp4 => 3 planes 1x1 8/-4 [r8/r8/r8] (g/b/r) [unorm]
[   0.052][d][vo/gpu/d3d11]   gbrp5 => 3 planes 1x1 8/-3 [r8/r8/r8] (g/b/r) [unorm]
[   0.052][d][vo/gpu/d3d11]   gbrp6 => 3 planes 1x1 8/-2 [r8/r8/r8] (g/b/r) [unorm]
[   0.052][d][vo/gpu/d3d11]   vdpau_output
[   0.052][d][vo/gpu/d3d11]   vaapi
[   0.052][d][vo/gpu/d3d11]   videotoolbox
[   0.052][d][vo/gpu/d3d11]   yuyv422
[   0.052][d][vo/gpu/d3d11]   yuv422p => 3 planes 2x1 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.052][d][vo/gpu/d3d11]   yuv410p => 3 planes 4x4 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.052][d][vo/gpu/d3d11]   yuv411p => 3 planes 4x1 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.052][d][vo/gpu/d3d11]   monow
[   0.052][d][vo/gpu/d3d11]   monob
[   0.052][d][vo/gpu/d3d11]   yuvj422p => 3 planes 2x1 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.052][d][vo/gpu/d3d11]   uyyvyy411
[   0.052][d][vo/gpu/d3d11]   bgr8
[   0.052][d][vo/gpu/d3d11]   bgr4
[   0.052][d][vo/gpu/d3d11]   bgr4_byte
[   0.052][d][vo/gpu/d3d11]   rgb8
[   0.052][d][vo/gpu/d3d11]   rgb4
[   0.052][d][vo/gpu/d3d11]   rgb4_byte
[   0.052][d][vo/gpu/d3d11]   nv21 => 2 planes 2x2 8/0 [r8/rg8] (r/bg) [unorm]
[   0.052][d][vo/gpu/d3d11]   gray16be
[   0.052][d][vo/gpu/d3d11]   yuv440p => 3 planes 1x2 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.052][d][vo/gpu/d3d11]   yuvj440p => 3 planes 1x2 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.052][d][vo/gpu/d3d11]   yuva420p => 4 planes 2x2 8/0 [r8/r8/r8/r8] (r/g/b/a) [unorm]
[   0.052][d][vo/gpu/d3d11]   rgb48be
[   0.052][d][vo/gpu/d3d11]   rgb48
[   0.052][d][vo/gpu/d3d11]   rgb565be
[   0.052][d][vo/gpu/d3d11]   rgb555be
[   0.052][d][vo/gpu/d3d11]   rgb555
[   0.052][d][vo/gpu/d3d11]   bgr565be
[   0.052][d][vo/gpu/d3d11]   bgr565
[   0.052][d][vo/gpu/d3d11]   bgr555be
[   0.052][d][vo/gpu/d3d11]   bgr555
[   0.052][d][vo/gpu/d3d11]   yuv420p16 => 3 planes 2x2 16/0 [r16/r16/r16] (r/g/b) [unorm]
[   0.052][d][vo/gpu/d3d11]   yuv420p16be
[   0.052][d][vo/gpu/d3d11]   yuv422p16 => 3 planes 2x1 16/0 [r16/r16/r16] (r/g/b) [unorm]
[   0.052][d][vo/gpu/d3d11]   yuv422p16be
[   0.052][d][vo/gpu/d3d11]   yuv444p16 => 3 planes 1x1 16/0 [r16/r16/r16] (r/g/b) [unorm]
[   0.052][d][vo/gpu/d3d11]   yuv444p16be
[   0.052][d][vo/gpu/d3d11]   rgb444
[   0.052][d][vo/gpu/d3d11]   rgb444be
[   0.052][d][vo/gpu/d3d11]   bgr444
[   0.052][d][vo/gpu/d3d11]   bgr444be
[   0.052][d][vo/gpu/d3d11]   ya8 => 1 planes 1x1 8/0 [rg8] (ra) [unorm]
[   0.052][d][vo/gpu/d3d11]   bgr48be
[   0.052][d][vo/gpu/d3d11]   bgr48
[   0.052][d][vo/gpu/d3d11]   yuv420p9be
[   0.052][d][vo/gpu/d3d11]   yuv420p9 => 3 planes 2x2 16/-7 [r16/r16/r16] (r/g/b) [unorm]
[   0.052][d][vo/gpu/d3d11]   yuv420p10be
[   0.052][d][vo/gpu/d3d11]   yuv420p10 => 3 planes 2x2 16/-6 [r16/r16/r16] (r/g/b) [unorm]
[   0.052][d][vo/gpu/d3d11]   yuv422p10be
[   0.052][d][vo/gpu/d3d11]   yuv422p10 => 3 planes 2x1 16/-6 [r16/r16/r16] (r/g/b) [unorm]
[   0.053][d][vo/gpu/d3d11]   yuv444p9be
[   0.053][d][vo/gpu/d3d11]   yuv444p9 => 3 planes 1x1 16/-7 [r16/r16/r16] (r/g/b) [unorm]
[   0.053][d][vo/gpu/d3d11]   yuv444p10be
[   0.053][d][vo/gpu/d3d11]   yuv444p10 => 3 planes 1x1 16/-6 [r16/r16/r16] (r/g/b) [unorm]
[   0.053][d][vo/gpu/d3d11]   yuv422p9be
[   0.053][d][vo/gpu/d3d11]   yuv422p9 => 3 planes 2x1 16/-7 [r16/r16/r16] (r/g/b) [unorm]
[   0.053][d][vo/gpu/d3d11]   gbrp => 3 planes 1x1 8/0 [r8/r8/r8] (g/b/r) [unorm]
[   0.053][d][vo/gpu/d3d11]   gbrp9be
[   0.053][d][vo/gpu/d3d11]   gbrp9 => 3 planes 1x1 16/-7 [r16/r16/r16] (g/b/r) [unorm]
[   0.053][d][vo/gpu/d3d11]   gbrp10be
[   0.053][d][vo/gpu/d3d11]   gbrp10 => 3 planes 1x1 16/-6 [r16/r16/r16] (g/b/r) [unorm]
[   0.053][d][vo/gpu/d3d11]   gbrp16be
[   0.053][d][vo/gpu/d3d11]   gbrp16 => 3 planes 1x1 16/0 [r16/r16/r16] (g/b/r) [unorm]
[   0.053][d][vo/gpu/d3d11]   yuva422p => 4 planes 2x1 8/0 [r8/r8/r8/r8] (r/g/b/a) [unorm]
[   0.053][d][vo/gpu/d3d11]   yuva444p => 4 planes 1x1 8/0 [r8/r8/r8/r8] (r/g/b/a) [unorm]
[   0.053][d][vo/gpu/d3d11]   yuva420p9be
[   0.053][d][vo/gpu/d3d11]   yuva420p9 => 4 planes 2x2 16/-7 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.053][d][vo/gpu/d3d11]   yuva422p9be
[   0.053][d][vo/gpu/d3d11]   yuva422p9 => 4 planes 2x1 16/-7 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.053][d][vo/gpu/d3d11]   yuva444p9be
[   0.053][d][vo/gpu/d3d11]   yuva444p9 => 4 planes 1x1 16/-7 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.053][d][vo/gpu/d3d11]   yuva420p10be
[   0.053][d][vo/gpu/d3d11]   yuva420p10 => 4 planes 2x2 16/-6 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.053][d][vo/gpu/d3d11]   yuva422p10be
[   0.053][d][vo/gpu/d3d11]   yuva422p10 => 4 planes 2x1 16/-6 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.053][d][vo/gpu/d3d11]   yuva444p10be
[   0.053][d][vo/gpu/d3d11]   yuva444p10 => 4 planes 1x1 16/-6 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.053][d][vo/gpu/d3d11]   yuva420p16be
[   0.053][d][vo/gpu/d3d11]   yuva420p16 => 4 planes 2x2 16/0 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.053][d][vo/gpu/d3d11]   yuva422p16be
[   0.053][d][vo/gpu/d3d11]   yuva422p16 => 4 planes 2x1 16/0 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.053][d][vo/gpu/d3d11]   yuva444p16be
[   0.053][d][vo/gpu/d3d11]   yuva444p16 => 4 planes 1x1 16/0 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.053][d][vo/gpu/d3d11]   xyz12
[   0.053][d][vo/gpu/d3d11]   xyz12be
[   0.053][d][vo/gpu/d3d11]   nv16 => 2 planes 2x1 8/0 [r8/rg8] (r/gb) [unorm]
[   0.053][d][vo/gpu/d3d11]   nv20 => 2 planes 2x1 16/-6 [r16/rg16] (r/gb) [unorm]
[   0.053][d][vo/gpu/d3d11]   nv20be
[   0.053][d][vo/gpu/d3d11]   rgba64be
[   0.053][d][vo/gpu/d3d11]   bgra64be
[   0.053][d][vo/gpu/d3d11]   bgra64 => 1 planes 1x1 16/0 [rgba16] (bgra) [unorm]
[   0.053][d][vo/gpu/d3d11]   yvyu422
[   0.053][d][vo/gpu/d3d11]   ya16be
[   0.053][d][vo/gpu/d3d11]   ya16 => 1 planes 1x1 16/0 [rg16] (ra) [unorm]
[   0.053][d][vo/gpu/d3d11]   gbrap => 4 planes 1x1 8/0 [r8/r8/r8/r8] (g/b/r/a) [unorm]
[   0.053][d][vo/gpu/d3d11]   gbrap16be
[   0.053][d][vo/gpu/d3d11]   gbrap16 => 4 planes 1x1 16/0 [r16/r16/r16/r16] (g/b/r/a) [unorm]
[   0.053][d][vo/gpu/d3d11]   qsv
[   0.053][d][vo/gpu/d3d11]   d3d11va_vld
[   0.053][d][vo/gpu/d3d11]   yuv420p12be
[   0.053][d][vo/gpu/d3d11]   yuv420p12 => 3 planes 2x2 16/-4 [r16/r16/r16] (r/g/b) [unorm]
[   0.053][d][vo/gpu/d3d11]   yuv420p14be
[   0.053][d][vo/gpu/d3d11]   yuv420p14 => 3 planes 2x2 16/-2 [r16/r16/r16] (r/g/b) [unorm]
[   0.053][d][vo/gpu/d3d11]   yuv422p12be
[   0.053][d][vo/gpu/d3d11]   yuv422p12 => 3 planes 2x1 16/-4 [r16/r16/r16] (r/g/b) [unorm]
[   0.053][d][vo/gpu/d3d11]   yuv422p14be
[   0.053][d][vo/gpu/d3d11]   yuv422p14 => 3 planes 2x1 16/-2 [r16/r16/r16] (r/g/b) [unorm]
[   0.053][d][vo/gpu/d3d11]   yuv444p12be
[   0.053][d][vo/gpu/d3d11]   yuv444p12 => 3 planes 1x1 16/-4 [r16/r16/r16] (r/g/b) [unorm]
[   0.053][d][vo/gpu/d3d11]   yuv444p14be
[   0.053][d][vo/gpu/d3d11]   yuv444p14 => 3 planes 1x1 16/-2 [r16/r16/r16] (r/g/b) [unorm]
[   0.053][d][vo/gpu/d3d11]   gbrp12be
[   0.053][d][vo/gpu/d3d11]   gbrp12 => 3 planes 1x1 16/-4 [r16/r16/r16] (g/b/r) [unorm]
[   0.053][d][vo/gpu/d3d11]   gbrp14be
[   0.053][d][vo/gpu/d3d11]   gbrp14 => 3 planes 1x1 16/-2 [r16/r16/r16] (g/b/r) [unorm]
[   0.053][d][vo/gpu/d3d11]   yuvj411p => 3 planes 4x1 8/0 [r8/r8/r8] (r/g/b) [unorm]
[   0.053][d][vo/gpu/d3d11]   bayer_bggr8
[   0.053][d][vo/gpu/d3d11]   bayer_rggb8
[   0.053][d][vo/gpu/d3d11]   bayer_gbrg8
[   0.053][d][vo/gpu/d3d11]   bayer_grbg8
[   0.053][d][vo/gpu/d3d11]   bayer_bggr16
[   0.053][d][vo/gpu/d3d11]   bayer_bggr16be
[   0.053][d][vo/gpu/d3d11]   bayer_rggb16
[   0.053][d][vo/gpu/d3d11]   bayer_rggb16be
[   0.053][d][vo/gpu/d3d11]   bayer_gbrg16
[   0.053][d][vo/gpu/d3d11]   bayer_gbrg16be
[   0.053][d][vo/gpu/d3d11]   bayer_grbg16
[   0.053][d][vo/gpu/d3d11]   bayer_grbg16be
[   0.053][d][vo/gpu/d3d11]   xvmc
[   0.053][d][vo/gpu/d3d11]   yuv440p10 => 3 planes 1x2 16/-6 [r16/r16/r16] (r/g/b) [unorm]
[   0.053][d][vo/gpu/d3d11]   yuv440p10be
[   0.053][d][vo/gpu/d3d11]   yuv440p12 => 3 planes 1x2 16/-4 [r16/r16/r16] (r/g/b) [unorm]
[   0.053][d][vo/gpu/d3d11]   yuv440p12be
[   0.053][d][vo/gpu/d3d11]   ayuv64 => 1 planes 1x1 16/0 [rgba16] (argb) [unorm]
[   0.053][d][vo/gpu/d3d11]   ayuv64be
[   0.053][d][vo/gpu/d3d11]   p010be
[   0.053][d][vo/gpu/d3d11]   gbrap12be
[   0.053][d][vo/gpu/d3d11]   gbrap12 => 4 planes 1x1 16/-4 [r16/r16/r16/r16] (g/b/r/a) [unorm]
[   0.053][d][vo/gpu/d3d11]   gbrap10be
[   0.053][d][vo/gpu/d3d11]   gbrap10 => 4 planes 1x1 16/-6 [r16/r16/r16/r16] (g/b/r/a) [unorm]
[   0.053][d][vo/gpu/d3d11]   gray12be
[   0.053][d][vo/gpu/d3d11]   gray12 => 1 planes 1x1 16/-4 [r16] (r) [unorm]
[   0.053][d][vo/gpu/d3d11]   gray10be
[   0.053][d][vo/gpu/d3d11]   gray10 => 1 planes 1x1 16/-6 [r16] (r) [unorm]
[   0.053][d][vo/gpu/d3d11]   p016 => 2 planes 2x2 16/0 [r16/rg16] (r/gb) [unorm]
[   0.053][d][vo/gpu/d3d11]   p016be
[   0.053][d][vo/gpu/d3d11]   gray9be
[   0.053][d][vo/gpu/d3d11]   gray9 => 1 planes 1x1 16/-7 [r16] (r) [unorm]
[   0.053][d][vo/gpu/d3d11]   gbrpf32be
[   0.053][d][vo/gpu/d3d11]   gbrpf32 => 3 planes 1x1 32/0 [r32f/r32f/r32f] (g/b/r) [float]
[   0.053][d][vo/gpu/d3d11]   gbrapf32be
[   0.053][d][vo/gpu/d3d11]   gbrapf32 => 4 planes 1x1 32/0 [r32f/r32f/r32f/r32f] (g/b/r/a) [float]
[   0.053][d][vo/gpu/d3d11]   opencl
[   0.053][d][vo/gpu/d3d11]   gray14be
[   0.053][d][vo/gpu/d3d11]   gray14 => 1 planes 1x1 16/-2 [r16] (r) [unorm]
[   0.053][d][vo/gpu/d3d11]   grayf32be
[   0.053][d][vo/gpu/d3d11]   grayf32 => 1 planes 1x1 32/0 [r32f] (r) [float]
[   0.053][d][vo/gpu/d3d11]   yuva422p12be
[   0.053][d][vo/gpu/d3d11]   yuva422p12 => 4 planes 2x1 16/-4 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.053][d][vo/gpu/d3d11]   yuva444p12be
[   0.053][d][vo/gpu/d3d11]   yuva444p12 => 4 planes 1x1 16/-4 [r16/r16/r16/r16] (r/g/b/a) [unorm]
[   0.053][d][vo/gpu/d3d11]   nv24 => 2 planes 1x1 8/0 [r8/rg8] (r/gb) [unorm]
[   0.053][d][vo/gpu/d3d11]   nv42 => 2 planes 1x1 8/0 [r8/rg8] (r/bg) [unorm]
[   0.053][d][vo/gpu/d3d11]   vulkan
[   0.053][d][vo/gpu/d3d11]   y210be
[   0.053][d][vo/gpu/d3d11]   y210
[   0.054][d][vo/gpu/d3d11]   x2rgb10be
[   0.054][d][vo/gpu/d3d11]   x2bgr10
[   0.054][d][vo/gpu/d3d11]   x2bgr10be
[   0.054][d][vo/gpu/d3d11]   p210be
[   0.054][d][vo/gpu/d3d11]   p210 => 2 planes 2x1 16/6 [r16/rg16] (r/gb) [unorm]
[   0.054][d][vo/gpu/d3d11]   p410be
[   0.054][d][vo/gpu/d3d11]   p410 => 2 planes 1x1 16/6 [r16/rg16] (r/gb) [unorm]
[   0.054][d][vo/gpu/d3d11]   p216be
[   0.054][d][vo/gpu/d3d11]   p216 => 2 planes 2x1 16/0 [r16/rg16] (r/gb) [unorm]
[   0.054][d][vo/gpu/d3d11]   p416be
[   0.054][d][vo/gpu/d3d11]   p416 => 2 planes 1x1 16/0 [r16/rg16] (r/gb) [unorm]
[   0.054][v][vo/gpu] Testing FBO format rgba16hf
[   0.054][d][vo/gpu] Resizing texture: 16x16
[   0.054][v][vo/gpu] Using FBO format rgba16hf.
[   0.054][v][vo/gpu] No advanced processing required. Enabling dumb mode.
[   0.054][v][vo/gpu/win32] DPI detected from the new API: 96
[   0.054][v][vo/gpu/win32] display-fps: 60.010121
[   0.074][v][vo/gpu/win32] color-profile: C:\WINDOWS\system32\spool\drivers\color\CalibratedDisplayProfile-2.icc
[   0.074][v][vo/gpu] Assuming 60.010121 FPS for display sync.
[   0.074][v][vo/gpu] reconfig to 960x480 yuv444p auto/auto/auto/auto/auto CL=unknown
[   0.074][d][vo/gpu] max content size: 1843x1161
[   0.074][d][vo/gpu] monitor size: 1920x1200
[   0.074][v][vo/gpu/win32] reset window bounds: 449:371:960:480
[   0.075][d][vo/gpu/win32] move window: 449:371
[   0.075][v][vo/gpu/win32] resize window: 960:480
[   0.082][v][vo/gpu/win32] resize window: 960:480
[   0.082][d][vo/gpu/win32] move window: 449:371
[   0.083][v][vo/gpu] Resize: 960x480
[   0.083][v][vo/gpu] Window size: 960x480 (Borders: l=0 t=0 r=0 b=0)
[   0.083][v][vo/gpu] Video source: 960x480 (1:1)
[   0.083][v][vo/gpu] Video display: (0, 0) 960x480 -> (0, 0) 960x480
[   0.083][v][vo/gpu] Video scale: 1.000000/1.000000
[   0.083][v][vo/gpu] OSD borders: l=0 t=0 r=0 b=0
[   0.083][v][vo/gpu] Video borders: l=0 t=0 r=0 b=0
[   0.083][v][vo/gpu] Reported display depth: 8
[   0.083][v][vo/gpu] Texture for plane 0: 960x480
[   0.083][v][vo/gpu] Texture for plane 1: 960x480
[   0.083][v][vo/gpu] Texture for plane 2: 960x480
[   0.083][v][vo/gpu] Testing FBO format rgba16hf
[   0.083][d][vo/gpu] Resizing texture: 16x16
[   0.083][v][vo/gpu] Using FBO format rgba16hf.
[   0.083][v][vo/gpu] No advanced processing required. Enabling dumb mode.
[   0.085][v][vo/gpu] Resize: 960x480
[   0.085][v][vo/gpu] Window size: 960x480 (Borders: l=0 t=0 r=0 b=0)
[   0.085][v][vo/gpu] Video source: 960x480 (1:1)
[   0.085][v][vo/gpu] Video display: (0, 0) 960x480 -> (0, 0) 960x480
[   0.085][v][vo/gpu] Video scale: 1.000000/1.000000
[   0.085][v][vo/gpu] OSD borders: l=0 t=0 r=0 b=0
[   0.085][v][vo/gpu] Video borders: l=0 t=0 r=0 b=0
[   0.085][v][vo/gpu] Reported display depth: 8
[   0.094][v][osd/libass] fontselect: (sans-serif, 400, 0) -> ArialMT, 0, ArialMT
[   0.097][v][vo/gpu] Reallocating OSD texture to 512x256.
[   0.213][v][vo/gpu/d3d11] shaderc compile status 'success' (0 errors, 0 warnings)
[   0.216][v][vo/gpu/d3d11] Compiled a vertex shader in 118205us
[   0.216][v][vo/gpu/d3d11] shaderc: 115426us, SPIRV-Cross: 513us, D3DCompile: 2266us
[   0.216][d][vo/gpu/d3d11] GLSL source:
[   0.216][d][vo/gpu/d3d11] [  1] #version 450
[   0.216][d][vo/gpu/d3d11] [  2] #define tex1D texture
[   0.216][d][vo/gpu/d3d11] [  3] #define tex3D texture
[   0.216][d][vo/gpu/d3d11] [  4] #define LUT_POS(x, lut_size) mix(0.5 / (lut_size), 1.0 - 0.5 / (lut_size), (x))
[   0.216][d][vo/gpu/d3d11] [  5] layout(location=0) in vec2 vertex_position;
[   0.216][d][vo/gpu/d3d11] [  6] layout(location=1) in vec2 vertex_texcoord;
[   0.216][d][vo/gpu/d3d11] [  7] layout(location=1) out vec2 texcoord;
[   0.216][d][vo/gpu/d3d11] [  8] layout(location=2) in vec4 vertex_ass_color;
[   0.216][d][vo/gpu/d3d11] [  9] layout(location=2) out vec4 ass_color;
[   0.216][d][vo/gpu/d3d11] [ 10] void main() {
[   0.216][d][vo/gpu/d3d11] [ 11] gl_Position = vec4(vertex_position, 1.0, 1.0);
[   0.216][d][vo/gpu/d3d11] [ 12] texcoord = vertex_texcoord;
[   0.216][d][vo/gpu/d3d11] [ 13] ass_color = vertex_ass_color;
[   0.216][d][vo/gpu/d3d11] [ 14] }
[   0.216][d][vo/gpu/d3d11] HLSL source:
[   0.216][d][vo/gpu/d3d11] [  1] static float4 gl_Position;
[   0.216][d][vo/gpu/d3d11] [  2] static float2 _18;
[   0.216][d][vo/gpu/d3d11] [  3] static float2 _27;
[   0.216][d][vo/gpu/d3d11] [  4] static float2 _28;
[   0.216][d][vo/gpu/d3d11] [  5] static float4 _30;
[   0.216][d][vo/gpu/d3d11] [  6] static float4 _32;
[   0.216][d][vo/gpu/d3d11] [  7] 
[   0.216][d][vo/gpu/d3d11] [  8] struct SPIRV_Cross_Input
[   0.216][d][vo/gpu/d3d11] [  9] {
[   0.216][d][vo/gpu/d3d11] [ 10]     float2 _18 : TEXCOORD0;
[   0.216][d][vo/gpu/d3d11] [ 11]     float2 _28 : TEXCOORD1;
[   0.216][d][vo/gpu/d3d11] [ 12]     float4 _32 : TEXCOORD2;
[   0.216][d][vo/gpu/d3d11] [ 13] };
[   0.216][d][vo/gpu/d3d11] [ 14] 
[   0.216][d][vo/gpu/d3d11] [ 15] struct SPIRV_Cross_Output
[   0.216][d][vo/gpu/d3d11] [ 16] {
[   0.216][d][vo/gpu/d3d11] [ 17]     float2 _27 : TEXCOORD1;
[   0.216][d][vo/gpu/d3d11] [ 18]     float4 _30 : TEXCOORD2;
[   0.216][d][vo/gpu/d3d11] [ 19]     float4 gl_Position : SV_Position;
[   0.216][d][vo/gpu/d3d11] [ 20] };
[   0.216][d][vo/gpu/d3d11] [ 21] 
[   0.216][d][vo/gpu/d3d11] [ 22] void vert_main()
[   0.216][d][vo/gpu/d3d11] [ 23] {
[   0.216][d][vo/gpu/d3d11] [ 24]     gl_Position = float4(_18, 1.0f, 1.0f);
[   0.216][d][vo/gpu/d3d11] [ 25]     _27 = _28;
[   0.216][d][vo/gpu/d3d11] [ 26]     _30 = _32;
[   0.216][d][vo/gpu/d3d11] [ 27]     gl_Position.y = -gl_Position.y;
[   0.216][d][vo/gpu/d3d11] [ 28] }
[   0.216][d][vo/gpu/d3d11] [ 29] 
[   0.216][d][vo/gpu/d3d11] [ 30] SPIRV_Cross_Output main(SPIRV_Cross_Input stage_input)
[   0.216][d][vo/gpu/d3d11] [ 31] {
[   0.216][d][vo/gpu/d3d11] [ 32]     _18 = stage_input._18;
[   0.216][d][vo/gpu/d3d11] [ 33]     _28 = stage_input._28;
[   0.216][d][vo/gpu/d3d11] [ 34]     _32 = stage_input._32;
[   0.216][d][vo/gpu/d3d11] [ 35]     vert_main();
[   0.216][d][vo/gpu/d3d11] [ 36]     SPIRV_Cross_Output stage_output;
[   0.216][d][vo/gpu/d3d11] [ 37]     stage_output.gl_Position = gl_Position;
[   0.216][d][vo/gpu/d3d11] [ 38]     stage_output._27 = _27;
[   0.216][d][vo/gpu/d3d11] [ 39]     stage_output._30 = _30;
[   0.216][d][vo/gpu/d3d11] [ 40]     return stage_output;
[   0.216][d][vo/gpu/d3d11] [ 41] }
[   0.219][v][vo/gpu/d3d11] shaderc compile status 'success' (0 errors, 0 warnings)
[   0.221][v][vo/gpu/d3d11] Compiled a fragment shader in 5051us
[   0.221][v][vo/gpu/d3d11] shaderc: 2850us, SPIRV-Cross: 164us, D3DCompile: 2037us
[   0.221][d][vo/gpu/d3d11] GLSL source:
[   0.221][d][vo/gpu/d3d11] [  1] #version 450
[   0.221][d][vo/gpu/d3d11] [  2] #define tex1D texture
[   0.221][d][vo/gpu/d3d11] [  3] #define tex3D texture
[   0.221][d][vo/gpu/d3d11] [  4] #define LUT_POS(x, lut_size) mix(0.5 / (lut_size), 1.0 - 0.5 / (lut_size), (x))
[   0.221][d][vo/gpu/d3d11] [  5] layout(location=0) out vec4 out_color;
[   0.221][d][vo/gpu/d3d11] [  6] layout(location=1) in vec2 texcoord;
[   0.221][d][vo/gpu/d3d11] [  7] layout(location=2) in vec4 ass_color;
[   0.221][d][vo/gpu/d3d11] [  8] layout(std140, binding=0) uniform UBO {
[   0.221][d][vo/gpu/d3d11] [  9] layout(offset=0) vec3 src_luma;
[   0.221][d][vo/gpu/d3d11] [ 10] layout(offset=16) vec3 dst_luma;
[   0.221][d][vo/gpu/d3d11] [ 11] };
[   0.221][d][vo/gpu/d3d11] [ 12] layout(binding=0) uniform sampler2D osdtex;
[   0.221][d][vo/gpu/d3d11] [ 13] void main() {
[   0.221][d][vo/gpu/d3d11] [ 14] vec4 color = vec4(0.0, 0.0, 0.0, 1.0);
[   0.221][d][vo/gpu/d3d11] [ 15] color = vec4(ass_color.rgb, ass_color.a * texture(osdtex, texcoord).r);
[   0.221][d][vo/gpu/d3d11] [ 16] // color mapping
[   0.221][d][vo/gpu/d3d11] [ 17] color.rgb *= vec3(1.000000);
[   0.221][d][vo/gpu/d3d11] [ 18] color.rgb *= vec3(1.000000);
[   0.221][d][vo/gpu/d3d11] [ 19] out_color = color;
[   0.221][d][vo/gpu/d3d11] [ 20] }
[   0.221][d][vo/gpu/d3d11] HLSL source:
[   0.221][d][vo/gpu/d3d11] [  1] Texture2D<float4> _26 : register(t0);
[   0.221][d][vo/gpu/d3d11] [  2] SamplerState __26_sampler : register(s0);
[   0.221][d][vo/gpu/d3d11] [  3] 
[   0.221][d][vo/gpu/d3d11] [  4] static float4 _14;
[   0.221][d][vo/gpu/d3d11] [  5] static float2 _30;
[   0.221][d][vo/gpu/d3d11] [  6] static float4 _63;
[   0.221][d][vo/gpu/d3d11] [  7] 
[   0.221][d][vo/gpu/d3d11] [  8] struct SPIRV_Cross_Input
[   0.221][d][vo/gpu/d3d11] [  9] {
[   0.221][d][vo/gpu/d3d11] [ 10]     float2 _30 : TEXCOORD1;
[   0.221][d][vo/gpu/d3d11] [ 11]     float4 _14 : TEXCOORD2;
[   0.221][d][vo/gpu/d3d11] [ 12] };
[   0.221][d][vo/gpu/d3d11] [ 13] 
[   0.221][d][vo/gpu/d3d11] [ 14] struct SPIRV_Cross_Output
[   0.221][d][vo/gpu/d3d11] [ 15] {
[   0.221][d][vo/gpu/d3d11] [ 16]     float4 _63 : SV_Target0;
[   0.221][d][vo/gpu/d3d11] [ 17] };
[   0.222][d][vo/gpu/d3d11] [ 18] 
[   0.222][d][vo/gpu/d3d11] [ 19] void frag_main()
[   0.222][d][vo/gpu/d3d11] [ 20] {
[   0.222][d][vo/gpu/d3d11] [ 21]     float4 _75 = float4(_14.xyz, _14.w * _26.Sample(__26_sampler, _30).x);
[   0.222][d][vo/gpu/d3d11] [ 22]     _75.x = _14.x;
[   0.222][d][vo/gpu/d3d11] [ 23]     float4 _77 = _75;
[   0.222][d][vo/gpu/d3d11] [ 24]     _77.y = _14.y;
[   0.222][d][vo/gpu/d3d11] [ 25]     float4 _79 = _77;
[   0.222][d][vo/gpu/d3d11] [ 26]     _79.z = _14.z;
[   0.222][d][vo/gpu/d3d11] [ 27]     _63 = _79;
[   0.222][d][vo/gpu/d3d11] [ 28] }
[   0.222][d][vo/gpu/d3d11] [ 29] 
[   0.222][d][vo/gpu/d3d11] [ 30] SPIRV_Cross_Output main(SPIRV_Cross_Input stage_input)
[   0.222][d][vo/gpu/d3d11] [ 31] {
[   0.222][d][vo/gpu/d3d11] [ 32]     _14 = stage_input._14;
[   0.222][d][vo/gpu/d3d11] [ 33]     _30 = stage_input._30;
[   0.222][d][vo/gpu/d3d11] [ 34]     frag_main();
[   0.222][d][vo/gpu/d3d11] [ 35]     SPIRV_Cross_Output stage_output;
[   0.222][d][vo/gpu/d3d11] [ 36]     stage_output._63 = _63;
[   0.222][d][vo/gpu/d3d11] [ 37]     return stage_output;
[   0.222][d][vo/gpu/d3d11] [ 38] }
[   0.224][d][cplayer] Run command: disable-section, flags=64, args=[name="showhide_wc"]
[   0.225][d][cplayer] Run command: define-section, flags=64, args=[name="input_osc", contents="", flags="default"]
[   0.225][d][cplayer] Run command: enable-section, flags=64, args=[name="input_osc", flags="allow-hide-cursor+allow-vo-dragging"]
[   0.225][d][cplayer] Run command: define-section, flags=64, args=[name="input_forced_osc", contents="", flags="force"]
[   0.225][d][cplayer] Run command: enable-section, flags=64, args=[name="input_forced_osc", flags="allow-hide-cursor+allow-vo-dragging"]
[   0.515][d][global] config path: 'fonts' -/-> 'C:/Users/Ruyjin Parker/Desktop/MPV/portable_config/fonts'
[   0.515][d][osd/libass] ASS library version: 0x1502000 (runtime 0x1502000)
[   0.515][v][osd/libass] libass API version: 0x1502000
[   0.515][v][osd/libass] libass source: commit: 0d170d9a1d7e7fee948141eac988c1e6391dfc62
[   0.516][v][osd/libass] Shaper: FriBidi 1.0.11 (SIMPLE) HarfBuzz-ng 3.2.0 (COMPLEX)
[   0.516][d][global] config path: 'subfont.ttf' -/-> 'C:/Users/Ruyjin Parker/Desktop/MPV/portable_config/subfont.ttf'
[   0.516][d][global] config path: 'fonts.conf' -/-> 'C:/Users/Ruyjin Parker/Desktop/MPV/portable_config/fonts.conf'
[   0.516][v][osd/libass] Setting up fonts...
[   0.517][v][osd/libass] Using font provider directwrite (with GDI)
[   0.517][v][osd/libass] Done.
[   0.523][v][osd/libass] fontselect: (sans-serif, 400, 0) -> ArialMT, 0, ArialMT
[   0.524][v][vo/gpu] Reallocating OSD texture to 256x128.
[   6.891][w][input] No key binding found for key 'Ctrl+y'.
[   7.993][w][input] No key binding found for key 'Ctrl+Y'.
[   8.569][w][input] No key binding found for key 'Ctrl+Y'.
[   9.001][w][input] No key binding found for key 'Y'.
[   9.321][w][input] No key binding found for key 'Y'.
[   9.961][w][input] No key binding found for key 'Ctrl+Y'.
[  11.849][d][cplayer] Run command: cycle, flags=73, args=[name="deinterlace", value="1.000000"]
[  11.849][v][cplayer] Set property: deinterlace -> 1
[  12.345][d][cplayer] Run command: cycle, flags=73, args=[name="deinterlace", value="1.000000"]
[  12.345][v][cplayer] Set property: deinterlace -> 1
[  13.065][w][input] No key binding found for key 'Ctrl+d'.
[  13.465][w][input] No key binding found for key 'Ctrl+d'.
[  18.841][w][input] No key binding found for key 'Alt+d'.
[  20.329][w][input] No key binding found for key 'Ctrl+Alt+d'.
[  21.801][w][input] No key binding found for key 'Ctrl+Alt+d'.
[4023.915][w][input] No key binding found for key 'Ctrl+y'.
[4024.310][w][input] No key binding found for key 'Ctrl+y'.
[4024.710][w][input] No key binding found for key 'Ctrl+y'.
[4024.918][w][input] No key binding found for key 'Ctrl+y'.
[4026.936][d][cplayer] Run command: script-binding, flags=73, args=[name="manga_reader/toggle-reader"]
[4027.078][d][cplayer] Run command: script-binding, flags=73, args=[name="manga_reader/toggle-reader"]
[4027.238][d][cplayer] Run command: script-binding, flags=73, args=[name="manga_reader/toggle-reader"]
[4027.366][d][cplayer] Run command: script-binding, flags=73, args=[name="manga_reader/toggle-reader"]
[4027.638][d][cplayer] Run command: script-binding, flags=73, args=[name="manga_reader/toggle-reader"]
[4027.750][d][cplayer] Run command: script-binding, flags=73, args=[name="manga_reader/toggle-reader"]
[4027.862][d][cplayer] Run command: script-binding, flags=73, args=[name="manga_reader/toggle-reader"]
[4027.958][d][cplayer] Run command: script-binding, flags=73, args=[name="manga_reader/toggle-reader"]
[4028.903][d][cplayer] Run command: cycle, flags=73, args=[name="deinterlace", value="1.000000"]
[4028.908][v][cplayer] Set property: deinterlace -> 1
[4029.318][d][cplayer] Run command: script-binding, flags=73, args=[name="manga_reader/toggle-reader"]
[4029.430][d][cplayer] Run command: script-binding, flags=73, args=[name="manga_reader/toggle-reader"]
[4029.671][d][cplayer] Run command: script-binding, flags=73, args=[name="manga_reader/toggle-reader"]
[4029.782][d][cplayer] Run command: script-binding, flags=73, args=[name="manga_reader/toggle-reader"]
[4029.910][d][cplayer] Run command: script-binding, flags=73, args=[name="manga_reader/toggle-reader"]
[4030.022][d][cplayer] Run command: script-binding, flags=73, args=[name="manga_reader/toggle-reader"]
[4030.182][d][cplayer] Run command: script-binding, flags=73, args=[name="manga_reader/toggle-reader"]
[4030.294][d][cplayer] Run command: script-binding, flags=73, args=[name="manga_reader/toggle-reader"]
[4030.406][d][cplayer] Run command: script-binding, flags=73, args=[name="manga_reader/toggle-reader"]
[4030.534][d][cplayer] Run command: script-binding, flags=73, args=[name="manga_reader/toggle-reader"]
[4032.486][w][input] No key binding found for key 'Y'.
[4032.774][w][input] No key binding found for key 'Y'.
[4033.478][w][input] No key binding found for key 'Y'.
[4034.118][w][input] No key binding found for key 'D'.
[4034.550][w][input] No key binding found for key 'D'.
[4035.206][w][input] No key binding found for key 'Y'.
[4035.702][w][input] No key binding found for key 'Y'.
[4036.550][d][cplayer] Run command: cycle, flags=73, args=[name="deinterlace", value="1.000000"]
[4036.550][v][cplayer] Set property: deinterlace -> 1
[4036.751][d][cplayer] Run command: cycle, flags=73, args=[name="deinterlace", value="1.000000"]
[4036.751][v][cplayer] Dropping command 'cycle deinterlace' from auto-repeated key.
[4037.510][w][input] No key binding found for key 'Y'.
[4037.814][w][input] No key binding found for key 'Y'.
[4528.518][d][cplayer] Run command: quit, flags=73, args=[code="0"]
[4528.518][i][cplayer] Exiting... (Quit)
[4528.534][d][cplayer] Run command: change-list, flags=64, args=[name="shared-script-properties", operation="remove", value="osc-margins"]
[4528.537][d][ping] Exiting...
[4528.537][d][ytdl_hook] Exiting...
[4528.537][d][console] Exiting...
[4528.537][d][stats] Exiting...
[4528.537][d][manga_reader] Exiting...
[4528.537][v][cplayer] Set property: shared-script-properties -> 1
[4528.538][d][osc] Exiting...
[4528.571][d][vo/gpu] flushing shader cache
[4528.660][v][vo/gpu/win32] uninit
Droyk commented 2 years ago

What else am I missing? @Dudemanguy

Dudemanguy commented 2 years ago

The default binding is y (lowercase) to start it. The OSD should print some message if you press it.

Droyk commented 2 years ago

tried that already doesn't work!

Droyk commented 2 years ago

image

I don't have any input.conf file in any of my directories should I create it?

Droyk commented 2 years ago

manga-reader.lua reads its configuration from manga-reader.conf in your script-opts directory. The format for the file is foo=value. Here are the available options and their defaults.

I also don't have a manga-reader.conf file & what's "scripts-opts" directory is it different from the usual "script" directory? so now the main question is if I'm supposed to create "manga-reader.conf" & "input.conf" files what should I fill them with?

Dudemanguy commented 2 years ago

so now the main question is if I'm supposed to create "manga-reader.conf" & "input.conf" files what should I fill them with?

Those are both optional and not needed.

tried that already doesn't work!

What does "doesn't work" mean? According to the log you posted, you were pressing capital Y which is not the correct key.

Droyk commented 2 years ago

Hey, apologies for the late reply. Yup, I was doing it wrong seems like it only shows OSD when there's an image present. that is the reason why I got confused! and since I hate to see log files I didn't even read it completely at least until you bring it up! it won't even enable the manga reader. if there's no image present. the OSD doesn't show up. though if you open a manga archive with MPV it does shows the OSD but only after pressing y. I mean if the user presses y without opening an image or archive it adds an entry to the log file that's all [ 66.175][d][cplayer] Run command: script-binding, flags=73, args=[name="manga_reader/toggle-reader"] why I said it doesn't even enable it because If I open the MPV and press y and then drag the archive to it and press c for continuous mode coz the OSD doesn't show any message. but after dragging if I press y it immediately shows the OSD saying Manga reader started! if the user presses y to enable the manga reader when there is a video playing in the player the OSD then says no image present. which is good but just wanted to bring it to your attention. would've been great if it had worked.

Droyk commented 2 years ago

So now the question is there's any way to enable the script without an image present? since the ping.js can do it so can yours what stopping it?

Dudemanguy commented 2 years ago

With the way this script works internally, it makes zero sense for it to try and operate if mpv does not have a playlist of images open.

Droyk commented 2 years ago

seems reasonable!