dyphire / mpv-scripts

userscripts for mpv
MIT License
53 stars 5 forks source link

chapter-make-read.lua: adding and writing chapters works, but loading fails at mpv start in command line. #3

Closed Markus-N closed 1 year ago

Markus-N commented 1 year ago

Hi,
I just found your script collection and tried to use chapter-make-read.lua.
Creating chapters and writing the file works, but when I close and restart mpv, the chapters file isn't imported. I assume it's because I don't have 'mp.msg', 'mp.utils', and "mp.options" which are listed as "required" in your script (unless they're mpv builtins).
However, I could not found any info if they are mpv builtins and if not where to get them.

I think that for users who are not very experienced with lua scripts, it would be helpful to add a little bit of explanation in the README.

Thanks, Markus

dyphire commented 1 year ago

Creating chapters and writing the file works, but when I close and restart mpv, the chapters file isn't imported. I assume it's because I don't have 'mp.msg', 'mp.utils', and "mp.options" which are listed as "required" in your script (unless they're mpv builtins).

Yes,these are mpv builtins(defaults.lua; options.lua). Please upload the mpv log file to help determine the cause of the issue.

Markus-N commented 1 year ago

mpv was started with these arguments:

mpv --keep-open=yes --pause=yes --log-file=Testvideo.log Testvideo.mp4

The log is at the end. It says chapter_make_read.conf not found.. Well ... yes, this file is missing. It's because the README mentioned it and pointed to more detailed info in the script itself, but there I could not find that information (or I did not understand it correctly). To my understanding, it looks like I don't need it as long as the options in

local o = {
  ...
}

Are OK for me. I only added two key bindings to input.conf: I omitted the write_xml binding because I dont't need it for now.

And now the log:

mpv log ``` [ 0.004][v][cplayer] mpv 0.35.0 Copyright © 2000-2022 mpv/MPlayer/mplayer2 projects [ 0.004][v][cplayer] built on UNKNOWN [ 0.004][v][cplayer] FFmpeg library versions: [ 0.004][v][cplayer] libavutil 57.28.100 [ 0.004][v][cplayer] libavcodec 59.37.100 [ 0.004][v][cplayer] libavformat 59.27.100 [ 0.004][v][cplayer] libswscale 6.7.100 [ 0.004][v][cplayer] libavfilter 8.44.100 [ 0.004][v][cplayer] libswresample 4.7.100 [ 0.004][v][cplayer] FFmpeg version: n5.1.2 [ 0.004][v][cplayer] [ 0.004][v][cplayer] Configuration: /usr/bin/waf configure --prefix=/usr --confdir=/etc/mpv --enable-cdda --enable-dvb --enable-dvdnav --enable-libarchive --enable-libmpv-shared --disable-build-date --disable-caca [ 0.004][v][cplayer] List of enabled features: alsa asm av-channel-layout cdda cplayer cplugins cuda-hwaccel cuda-interop debug-build dmabuf-interop-gl dmabuf-interop-pl dmabuf-w ayland drm drm-is-kms dvbin dvdnav egl egl-drm egl-helpers egl-x11 ffmpeg ffnvcodec gbm gbm.h gl gl-wayland glibc-thread-name glob glob-posix gpl iconv jack javascript jpeg jpegxl lcms2 libarchive libass libavdevice libbluray libdl libm libmpv-shared libplacebo libplacebo-next librt linux-fstatfs linux-input-event-codes lua luajit memfd_create optimize pipew ire plain-gl posix posix-or-mingw pthreads pulse rubberband rubberband-3 shaderc shaderc-shared stdatomic uchardet vaapi vaapi-drm vaapi-egl vaapi-libplacebo vaapi-wayland vaapi-x- egl vaapi-x11 vdpau vector vt.h vulkan wayland wayland-protocols wayland-protocols-1-24 x11 xv zimg zlib [ 0.004][v][cplayer] Command line options: '--vo=gpu' '--cache=yes' '--no-border' '--osd-font-size=18' '--osd-margin-y=36' '--volume=50' '--keep-open=yes' '--pause=yes' '--log-fi le=Testvideo.log' 'Testvideo.mp4' [ 0.004][v][cplayer] mpv 0.35.0 Copyright © 2000-2022 mpv/MPlayer/mplayer2 projects [ 0.004][v][cplayer] built on UNKNOWN [ 0.004][v][cplayer] FFmpeg library versions: [ 0.004][v][cplayer] libavutil 57.28.100 [ 0.004][v][cplayer] libavcodec 59.37.100 [ 0.004][v][cplayer] libavformat 59.27.100 [ 0.004][v][cplayer] libswscale 6.7.100 [ 0.004][v][cplayer] libavfilter 8.44.100 [ 0.004][v][cplayer] libswresample 4.7.100 [ 0.004][v][cplayer] FFmpeg version: n5.1.2 [ 0.004][v][cplayer] [ 0.004][v][cplayer] Configuration: /usr/bin/waf configure --prefix=/usr --confdir=/etc/mpv --enable-cdda --enable-dvb --enable-dvdnav --enable-libarchive --enable-libmpv-shared --disable-build-date --disable-caca [ 0.004][v][cplayer] List of enabled features: alsa asm av-channel-layout cdda cplayer cplugins cuda-hwaccel cuda-interop debug-build dmabuf-interop-gl dmabuf-interop-pl dmabuf-w ayland drm drm-is-kms dvbin dvdnav egl egl-drm egl-helpers egl-x11 ffmpeg ffnvcodec gbm gbm.h gl gl-wayland glibc-thread-name glob glob-posix gpl iconv jack javascript jpeg jpegxl lcms2 libarchive libass libavdevice libbluray libdl libm libmpv-shared libplacebo libplacebo-next librt linux-fstatfs linux-input-event-codes lua luajit memfd_create optimize pipew ire plain-gl posix posix-or-mingw pthreads pulse rubberband rubberband-3 shaderc shaderc-shared stdatomic uchardet vaapi vaapi-drm vaapi-egl vaapi-libplacebo vaapi-wayland vaapi-x- egl vaapi-x11 vdpau vector vt.h vulkan wayland wayland-protocols wayland-protocols-1-24 x11 xv zimg zlib [ 0.004][d][global] config path: '' -> '/home/markus/.config/mpv' [ 0.004][d][global] user path: '~~home/' -> '/home/markus/.config/mpv' [ 0.004][d][global] user path: '~~old_home/' -> '/home/markus/.mpv' [ 0.004][d][global] config path: 'encoding-profiles.conf' -/-> '/home/markus/.config/mpv/encoding-profiles.conf' [ 0.004][d][global] config path: 'encoding-profiles.conf' -/-> '/home/markus/.mpv/encoding-profiles.conf' [ 0.004][d][global] config path: 'encoding-profiles.conf' -> '/etc/mpv/encoding-profiles.conf' [ 0.004][v][cplayer] Reading config file /etc/mpv/encoding-profiles.conf [ 0.005][v][cplayer] Applying profile 'default'... [ 0.005][d][global] config path: 'mpv.conf' -> '/home/markus/.config/mpv/mpv.conf' [ 0.005][d][global] config path: 'config' -/-> '/home/markus/.config/mpv/config' [ 0.005][d][global] config path: 'mpv.conf' -/-> '/home/markus/.mpv/mpv.conf' [ 0.005][d][global] config path: 'config' -/-> '/home/markus/.mpv/config' [ 0.005][d][global] config path: 'mpv.conf' -/-> '/etc/mpv/mpv.conf' [ 0.005][d][global] config path: 'config' -/-> '/etc/mpv/config' [ 0.005][v][cplayer] Reading config file /home/markus/.config/mpv/mpv.conf [ 0.005][v][cplayer] Applying profile 'default'... [ 0.005][v][cplayer] Setting option 'profile' = 'gpu-hq' (flags = 4) [ 0.005][v][cplayer] Applying profile 'gpu-hq'... [ 0.005][v][cplayer] Setting option 'scale' = 'spline36' (flags = 4) [ 0.005][v][cplayer] Setting option 'cscale' = 'spline36' (flags = 4) [ 0.005][v][cplayer] Setting option 'dscale' = 'mitchell' (flags = 4) [ 0.005][v][cplayer] Setting option 'dither-depth' = 'auto' (flags = 4) [ 0.005][v][cplayer] Setting option 'correct-downscaling' = 'yes' (flags = 4) [ 0.005][v][cplayer] Setting option 'linear-downscaling' = 'yes' (flags = 4) [ 0.005][v][cplayer] Setting option 'sigmoid-upscaling' = 'yes' (flags = 4) [ 0.005][v][cplayer] Setting option 'deband' = 'yes' (flags = 4) [ 0.005][v][cplayer] Setting option 'volume' = '30' (flags = 4) [ 0.005][v][cplayer] Setting option 'border' = 'no' (flags = 4) [ 0.006][v][cplayer] Setting option 'cache' = 'yes' (flags = 4) [ 0.006][v][cplayer] Setting option 'slang' = 'de,en' (flags = 4) [ 0.006][v][cplayer] Setting option 'sub-auto' = 'fuzzy' (flags = 4) [ 0.006][v][cplayer] Setting option 'sub-codepage' = 'latin2' (flags = 4) [ 0.006][v][cplayer] Setting option 'screenshot-directory' = '/home/markus/temp/Screenshots' (flags = 4) [ 0.006][v][cplayer] Setting option 'vo' = 'gpu' (flags = 8) [ 0.006][v][cplayer] Setting option 'cache' = 'yes' (flags = 8) [ 0.006][v][cplayer] Setting option 'border' = 'no' (flags = 8) [ 0.006][v][cplayer] Setting option 'osd-font-size' = '18' (flags = 8) [ 0.006][v][cplayer] Setting option 'osd-margin-y' = '36' (flags = 8) [ 0.006][v][cplayer] Setting option 'volume' = '50' (flags = 8) [ 0.006][v][cplayer] Setting option 'keep-open' = 'yes' (flags = 8) [ 0.006][v][cplayer] Setting option 'pause' = 'yes' (flags = 8) [ 0.006][v][cplayer] Setting option 'log-file' = 'Testvideo.log' (flags = 8) [ 0.007][d][global] config path: 'input.conf' -> '/home/markus/.config/mpv/input.conf' [ 0.007][d][global] config path: 'input.conf' -/-> '/home/markus/.mpv/input.conf' [ 0.007][d][global] config path: 'input.conf' -/-> '/etc/mpv/input.conf' [ 0.007][d][global] user path: '/home/markus/.config/mpv/input.conf' -> '/home/markus/.config/mpv/input.conf' [ 0.007][v][ifo_dvdnav] Opening /home/markus/.config/mpv/input.conf [ 0.007][v][bdmv/bluray] Opening /home/markus/.config/mpv/input.conf [ 0.007][v][file] Opening /home/markus/.config/mpv/input.conf [ 0.007][d][file] resize stream to 131072 bytes, drop 0 bytes [ 0.007][d][file] Stream opened successfully. [ 0.007][v][input] Parsing input config file /home/markus/.config/mpv/input.conf [ 0.007][v][input] Input config file /home/markus/.config/mpv/input.conf parsed: 19 binds [ 0.007][d][global] user path: 'Testvideo.log' -> 'Testvideo.log' [ 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][auto_profiles] Loading lua script @auto_profiles.lua... [ 0.008][d][stats] loading mp.defaults [ 0.008][d][osc] loading mp.defaults [ 0.008][d][ytdl_hook] loading mp.defaults [ 0.008][d][auto_profiles] loading mp.defaults [ 0.008][d][global] config path: 'scripts' -> '/home/markus/.config/mpv/scripts' [ 0.008][d][global] config path: 'scripts' -/-> '/home/markus/.mpv/scripts' [ 0.008][d][global] config path: 'scripts' -/-> '/etc/mpv/scripts' [ 0.008][d][console] loading mp.defaults [ 0.008][d][chapter_make_read] Loading lua script /home/markus/.config/mpv/scripts/chapter-make-read.lua... [ 0.008][d][easycrop] Loading lua script /home/markus/.config/mpv/scripts/easycrop.lua... [ 0.008][v][cplayer] Waiting for scripts... [ 0.008][d][chapter_make_read] loading mp.defaults [ 0.008][d][easycrop] loading mp.defaults [ 0.008][d][stats] loading @stats.lua [ 0.008][d][chapter_make_read] loading file /home/markus/.config/mpv/scripts/chapter-make-read.lua [ 0.009][d][auto_profiles] loading @auto_profiles.lua [ 0.009][d][chapter_make_read] reading options for chapter_make_read [ 0.009][d][global] config path: 'script-opts/chapter_make_read.conf' -/-> '/home/markus/.config/mpv/script-opts/chapter_make_read.conf' [ 0.009][d][global] config path: 'script-opts/chapter_make_read.conf' -/-> '/home/markus/.mpv/script-opts/chapter_make_read.conf' [ 0.009][d][global] config path: 'script-opts/chapter_make_read.conf' -/-> '/etc/mpv/script-opts/chapter_make_read.conf' [ 0.009][d][chapter_make_read] script-opts/chapter_make_read.conf not found. [ 0.009][d][global] config path: 'lua-settings/chapter_make_read.conf' -/-> '/home/markus/.config/mpv/lua-settings/chapter_make_read.conf' [ 0.009][d][global] config path: 'lua-settings/chapter_make_read.conf' -/-> '/home/markus/.mpv/lua-settings/chapter_make_read.conf' [ 0.009][d][global] config path: 'lua-settings/chapter_make_read.conf' -/-> '/etc/mpv/lua-settings/chapter_make_read.conf' [ 0.009][d][chapter_make_read] lua-settings/chapter_make_read.conf not found. [ 0.009][d][easycrop] loading file /home/markus/.config/mpv/scripts/easycrop.lua [ 0.009][d][osc] loading @osc.lua [ 0.009][d][ytdl_hook] loading @ytdl_hook.lua [ 0.009][d][console] loading @console.lua [ 0.009][d][stats] reading options for stats [ 0.009][d][global] config path: 'script-opts/stats.conf' -/-> '/home/markus/.config/mpv/script-opts/stats.conf' [ 0.009][d][global] config path: 'script-opts/stats.conf' -/-> '/home/markus/.mpv/script-opts/stats.conf' [ 0.009][d][global] config path: 'script-opts/stats.conf' -/-> '/etc/mpv/script-opts/stats.conf' [ 0.009][d][stats] script-opts/stats.conf not found. [ 0.009][d][global] config path: 'lua-settings/stats.conf' -/-> '/home/markus/.config/mpv/lua-settings/stats.conf' [ 0.009][d][global] config path: 'lua-settings/stats.conf' -/-> '/home/markus/.mpv/lua-settings/stats.conf' [ 0.009][d][global] config path: 'lua-settings/stats.conf' -/-> '/etc/mpv/lua-settings/stats.conf' [ 0.009][d][stats] lua-settings/stats.conf not found. [ 0.010][d][cplayer] Run command: define-section, flags=64, args=[name="input_easycrop", contents="mouse_move script-binding easycrop/__keybinding1\nc script-binding easycrop/eas y_crop\n", flags="default"] [ 0.010][d][cplayer] Run command: enable-section, flags=64, args=[name="input_easycrop", flags="allow-hide-cursor+allow-vo-dragging"] [ 0.010][d][cplayer] Run command: define-section, flags=64, args=[name="input_forced_easycrop", contents="", flags="force"] [ 0.010][d][cplayer] Run command: enable-section, flags=64, args=[name="input_forced_easycrop", flags="allow-hide-cursor+allow-vo-dragging"] [ 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.011][d][ytdl_hook] reading options for ytdl_hook [ 0.011][d][global] config path: 'script-opts/ytdl_hook.conf' -/-> '/home/markus/.config/mpv/script-opts/ytdl_hook.conf' [ 0.011][d][global] config path: 'script-opts/ytdl_hook.conf' -/-> '/home/markus/.mpv/script-opts/ytdl_hook.conf' [ 0.011][d][console] reading options for console [ 0.011][d][global] config path: 'script-opts/ytdl_hook.conf' -/-> '/etc/mpv/script-opts/ytdl_hook.conf' [ 0.011][d][global] config path: 'script-opts/console.conf' -/-> '/home/markus/.config/mpv/script-opts/console.conf' [ 0.011][d][ytdl_hook] script-opts/ytdl_hook.conf not found. [ 0.011][d][global] config path: 'script-opts/console.conf' -/-> '/home/markus/.mpv/script-opts/console.conf' [ 0.011][d][global] config path: 'lua-settings/ytdl_hook.conf' -/-> '/home/markus/.config/mpv/lua-settings/ytdl_hook.conf' [ 0.011][d][global] config path: 'lua-settings/ytdl_hook.conf' -/-> '/home/markus/.mpv/lua-settings/ytdl_hook.conf' [ 0.011][d][global] config path: 'script-opts/console.conf' -/-> '/etc/mpv/script-opts/console.conf' [ 0.011][d][console] script-opts/console.conf not found. [ 0.011][d][global] config path: 'lua-settings/ytdl_hook.conf' -/-> '/etc/mpv/lua-settings/ytdl_hook.conf' [ 0.011][d][ytdl_hook] lua-settings/ytdl_hook.conf not found. [ 0.011][d][global] config path: 'lua-settings/console.conf' -/-> '/home/markus/.config/mpv/lua-settings/console.conf' [ 0.011][d][global] config path: 'lua-settings/console.conf' -/-> '/home/markus/.mpv/lua-settings/console.conf' [ 0.011][d][global] config path: 'lua-settings/console.conf' -/-> '/etc/mpv/lua-settings/console.conf' [ 0.011][d][console] lua-settings/console.conf not found. [ 0.011][d][global] config path: 'fonts' -/-> '/home/markus/.config/mpv/fonts' [ 0.011][d][global] config path: 'fonts' -/-> '/home/markus/.mpv/fonts' [ 0.011][d][global] config path: 'fonts' -/-> '/etc/mpv/fonts' [ 0.011][d][osd/libass] ASS library version: 0x1600000 (runtime 0x1600000) [ 0.011][v][osd/libass] libass API version: 0x1600000 [ 0.011][v][osd/libass] libass source: commit: 0.16.0-0-g1af6240c5d1e499326146e0b88c987e626b13c23-dirty [ 0.012][v][osd/libass] Shaper: FriBidi 1.0.12 (SIMPLE) HarfBuzz-ng 5.3.1 (COMPLEX) [ 0.012][d][global] config path: 'subfont.ttf' -/-> '/home/markus/.config/mpv/subfont.ttf' [ 0.012][d][global] config path: 'subfont.ttf' -/-> '/home/markus/.mpv/subfont.ttf' [ 0.012][d][global] config path: 'subfont.ttf' -/-> '/etc/mpv/subfont.ttf' [ 0.012][d][global] config path: 'fonts.conf' -/-> '/home/markus/.config/mpv/fonts.conf' [ 0.012][d][global] config path: 'fonts.conf' -/-> '/home/markus/.mpv/fonts.conf' [ 0.012][d][global] config path: 'fonts.conf' -/-> '/etc/mpv/fonts.conf' [ 0.012][v][osd/libass] Setting up fonts... [ 0.015][d][osc] reading options for osc [ 0.015][d][global] config path: 'script-opts/osc.conf' -/-> '/home/markus/.config/mpv/script-opts/osc.conf' [ 0.015][d][global] config path: 'script-opts/osc.conf' -/-> '/home/markus/.mpv/script-opts/osc.conf' [ 0.015][d][global] config path: 'script-opts/osc.conf' -/-> '/etc/mpv/script-opts/osc.conf' [ 0.015][d][osc] script-opts/osc.conf not found. [ 0.015][d][global] config path: 'lua-settings/osc.conf' -/-> '/home/markus/.config/mpv/lua-settings/osc.conf' [ 0.015][d][global] config path: 'lua-settings/osc.conf' -/-> '/home/markus/.mpv/lua-settings/osc.conf' [ 0.015][d][global] config path: 'lua-settings/osc.conf' -/-> '/etc/mpv/lua-settings/osc.conf' [ 0.015][d][osc] lua-settings/osc.conf not found. [ 0.033][v][osd/libass] Using font provider fontconfig [ 0.033][v][osd/libass] Done. [ 0.034][d][cplayer] Run command: define-section, flags=64, args=[name="input_console", contents="", flags="default"] [ 0.034][d][cplayer] Run command: enable-section, flags=64, args=[name="input_console", flags="allow-hide-cursor+allow-vo-dragging"] [ 0.034][d][cplayer] Run command: define-section, flags=64, args=[name="input_forced_console", contents="", flags="force"] [ 0.034][d][cplayer] Run command: enable-section, flags=64, args=[name="input_forced_console", flags="allow-hide-cursor+allow-vo-dragging"] [ 0.035][d][cplayer] Run command: define-section, flags=64, args=[name="showhide", contents="mouse_move script-binding osc/__keybinding1\nmouse_leave script-binding osc/__keybind ing2\n", flags="force"] [ 0.035][d][cplayer] Run command: define-section, flags=64, args=[name="showhide_wc", contents="mouse_move script-binding osc/__keybinding3\nmouse_leave script-binding osc/__keyb inding4\n", flags="force"] [ 0.035][d][cplayer] Run command: enable-section, flags=64, args=[name="showhide", flags="allow-hide-cursor+allow-vo-dragging"] [ 0.035][d][cplayer] Run command: enable-section, flags=64, args=[name="showhide_wc", flags="allow-hide-cursor+allow-vo-dragging"] [ 0.035][d][cplayer] Run command: define-section, flags=64, args=[name="input", contents="mbtn_left script-binding osc/__keybinding5\nshift+mbtn_left script-binding osc/__keybind ing6\nmbtn_right script-binding osc/__keybinding7\nmbtn_mid script-binding osc/__keybinding8\nwheel_up script-binding osc/__keybinding9\nwheel_down script-binding osc/__keybinding1 0\nmbtn_left_dbl ignore\nshift+mbtn_left_dbl ignore\nmbtn_right_dbl ignore\n", flags="force"] [ 0.035][d][cplayer] Run command: enable-section, flags=64, args=[name="input", flags=""] [ 0.035][d][cplayer] Run command: define-section, flags=64, args=[name="window-controls", contents="mbtn_left script-binding osc/__keybinding11\n", flags="force"] [ 0.035][d][cplayer] Run command: enable-section, flags=64, args=[name="window-controls", flags=""] [ 0.035][d][cplayer] Run command: change-list, flags=64, args=[name="shared-script-properties", operation="append", value="osc-visibility=auto"] [ 0.035][v][cplayer] Set property: shared-script-properties -> 1 [ 0.035][d][cplayer] Run command: disable-section, flags=64, args=[name="input"] [ 0.035][d][cplayer] Run command: disable-section, flags=64, args=[name="window-controls"] [ 0.035][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.035][v][cplayer] Set property: shared-script-properties -> 1 [ 0.035][v][cplayer] Done loading scripts. [ 0.035][d][global] config path: 'watch_later' -> '/home/markus/.config/mpv/watch_later' [ 0.035][v][cplayer] Running hook: ytdl_hook/on_load [ 0.035][v][ytdl_hook] ytdl:// hook [ 0.035][v][ytdl_hook] not a ytdl:// url [ 0.035][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.035][v][ifo_dvdnav] Opening Testvideo.mp4 [ 0.036][v][cplayer] Set property: shared-script-properties -> 1 [ 0.036][d][osc] osc_init [ 0.036][v][bdmv/bluray] Opening Testvideo.mp4 [ 0.036][v][file] Opening Testvideo.mp4 [ 0.036][d][file] resize stream to 131072 bytes, drop 0 bytes [ 0.036][d][file] Stream opened successfully. [ 0.036][v][demux] Trying demuxers for level=normal. [ 0.036][d][demux] Trying demuxer: disc (force-level: normal) [ 0.036][d][demux] Trying demuxer: edl (force-level: normal) [ 0.036][d][demux] Trying demuxer: cue (force-level: normal) [ 0.036][d][demux] Trying demuxer: rawaudio (force-level: normal) [ 0.036][d][demux] Trying demuxer: rawvideo (force-level: normal) [ 0.036][d][demux] Trying demuxer: mkv (force-level: normal) [ 0.036][d][demux] Trying demuxer: libarchive (force-level: normal) [ 0.036][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.036][v][cplayer] Set property: shared-script-properties -> 1 [ 0.036][d][cplayer] Run command: disable-section, flags=64, args=[name="window-controls"] [ 0.037][d][global] config path: 'fonts' -/-> '/home/markus/.config/mpv/fonts' [ 0.037][d][global] config path: 'fonts' -/-> '/home/markus/.mpv/fonts' [ 0.037][d][global] config path: 'fonts' -/-> '/etc/mpv/fonts' [ 0.037][d][osd/libass] ASS library version: 0x1600000 (runtime 0x1600000) [ 0.037][v][osd/libass] libass API version: 0x1600000 [ 0.037][v][osd/libass] libass source: commit: 0.16.0-0-g1af6240c5d1e499326146e0b88c987e626b13c23-dirty [ 0.037][v][osd/libass] Shaper: FriBidi 1.0.12 (SIMPLE) HarfBuzz-ng 5.3.1 (COMPLEX) [ 0.037][d][global] config path: 'subfont.ttf' -/-> '/home/markus/.config/mpv/subfont.ttf' [ 0.037][d][global] config path: 'subfont.ttf' -/-> '/home/markus/.mpv/subfont.ttf' [ 0.037][d][global] config path: 'subfont.ttf' -/-> '/etc/mpv/subfont.ttf' [ 0.037][d][global] config path: 'fonts.conf' -/-> '/home/markus/.config/mpv/fonts.conf' [ 0.037][d][global] config path: 'fonts.conf' -/-> '/home/markus/.mpv/fonts.conf' [ 0.037][d][global] config path: 'fonts.conf' -/-> '/etc/mpv/fonts.conf' [ 0.037][v][osd/libass] Setting up fonts... [ 0.039][d][demux] Trying demuxer: lavf (force-level: normal) [ 0.043][v][lavf] Found 'mov,mp4,m4a,3gp,3g2,mj2' at score=100 size=2048. [ 0.043][v][file] stream level seek from 131072 to 331127454 [ 0.061][v][osd/libass] Using font provider fontconfig [ 0.061][v][osd/libass] Done. [ 0.062][d][cplayer] Run command: disable-section, flags=64, args=[name="window-controls"] [ 0.062][d][cplayer] Run command: define-section, flags=64, args=[name="input_osc", contents="", flags="default"] [ 0.062][d][cplayer] Run command: enable-section, flags=64, args=[name="input_osc", flags="allow-hide-cursor+allow-vo-dragging"] [ 0.062][d][cplayer] Run command: define-section, flags=64, args=[name="input_forced_osc", contents="", flags="force"] [ 0.062][d][cplayer] Run command: enable-section, flags=64, args=[name="input_forced_osc", flags="allow-hide-cursor+allow-vo-dragging"] [ 0.080][v][demux] Detected file format: mov,mp4,m4a,3gp,3g2,mj2 (libavformat) [ 0.080][v][cplayer] Opening done: Testvideo.mp4 [ 0.080][v][find_files] Loading external files in . [ 0.080][d][find_files] Potential external file: "Testvideo_thumb.jpg" Priority: 0 [ 0.080][d][global] config path: 'sub' -/-> '/home/markus/.config/mpv/sub' [ 0.080][d][global] config path: 'sub' -/-> '/home/markus/.mpv/sub' [ 0.080][d][global] config path: 'sub' -/-> '/etc/mpv/sub' [ 0.080][v][cplayer] Running hook: ytdl_hook/on_preloaded [ 0.080][v][cplayer] Running hook: chapter_make_read/on_preloaded [ 0.081][v][lavf] select track 0 [ 0.081][v][lavf] select track 1 [ 0.081][i][cplayer] (+) Video --vid=1 (*) (h264 852x480 30.000fps) [ 0.081][i][cplayer] (+) Audio --aid=1 (*) (aac 2ch 24000Hz) [ 0.081][v][vo/gpu] Probing for best GPU context. [ 0.081][v][vo/gpu/opengl] Initializing GPU context 'wayland' [ 0.081][v][vo/gpu/opengl] Initializing GPU context 'x11egl' [ 0.081][v][vo/gpu/x11] X11 opening display: :0.0 [ 0.083][d][vo/gpu/x11] X11 running at 5360x1440 (":0.0" => local display) [ 0.084][d][vo/gpu/x11] Detected wm supports NetWM. [ 0.084][d][vo/gpu/x11] Detected wm supports ABOVE state. [ 0.084][d][vo/gpu/x11] Detected wm supports BELOW state. [ 0.084][d][vo/gpu/x11] Detected wm supports FULLSCREEN state. [ 0.084][d][vo/gpu/x11] Detected wm supports STICKY state. [ 0.084][v][vo/gpu/x11] Display 0 (DVI-D-1): [0, 0, 1920, 1200] @ 59.950171 FPS [ 0.084][v][vo/gpu/x11] Display 1 (DP-1): [1920, 0, 5360, 1440] @ 59.972616 FPS [ 0.084][v][vo/gpu/x11] Current display FPS: 59.950171 [ 0.121][v][vo/gpu/opengl] EGL_VERSION=1.5 [ 0.121][v][vo/gpu/opengl] EGL_VENDOR=Mesa Project [ 0.121][v][vo/gpu/opengl] EGL_CLIENT_APIS=OpenGL OpenGL_ES [ 0.121][v][vo/gpu/opengl] Trying to create Desktop OpenGL context. [ 0.122][d][vo/gpu/opengl] Chosen EGLConfig: [ 0.122][d][vo/gpu/opengl] EGL_CONFIG_ID=0x11 [ 0.122][d][vo/gpu/opengl] EGL_RED_SIZE=0x8 [ 0.122][d][vo/gpu/opengl] EGL_GREEN_SIZE=0x8 [ 0.122][d][vo/gpu/opengl] EGL_BLUE_SIZE=0x8 [ 0.122][d][vo/gpu/opengl] EGL_ALPHA_SIZE=0x0 [ 0.122][d][vo/gpu/opengl] EGL_COLOR_BUFFER_TYPE=0x308e [ 0.122][d][vo/gpu/opengl] EGL_CONFIG_CAVEAT=0x3038 [ 0.122][d][vo/gpu/opengl] EGL_CONFORMANT=0x4d [ 0.122][d][vo/gpu/opengl] EGL_NATIVE_VISUAL_ID=0x21 [ 0.124][v][vo/gpu/opengl] Choosing visual EGL config 0x11, visual ID 0x21 [ 0.124][v][vo/gpu/x11] The XPresent extension was found. [ 0.124][v][vo/gpu/x11] XPresent disabled. [ 0.133][v][vo/gpu/opengl] GL_VERSION='4.6 (Core Profile) Mesa 22.2.3' [ 0.133][v][vo/gpu/opengl] Detected desktop OpenGL 4.6. [ 0.133][v][vo/gpu/opengl] GL_VENDOR='AMD' [ 0.133][v][vo/gpu/opengl] GL_RENDERER='AMD Radeon RX 550 / 550 Series (polaris12, LLVM 14.0.6, DRM 3.48, 6.0.9-arch1-1)' [ 0.133][v][vo/gpu/opengl] GL_SHADING_LANGUAGE_VERSION='4.60' [ 0.133][d][vo/gpu/opengl] Combined OpenGL extensions string: [ 0.133][d][vo/gpu/opengl] EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync EGL_CHROMIUM_sync_control EGL_EXT_buffer_age EGL_EXT_create_context_robustness EGL_EXT_image_dma_b uf_import EGL_EXT_image_dma_buf_import_modifiers EGL_EXT_swap_buffers_with_damage EGL_IMG_context_priority EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_context_flush_control EG L_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_ima ge EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfac eless_context EGL_KHR_swap_buffers_with_damage EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_image_dma_buf_export EGL_MESA_qu ery_driver EGL_NOK_texture_from_pixmap EGL_WL_bind_wayland_display GL_AMD_conservative_depth GL_AMD_depth_clamp_separate GL_AMD_draw_buffers_blend GL_AMD_framebuffer_multisample_a dvanced GL_AMD_gpu_shader_int64 GL_AMD_multi_draw_indirect GL_AMD_performance_monitor GL_AMD_pinned_memory GL_AMD_query_buffer_object GL_AMD_seamless_cubemap_per_texture GL_AMD_sha der_stencil_export GL_AMD_shader_trinary_minmax GL_AMD_texture_texture4 GL_AMD_vertex_shader_layer GL_AMD_vertex_shader_viewport_index GL_ANGLE_texture_compression_dxt3 GL_ANGLE_te xture_compression_dxt5 GL_ARB_ES2_compatibility GL_ARB_ES3_1_compatibility GL_ARB_ES3_2_compatibility GL_ARB_ES3_compatibility GL_ARB_arrays_of_arrays GL_ARB_base_instance GL_ARB_b indless_texture GL_ARB_blend_func_extended GL_ARB_buffer_storage GL_ARB_clear_buffer_object GL_ARB_clear_texture GL_ARB_clip_control GL_ARB_color_buffer_float GL_ARB_compressed_tex ture_pixel_storage GL_ARB_compute_shader GL_ARB_compute_variable_group_size GL_ARB_conditional_render_inverted GL_ARB_conservative_depth GL_ARB_copy_buffer GL_ARB_copy_image GL_ARB _cull_distance GL_ARB_debug_output GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_derivative_control GL_ARB_direct_state_access GL_ARB_draw_buffers GL_ARB_draw_buffers_blend G L_ARB_draw_elements_base_vertex GL_ARB_draw_indirect GL_ARB_draw_instanced GL_ARB_enhanced_layouts GL_ARB_explicit_attrib_location GL_ARB_explicit_uniform_location GL_ARB_fragment_ coord_conventions GL_ARB_fragment_layer_viewport GL_ARB_fragment_shader GL_ARB_framebuffer_no_attachments GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_get_program_binar y GL_ARB_get_texture_sub_image GL_ARB_gl_spirv GL_ARB_gpu_shader5 GL_ARB_gpu_shader_fp64 GL_ARB_gpu_shader_int64 GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_indirect_pa rameters GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_internalformat_query2 GL_ARB_invalidate_subdata GL_ARB_map_buffer_alignment GL_ARB_map_buffer_range GL_ARB_multi _bind GL_ARB_multi_draw_indirect GL_ARB_occlusion_query2 GL_ARB_parallel_shader_compile GL_ARB_pipeline_statistics_query GL_ARB_pixel_buffer_object GL_ARB_point_sprite GL_ARB_polyg on_offset_clamp GL_ARB_program_interface_query GL_ARB_provoking_vertex GL_ARB_query_buffer_object GL_ARB_robust_buffer_access_behavior GL_ARB_robustness GL_ARB_sample_shading GL_AR B_sampler_objects GL_ARB_seamless_cube_map GL_ARB_seamless_cubemap_per_texture GL_ARB_separate_shader_objects GL_ARB_shader_atomic_counter_ops GL_ARB_shader_atomic_counters GL_ARB_ shader_ballot GL_ARB_shader_bit_encoding GL_ARB_shader_clock GL_ARB_shader_draw_parameters GL_ARB_shader_group_vote GL_ARB_shader_image_load_store GL_ARB_shader_image_size GL_ARB_s hader_objects GL_ARB_shader_precision GL_ARB_shader_stencil_export GL_ARB_shader_storage_buffer_object GL_ARB_shader_subroutine GL_ARB_shader_texture_image_samples GL_ARB_shader_te xture_lod GL_ARB_shader_viewport_layer_array GL_ARB_shading_language_420pack GL_ARB_shading_language_include GL_ARB_shading_language_packing GL_ARB_spirv_extensions GL_ARB_stencil_ texturing GL_ARB_sync GL_ARB_tessellation_shader GL_ARB_texture_barrier GL_ARB_texture_buffer_object GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_buffer_range GL_ARB_texture_c ompression_bptc GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map_array GL_ARB_texture_filter_anisotropic GL_ARB_texture_float GL_ARB_texture_gather GL_ARB_texture_mirror_cla mp_to_edge GL_ARB_texture_multisample GL_ARB_texture_non_power_of_two GL_ARB_texture_query_levels GL_ARB_texture_query_lod GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_texture _rgb10_a2ui GL_ARB_texture_stencil8 GL_ARB_texture_storage GL_ARB_texture_storage_multisample GL_ARB_texture_swizzle GL_ARB_texture_view GL_ARB_timer_query GL_ARB_transform_feedbac k2 GL_ARB_transform_feedback3 GL_ARB_transform_feedback_instanced GL_ARB_transform_feedback_overflow_query GL_ARB_uniform_buffer_object GL_ARB_vertex_array_bgra GL_ARB_vertex_array _object GL_ARB_vertex_attrib_64bit GL_ARB_vertex_attrib_binding GL_ARB_vertex_buffer_object GL_ARB_vertex_shader GL_ARB_vertex_type_10f_11f_11f_rev GL_ARB_vertex_type_2_10_10_10_re v GL_ARB_viewport_array GL_ATI_blend_equation_separate GL_ATI_meminfo GL_ATI_texture_float GL_ATI_texture_mirror_once GL_EXT_EGL_image_storage GL_EXT_EGL_sync GL_EXT_abgr GL_EXT_bl end_equation_separate GL_EXT_demote_to_helper_invocation GL_EXT_depth_bounds_test GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_packed_depth_stencil GL_EXT_packed_ float GL_EXT_pixel_buffer_object GL_EXT_polygon_offset_clamp GL_EXT_provoking_vertex GL_EXT_semaphore GL_EXT_semaphore_fd GL_EXT_shader_image_load_formatted GL_EXT_shader_image_loa d_store GL_EXT_shader_integer_mix GL_EXT_shader_samples_identical GL_EXT_texture_array GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3 tc GL_EXT_texture_filter_anisotropic GL_EXT_texture_integer GL_EXT_texture_mirror_clamp GL_EXT_texture_sRGB GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_decode GL_EXT_texture_shadow_ lod GL_EXT_texture_shared_exponent GL_EXT_texture_snorm GL_EXT_texture_swizzle GL_EXT_timer_query GL_EXT_transform_feedback GL_EXT_vertex_array_bgra GL_EXT_vertex_attrib_64bit GL_E XT_window_rectangles GL_IBM_multimode_draw_arrays GL_INTEL_blackhole_render GL_KHR_blend_equation_advanced GL_KHR_context_flush_control GL_KHR_debug GL_KHR_no_error GL_KHR_parallel _shader_compile GL_KHR_robust_buffer_access_behavior GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_sliced_3d GL_MESA_framebuffer_flip_y GL_M ESA_pack_invert GL_MESA_shader_integer_functions GL_MESA_texture_signed_rgba GL_NVX_gpu_memory_info GL_NV_alpha_to_coverage_dither_control GL_NV_compute_shader_derivatives GL_NV_co nditional_render GL_NV_copy_image GL_NV_depth_clamp GL_NV_packed_depth_stencil GL_NV_shader_atomic_int64 GL_NV_texture_barrier GL_NV_vdpau_interop GL_OES_EGL_image GL_S3_s3tc [ 0.133][v][vo/gpu/opengl] Loaded extension GL_NV_vdpau_interop. [ 0.133][v][vo/gpu/opengl] Loaded extension GL_KHR_debug. [ 0.134][d][vo/gpu/opengl] Texture formats: [ 0.134][d][vo/gpu/opengl] NAME COMP*TYPE SIZE DEPTH PER COMP. [ 0.134][d][vo/gpu/opengl] r8 1*unorm 1B LF CR ST {8} [ 0.134][d][vo/gpu/opengl] rg8 2*unorm 2B LF CR ST {8 8} [ 0.134][d][vo/gpu/opengl] rgb8 3*unorm 3B LF CR ST {8 8 8} [ 0.134][d][vo/gpu/opengl] rgba8 4*unorm 4B LF CR ST {8 8 8 8} [ 0.134][d][vo/gpu/opengl] r16 1*unorm 2B LF CR ST {16} [ 0.134][d][vo/gpu/opengl] rg16 2*unorm 4B LF CR ST {16 16} [ 0.134][d][vo/gpu/opengl] rgb16 3*unorm 6B LF CR ST {16 16 16} [ 0.134][d][vo/gpu/opengl] rgba16 4*unorm 8B LF CR ST {16 16 16 16} [ 0.134][d][vo/gpu/opengl] r8ui 1*uint 1B CR ST {8} [ 0.134][d][vo/gpu/opengl] rg8ui 2*uint 2B CR ST {8 8} [ 0.134][d][vo/gpu/opengl] rgb8ui 3*uint 3B ST {8 8 8} [ 0.134][d][vo/gpu/opengl] rgba8ui 4*uint 4B CR ST {8 8 8 8} [ 0.134][d][vo/gpu/opengl] r16ui 1*uint 2B CR ST {16} [ 0.134][d][vo/gpu/opengl] rg16ui 2*uint 4B CR ST {16 16} [ 0.134][d][vo/gpu/opengl] rgb16ui 3*uint 6B ST {16 16 16} [ 0.134][d][vo/gpu/opengl] rgba16ui 4*uint 8B CR ST {16 16 16 16} [ 0.134][d][vo/gpu/opengl] r16f 1*float 4B LF CR ST {32/16} [ 0.134][d][vo/gpu/opengl] rg16f 2*float 8B LF CR ST {32/16 32/16} [ 0.134][d][vo/gpu/opengl] rgb16f 3*float 12B LF CR ST {32/16 32/16 32/16} [ 0.134][d][vo/gpu/opengl] rgba16f 4*float 16B LF CR ST {32/16 32/16 32/16 32/16} [ 0.134][d][vo/gpu/opengl] r32f 1*float 4B LF CR ST {32} [ 0.134][d][vo/gpu/opengl] rg32f 2*float 8B LF CR ST {32 32} [ 0.134][d][vo/gpu/opengl] rgb32f 3*float 12B LF CR ST {32 32 32} [ 0.134][d][vo/gpu/opengl] rgba32f 4*float 16B LF CR ST {32 32 32 32} [ 0.134][d][vo/gpu/opengl] rgb10_a2 4*unorm 4B LF CR ST {0/10 0/10 0/10 0/2} [ 0.134][d][vo/gpu/opengl] rgba12 4*unorm 8B LF CR ST {16 16 16 16} [ 0.134][d][vo/gpu/opengl] rgb10 3*unorm 6B LF CR ST {16/10 16/10 16/10} [ 0.134][d][vo/gpu/opengl] rgb565 3*unorm 2B LF ST {0/8 0/8 0/8} [ 0.134][d][vo/gpu/opengl] LA = LUMINANCE_ALPHA hack format [ 0.134][d][vo/gpu/opengl] LF = linear filterable [ 0.134][d][vo/gpu/opengl] CR = can be used for render targets [ 0.134][d][vo/gpu/opengl] ST = can be used for storable images [ 0.134][d][vo/gpu/opengl] Image formats: [ 0.134][d][vo/gpu/opengl] yuv444p => 3 planes 1x1 8/0 [r8/r8/r8] (r/g/b) [unorm] [ 0.134][d][vo/gpu/opengl] yuv420p => 3 planes 2x2 8/0 [r8/r8/r8] (r/g/b) [unorm] [ 0.134][d][vo/gpu/opengl] gray => 1 planes 1x1 8/0 [r8] (r) [unorm] [ 0.134][d][vo/gpu/opengl] gray16 => 1 planes 1x1 16/0 [r16] (r) [unorm] [ 0.134][d][vo/gpu/opengl] uyvy422 [ 0.134][d][vo/gpu/opengl] nv12 => 2 planes 2x2 8/0 [r8/rg8] (r/gb) [unorm] [ 0.134][d][vo/gpu/opengl] p010 => 2 planes 2x2 16/6 [r16/rg16] (r/gb) [unorm] [ 0.134][d][vo/gpu/opengl] argb => 1 planes 1x1 8/0 [rgba8] (argb) [unorm] [ 0.134][d][vo/gpu/opengl] bgra => 1 planes 1x1 8/0 [rgba8] (bgra) [unorm] [ 0.134][d][vo/gpu/opengl] abgr => 1 planes 1x1 8/0 [rgba8] (abgr) [unorm] [ 0.134][d][vo/gpu/opengl] rgba => 1 planes 1x1 8/0 [rgba8] (rgba) [unorm] [ 0.134][d][vo/gpu/opengl] bgr24 => 1 planes 1x1 8/0 [rgb8] (bgr) [unorm] [ 0.134][d][vo/gpu/opengl] rgb24 => 1 planes 1x1 8/0 [rgb8] (rgb) [unorm] [ 0.134][d][vo/gpu/opengl] 0rgb => 1 planes 1x1 8/0 [rgba8] (_rgb) [unorm] [ 0.134][d][vo/gpu/opengl] bgr0 => 1 planes 1x1 8/0 [rgba8] (bgr) [unorm] [ 0.134][d][vo/gpu/opengl] 0bgr => 1 planes 1x1 8/0 [rgba8] (_bgr) [unorm] [ 0.134][d][vo/gpu/opengl] rgb0 => 1 planes 1x1 8/0 [rgba8] (rgb) [unorm] [ 0.134][d][vo/gpu/opengl] rgba64 => 1 planes 1x1 16/0 [rgba16] (rgba) [unorm] [ 0.134][d][vo/gpu/opengl] rgb565 => 1 planes 1x1 0/0 [rgb565] (rgb) [unknown] [ 0.134][d][vo/gpu/opengl] pal8 [ 0.134][d][vo/gpu/opengl] vdpau [ 0.134][d][vo/gpu/opengl] d3d11 [ 0.134][d][vo/gpu/opengl] dxva2_vld [ 0.134][d][vo/gpu/opengl] mmal [ 0.134][d][vo/gpu/opengl] mediacodec [ 0.134][d][vo/gpu/opengl] cuda [ 0.134][d][vo/gpu/opengl] yap8 => 2 planes 1x1 8/0 [r8/r8] (r/a) [unorm] [ 0.134][d][vo/gpu/opengl] yap16 => 2 planes 1x1 16/0 [r16/r16] (r/a) [unorm] [ 0.134][d][vo/gpu/opengl] grayaf32 => 2 planes 1x1 32/0 [r16f/r16f] (r/a) [float] [ 0.134][d][vo/gpu/opengl] yuv444pf => 3 planes 1x1 32/0 [r16f/r16f/r16f] (r/g/b) [float] [ 0.134][d][vo/gpu/opengl] yuva444pf => 4 planes 1x1 32/0 [r16f/r16f/r16f/r16f] (r/g/b/a) [float] [ 0.134][d][vo/gpu/opengl] yuv420pf => 3 planes 2x2 32/0 [r16f/r16f/r16f] (r/g/b) [float] [ 0.134][d][vo/gpu/opengl] yuva420pf => 4 planes 2x2 32/0 [r16f/r16f/r16f/r16f] (r/g/b/a) [float] [ 0.134][d][vo/gpu/opengl] yuv422pf => 3 planes 2x1 32/0 [r16f/r16f/r16f] (r/g/b) [float] [ 0.134][d][vo/gpu/opengl] yuva422pf => 4 planes 2x1 32/0 [r16f/r16f/r16f/r16f] (r/g/b/a) [float] [ 0.134][d][vo/gpu/opengl] yuv440pf => 3 planes 1x2 32/0 [r16f/r16f/r16f] (r/g/b) [float] [ 0.134][d][vo/gpu/opengl] yuva440pf => 4 planes 1x2 32/0 [r16f/r16f/r16f/r16f] (r/g/b/a) [float] [ 0.134][d][vo/gpu/opengl] yuv410pf => 3 planes 4x4 32/0 [r16f/r16f/r16f] (r/g/b) [float] [ 0.134][d][vo/gpu/opengl] yuva410pf => 4 planes 4x4 32/0 [r16f/r16f/r16f/r16f] (r/g/b/a) [float] [ 0.134][d][vo/gpu/opengl] yuv411pf => 3 planes 4x1 32/0 [r16f/r16f/r16f] (r/g/b) [float] [ 0.134][d][vo/gpu/opengl] yuva411pf => 4 planes 4x1 32/0 [r16f/r16f/r16f/r16f] (r/g/b/a) [float] [ 0.134][d][vo/gpu/opengl] rgb30 => 1 planes 1x1 10/0 [rgb10_a2] (bgr) [unknown] [ 0.134][d][vo/gpu/opengl] y1 => 1 planes 1x1 8/-7 [r8] (r) [unorm] [ 0.134][d][vo/gpu/opengl] gbrp1 => 3 planes 1x1 8/-7 [r8/r8/r8] (g/b/r) [unorm] [ 0.134][d][vo/gpu/opengl] gbrp2 => 3 planes 1x1 8/-6 [r8/r8/r8] (g/b/r) [unorm] [ 0.134][d][vo/gpu/opengl] gbrp3 => 3 planes 1x1 8/-5 [r8/r8/r8] (g/b/r) [unorm] [ 0.134][d][vo/gpu/opengl] gbrp4 => 3 planes 1x1 8/-4 [r8/r8/r8] (g/b/r) [unorm] [ 0.134][d][vo/gpu/opengl] gbrp5 => 3 planes 1x1 8/-3 [r8/r8/r8] (g/b/r) [unorm] [ 0.134][d][vo/gpu/opengl] gbrp6 => 3 planes 1x1 8/-2 [r8/r8/r8] (g/b/r) [unorm] [ 0.134][d][vo/gpu/opengl] vdpau_output [ 0.134][d][vo/gpu/opengl] vaapi [ 0.134][d][vo/gpu/opengl] videotoolbox [ 0.134][d][vo/gpu/opengl] drm_prime [ 0.134][d][vo/gpu/opengl] yuyv422 [ 0.134][d][vo/gpu/opengl] yuv422p => 3 planes 2x1 8/0 [r8/r8/r8] (r/g/b) [unorm] [ 0.134][d][vo/gpu/opengl] yuv410p => 3 planes 4x4 8/0 [r8/r8/r8] (r/g/b) [unorm] [ 0.134][d][vo/gpu/opengl] yuv411p => 3 planes 4x1 8/0 [r8/r8/r8] (r/g/b) [unorm] [ 0.134][d][vo/gpu/opengl] monow [ 0.134][d][vo/gpu/opengl] monob [ 0.134][d][vo/gpu/opengl] yuvj422p => 3 planes 2x1 8/0 [r8/r8/r8] (r/g/b) [unorm] [ 0.134][d][vo/gpu/opengl] uyyvyy411 [ 0.134][d][vo/gpu/opengl] bgr8 [ 0.134][d][vo/gpu/opengl] bgr4 [ 0.134][d][vo/gpu/opengl] bgr4_byte [ 0.134][d][vo/gpu/opengl] rgb8 [ 0.134][d][vo/gpu/opengl] rgb4 [ 0.134][d][vo/gpu/opengl] rgb4_byte [ 0.134][d][vo/gpu/opengl] nv21 => 2 planes 2x2 8/0 [r8/rg8] (r/bg) [unorm] [ 0.134][d][vo/gpu/opengl] gray16be [ 0.134][d][vo/gpu/opengl] yuv440p => 3 planes 1x2 8/0 [r8/r8/r8] (r/g/b) [unorm] [ 0.134][d][vo/gpu/opengl] yuvj440p => 3 planes 1x2 8/0 [r8/r8/r8] (r/g/b) [unorm] [ 0.134][d][vo/gpu/opengl] yuva420p => 4 planes 2x2 8/0 [r8/r8/r8/r8] (r/g/b/a) [unorm] [ 0.134][d][vo/gpu/opengl] rgb48be [ 0.134][d][vo/gpu/opengl] rgb48 => 1 planes 1x1 16/0 [rgb16] (rgb) [unorm] [ 0.134][d][vo/gpu/opengl] rgb565be [ 0.134][d][vo/gpu/opengl] rgb555be [ 0.134][d][vo/gpu/opengl] rgb555 [ 0.134][d][vo/gpu/opengl] bgr565be [ 0.134][d][vo/gpu/opengl] bgr565 [ 0.134][d][vo/gpu/opengl] bgr555be [ 0.134][d][vo/gpu/opengl] bgr555 [ 0.134][d][vo/gpu/opengl] yuv420p16 => 3 planes 2x2 16/0 [r16/r16/r16] (r/g/b) [unorm] [ 0.134][d][vo/gpu/opengl] yuv420p16be [ 0.134][d][vo/gpu/opengl] yuv422p16 => 3 planes 2x1 16/0 [r16/r16/r16] (r/g/b) [unorm] [ 0.134][d][vo/gpu/opengl] yuv422p16be [ 0.134][d][vo/gpu/opengl] yuv444p16 => 3 planes 1x1 16/0 [r16/r16/r16] (r/g/b) [unorm] [ 0.134][d][vo/gpu/opengl] yuv444p16be [ 0.134][d][vo/gpu/opengl] rgb444 [ 0.134][d][vo/gpu/opengl] rgb444be [ 0.134][d][vo/gpu/opengl] bgr444 [ 0.134][d][vo/gpu/opengl] bgr444be [ 0.134][d][vo/gpu/opengl] ya8 => 1 planes 1x1 8/0 [rg8] (ra) [unorm] [ 0.134][d][vo/gpu/opengl] bgr48be [ 0.134][d][vo/gpu/opengl] bgr48 => 1 planes 1x1 16/0 [rgb16] (bgr) [unorm] [ 0.134][d][vo/gpu/opengl] yuv420p9be [ 0.134][d][vo/gpu/opengl] yuv420p9 => 3 planes 2x2 16/-7 [r16/r16/r16] (r/g/b) [unorm] [ 0.134][d][vo/gpu/opengl] yuv420p10be [ 0.134][d][vo/gpu/opengl] yuv420p10 => 3 planes 2x2 16/-6 [r16/r16/r16] (r/g/b) [unorm] [ 0.134][d][vo/gpu/opengl] yuv422p10be [ 0.134][d][vo/gpu/opengl] yuv422p10 => 3 planes 2x1 16/-6 [r16/r16/r16] (r/g/b) [unorm] [ 0.134][d][vo/gpu/opengl] yuv444p9be [ 0.134][d][vo/gpu/opengl] yuv444p9 => 3 planes 1x1 16/-7 [r16/r16/r16] (r/g/b) [unorm] [ 0.134][d][vo/gpu/opengl] yuv444p10be [ 0.134][d][vo/gpu/opengl] yuv444p10 => 3 planes 1x1 16/-6 [r16/r16/r16] (r/g/b) [unorm] [ 0.134][d][vo/gpu/opengl] yuv422p9be [ 0.134][d][vo/gpu/opengl] yuv422p9 => 3 planes 2x1 16/-7 [r16/r16/r16] (r/g/b) [unorm] [ 0.134][d][vo/gpu/opengl] gbrp => 3 planes 1x1 8/0 [r8/r8/r8] (g/b/r) [unorm] [ 0.134][d][vo/gpu/opengl] gbrp9be [ 0.134][d][vo/gpu/opengl] gbrp9 => 3 planes 1x1 16/-7 [r16/r16/r16] (g/b/r) [unorm] [ 0.134][d][vo/gpu/opengl] gbrp10be [ 0.134][d][vo/gpu/opengl] gbrp10 => 3 planes 1x1 16/-6 [r16/r16/r16] (g/b/r) [unorm] [ 0.134][d][vo/gpu/opengl] gbrp16be [ 0.134][d][vo/gpu/opengl] gbrp16 => 3 planes 1x1 16/0 [r16/r16/r16] (g/b/r) [unorm] [ 0.134][d][vo/gpu/opengl] yuva422p => 4 planes 2x1 8/0 [r8/r8/r8/r8] (r/g/b/a) [unorm] [ 0.134][d][vo/gpu/opengl] yuva444p => 4 planes 1x1 8/0 [r8/r8/r8/r8] (r/g/b/a) [unorm] [ 0.134][d][vo/gpu/opengl] yuva420p9be [ 0.134][d][vo/gpu/opengl] yuva420p9 => 4 planes 2x2 16/-7 [r16/r16/r16/r16] (r/g/b/a) [unorm] [ 0.134][d][vo/gpu/opengl] yuva422p9be [ 0.134][d][vo/gpu/opengl] yuva422p9 => 4 planes 2x1 16/-7 [r16/r16/r16/r16] (r/g/b/a) [unorm] [ 0.134][d][vo/gpu/opengl] yuva444p9be [ 0.134][d][vo/gpu/opengl] yuva444p9 => 4 planes 1x1 16/-7 [r16/r16/r16/r16] (r/g/b/a) [unorm] [ 0.134][d][vo/gpu/opengl] yuva420p10be [ 0.134][d][vo/gpu/opengl] yuva420p10 => 4 planes 2x2 16/-6 [r16/r16/r16/r16] (r/g/b/a) [unorm] [ 0.134][d][vo/gpu/opengl] yuva422p10be [ 0.134][d][vo/gpu/opengl] yuva422p10 => 4 planes 2x1 16/-6 [r16/r16/r16/r16] (r/g/b/a) [unorm] [ 0.134][d][vo/gpu/opengl] yuva444p10be [ 0.134][d][vo/gpu/opengl] yuva444p10 => 4 planes 1x1 16/-6 [r16/r16/r16/r16] (r/g/b/a) [unorm] [ 0.134][d][vo/gpu/opengl] yuva420p16be [ 0.134][d][vo/gpu/opengl] yuva420p16 => 4 planes 2x2 16/0 [r16/r16/r16/r16] (r/g/b/a) [unorm] [ 0.134][d][vo/gpu/opengl] yuva422p16be [ 0.134][d][vo/gpu/opengl] yuva422p16 => 4 planes 2x1 16/0 [r16/r16/r16/r16] (r/g/b/a) [unorm] [ 0.134][d][vo/gpu/opengl] yuva444p16be [ 0.135][d][vo/gpu/opengl] yuva444p16 => 4 planes 1x1 16/0 [r16/r16/r16/r16] (r/g/b/a) [unorm] [ 0.135][d][vo/gpu/opengl] xyz12 => 1 planes 1x1 16/4 [rgb16] (rgb) [unorm] [ 0.135][d][vo/gpu/opengl] xyz12be [ 0.135][d][vo/gpu/opengl] nv16 => 2 planes 2x1 8/0 [r8/rg8] (r/gb) [unorm] [ 0.135][d][vo/gpu/opengl] nv20 => 2 planes 2x1 16/-6 [r16/rg16] (r/gb) [unorm] [ 0.135][d][vo/gpu/opengl] nv20be [ 0.135][d][vo/gpu/opengl] rgba64be [ 0.135][d][vo/gpu/opengl] bgra64be [ 0.135][d][vo/gpu/opengl] bgra64 => 1 planes 1x1 16/0 [rgba16] (bgra) [unorm] [ 0.135][d][vo/gpu/opengl] yvyu422 [ 0.135][d][vo/gpu/opengl] ya16be [ 0.135][d][vo/gpu/opengl] ya16 => 1 planes 1x1 16/0 [rg16] (ra) [unorm] [ 0.135][d][vo/gpu/opengl] gbrap => 4 planes 1x1 8/0 [r8/r8/r8/r8] (g/b/r/a) [unorm] [ 0.135][d][vo/gpu/opengl] gbrap16be [ 0.135][d][vo/gpu/opengl] gbrap16 => 4 planes 1x1 16/0 [r16/r16/r16/r16] (g/b/r/a) [unorm] [ 0.135][d][vo/gpu/opengl] qsv [ 0.135][d][vo/gpu/opengl] d3d11va_vld [ 0.135][d][vo/gpu/opengl] yuv420p12be [ 0.135][d][vo/gpu/opengl] yuv420p12 => 3 planes 2x2 16/-4 [r16/r16/r16] (r/g/b) [unorm] [ 0.135][d][vo/gpu/opengl] yuv420p14be [ 0.135][d][vo/gpu/opengl] yuv420p14 => 3 planes 2x2 16/-2 [r16/r16/r16] (r/g/b) [unorm] [ 0.135][d][vo/gpu/opengl] yuv422p12be [ 0.135][d][vo/gpu/opengl] yuv422p12 => 3 planes 2x1 16/-4 [r16/r16/r16] (r/g/b) [unorm] [ 0.135][d][vo/gpu/opengl] yuv422p14be [ 0.135][d][vo/gpu/opengl] yuv422p14 => 3 planes 2x1 16/-2 [r16/r16/r16] (r/g/b) [unorm] [ 0.135][d][vo/gpu/opengl] yuv444p12be [ 0.135][d][vo/gpu/opengl] yuv444p12 => 3 planes 1x1 16/-4 [r16/r16/r16] (r/g/b) [unorm] [ 0.135][d][vo/gpu/opengl] yuv444p14be [ 0.135][d][vo/gpu/opengl] yuv444p14 => 3 planes 1x1 16/-2 [r16/r16/r16] (r/g/b) [unorm] [ 0.135][d][vo/gpu/opengl] gbrp12be [ 0.135][d][vo/gpu/opengl] gbrp12 => 3 planes 1x1 16/-4 [r16/r16/r16] (g/b/r) [unorm] [ 0.135][d][vo/gpu/opengl] gbrp14be [ 0.135][d][vo/gpu/opengl] gbrp14 => 3 planes 1x1 16/-2 [r16/r16/r16] (g/b/r) [unorm] [ 0.135][d][vo/gpu/opengl] yuvj411p => 3 planes 4x1 8/0 [r8/r8/r8] (r/g/b) [unorm] [ 0.135][d][vo/gpu/opengl] bayer_bggr8 [ 0.135][d][vo/gpu/opengl] bayer_rggb8 [ 0.135][d][vo/gpu/opengl] bayer_gbrg8 [ 0.135][d][vo/gpu/opengl] bayer_grbg8 [ 0.135][d][vo/gpu/opengl] bayer_bggr16 [ 0.135][d][vo/gpu/opengl] bayer_bggr16be [ 0.135][d][vo/gpu/opengl] bayer_rggb16 [ 0.135][d][vo/gpu/opengl] bayer_rggb16be [ 0.135][d][vo/gpu/opengl] bayer_gbrg16 [ 0.135][d][vo/gpu/opengl] bayer_gbrg16be [ 0.135][d][vo/gpu/opengl] bayer_grbg16 [ 0.135][d][vo/gpu/opengl] bayer_grbg16be [ 0.135][d][vo/gpu/opengl] xvmc [ 0.135][d][vo/gpu/opengl] yuv440p10 => 3 planes 1x2 16/-6 [r16/r16/r16] (r/g/b) [unorm] [ 0.135][d][vo/gpu/opengl] yuv440p10be [ 0.135][d][vo/gpu/opengl] yuv440p12 => 3 planes 1x2 16/-4 [r16/r16/r16] (r/g/b) [unorm] [ 0.135][d][vo/gpu/opengl] yuv440p12be [ 0.135][d][vo/gpu/opengl] ayuv64 => 1 planes 1x1 16/0 [rgba16] (argb) [unorm] [ 0.135][d][vo/gpu/opengl] ayuv64be [ 0.135][d][vo/gpu/opengl] p010be [ 0.135][d][vo/gpu/opengl] gbrap12be [ 0.135][d][vo/gpu/opengl] gbrap12 => 4 planes 1x1 16/-4 [r16/r16/r16/r16] (g/b/r/a) [unorm] [ 0.135][d][vo/gpu/opengl] gbrap10be [ 0.135][d][vo/gpu/opengl] gbrap10 => 4 planes 1x1 16/-6 [r16/r16/r16/r16] (g/b/r/a) [unorm] [ 0.135][d][vo/gpu/opengl] gray12be [ 0.135][d][vo/gpu/opengl] gray12 => 1 planes 1x1 16/-4 [r16] (r) [unorm] [ 0.135][d][vo/gpu/opengl] gray10be [ 0.135][d][vo/gpu/opengl] gray10 => 1 planes 1x1 16/-6 [r16] (r) [unorm] [ 0.135][d][vo/gpu/opengl] p016 => 2 planes 2x2 16/0 [r16/rg16] (r/gb) [unorm] [ 0.135][d][vo/gpu/opengl] p016be [ 0.135][d][vo/gpu/opengl] gray9be [ 0.135][d][vo/gpu/opengl] gray9 => 1 planes 1x1 16/-7 [r16] (r) [unorm] [ 0.135][d][vo/gpu/opengl] gbrpf32be [ 0.135][d][vo/gpu/opengl] gbrpf32 => 3 planes 1x1 32/0 [r16f/r16f/r16f] (g/b/r) [float] [ 0.135][d][vo/gpu/opengl] gbrapf32be [ 0.135][d][vo/gpu/opengl] gbrapf32 => 4 planes 1x1 32/0 [r16f/r16f/r16f/r16f] (g/b/r/a) [float] [ 0.135][d][vo/gpu/opengl] opencl [ 0.135][d][vo/gpu/opengl] gray14be [ 0.135][d][vo/gpu/opengl] gray14 => 1 planes 1x1 16/-2 [r16] (r) [unorm] [ 0.135][d][vo/gpu/opengl] grayf32be [ 0.135][d][vo/gpu/opengl] grayf32 => 1 planes 1x1 32/0 [r16f] (r) [float] [ 0.135][d][vo/gpu/opengl] yuva422p12be [ 0.135][d][vo/gpu/opengl] yuva422p12 => 4 planes 2x1 16/-4 [r16/r16/r16/r16] (r/g/b/a) [unorm] [ 0.135][d][vo/gpu/opengl] yuva444p12be [ 0.135][d][vo/gpu/opengl] yuva444p12 => 4 planes 1x1 16/-4 [r16/r16/r16/r16] (r/g/b/a) [unorm] [ 0.135][d][vo/gpu/opengl] nv24 => 2 planes 1x1 8/0 [r8/rg8] (r/gb) [unorm] [ 0.135][d][vo/gpu/opengl] nv42 => 2 planes 1x1 8/0 [r8/rg8] (r/bg) [unorm] [ 0.135][d][vo/gpu/opengl] vulkan [ 0.135][d][vo/gpu/opengl] y210be [ 0.135][d][vo/gpu/opengl] y210 [ 0.135][d][vo/gpu/opengl] x2rgb10be [ 0.135][d][vo/gpu/opengl] x2bgr10 [ 0.135][d][vo/gpu/opengl] x2bgr10be [ 0.135][d][vo/gpu/opengl] p210be [ 0.135][d][vo/gpu/opengl] p210 => 2 planes 2x1 16/6 [r16/rg16] (r/gb) [unorm] [ 0.135][d][vo/gpu/opengl] p410be [ 0.135][d][vo/gpu/opengl] p410 => 2 planes 1x1 16/6 [r16/rg16] (r/gb) [unorm] [ 0.135][d][vo/gpu/opengl] p216be [ 0.135][d][vo/gpu/opengl] p216 => 2 planes 2x1 16/0 [r16/rg16] (r/gb) [unorm] [ 0.135][d][vo/gpu/opengl] p416be [ 0.135][d][vo/gpu/opengl] p416 => 2 planes 1x1 16/0 [r16/rg16] (r/gb) [unorm] [ 0.135][v][vo/gpu] Testing FBO format rgba16f [ 0.135][d][vo/gpu] Resizing texture: 16x16 [ 0.135][v][vo/gpu] Using FBO format rgba16f. [ 0.135][v][vo/gpu] Assuming 59.950171 FPS for display sync. [ 0.136][v][vd] Container reported FPS: 30.000000 [ 0.136][v][vd] Codec list: [ 0.136][v][vd] h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 [ 0.136][v][vd] h264_v4l2m2m (h264) - V4L2 mem2mem H.264 decoder wrapper [ 0.136][v][vd] h264_qsv (h264) - H264 video (Intel Quick Sync Video acceleration) [ 0.136][v][vd] h264_cuvid (h264) - Nvidia CUVID H264 decoder [ 0.136][v][vd] Opening decoder h264 [ 0.136][v][vd] No hardware decoding requested. [ 0.136][v][vd] Using software decoding. [ 0.136][v][vd] Detected 12 logical cores. [ 0.136][v][vd] Requesting 13 threads for decoding. [ 0.140][v][vd] Selected codec: h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10) [ 0.140][v][vf] User filter list: [ 0.140][v][vf] (empty) [ 0.140][v][ad] Codec list: [ 0.140][v][ad] aac - AAC (Advanced Audio Coding) [ 0.140][v][ad] aac_fixed (aac) - AAC (Advanced Audio Coding) [ 0.140][v][ad] Opening decoder aac [ 0.140][v][ad] Requesting 1 threads for decoding. [ 0.141][v][ad] Selected codec: aac (AAC (Advanced Audio Coding)) [ 0.141][v][af] User filter list: [ 0.141][v][af] (empty) [ 0.141][v][cplayer] Starting playback... [ 0.141][v][file] stream level seek from 333055466 to 48 [ 0.141][d][lavf] stream 1: resize index to 128 [ 0.141][d][osc] osc_init [ 0.141][v][af] [in] 24000Hz stereo 2ch floatp [ 0.141][v][af] [userspeed] 24000Hz stereo 2ch floatp [ 0.142][v][af] [userspeed] (disabled) [ 0.142][v][af] [convert] 24000Hz stereo 2ch floatp [ 0.142][d][lavf] stream 0: resize index to 128 [ 0.142][d][ffmpeg/video] h264: Reinit context to 864x480, pix_fmt: yuv420p [ 0.142][d][vd] DR parameter change to 864x482 yuv420p align=64 [ 0.142][d][vd] Allocating new DR image... [ 0.143][d][vd] Allocating new DR image... [ 0.144][d][vd] Allocating new DR image... [ 0.144][d][vd] Allocating new DR image... [ 0.145][d][vd] Allocating new DR image... [ 0.146][d][vd] Allocating new DR image... [ 0.147][d][vd] Allocating new DR image... [ 0.147][d][vd] Allocating new DR image... [ 0.148][d][vd] Allocating new DR image... [ 0.148][d][vd] Allocating new DR image... [ 0.149][d][vd] Allocating new DR image... [ 0.150][d][vd] Allocating new DR image... [ 0.151][d][vd] Allocating new DR image... [ 0.151][d][vd] Allocating new DR image... [ 0.151][v][vd] Using software decoding. [ 0.151][d][vd] Allocating new DR image... [ 0.151][v][vd] Decoder format: 852x480 [640:639] yuv420p auto/auto/auto/auto/auto CL=mpeg2/4/h264 [ 0.151][v][vd] Using container aspect ratio. [ 0.151][v][vf] [in] 852x480 [640:639] yuv420p bt.601/bt.601-525/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264 [ 0.151][v][vf] [userdeint] 852x480 [640:639] yuv420p bt.601/bt.601-525/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264 [ 0.152][v][vf] [userdeint] (disabled) [ 0.152][v][vf] [autorotate] 852x480 [640:639] yuv420p bt.601/bt.601-525/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264 [ 0.152][v][vf] [autorotate] (disabled) [ 0.152][v][vf] [convert] 852x480 [640:639] yuv420p bt.601/bt.601-525/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264 [ 0.152][v][vf] [convert] (disabled) [ 0.152][v][vf] [out] 852x480 [640:639] yuv420p bt.601/bt.601-525/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264 [ 0.152][v][ao] Trying audio driver 'pipewire' [ 0.152][v][ao/pipewire] requested format: 24000 Hz, stereo channels, floatp [ 0.155][d][ao/pipewire] Stream state changed: old_state=0 state=1 error=(null) [ 0.156][v][ao/pipewire] device buffer: 480 samples. [ 0.156][v][ao/pipewire] using soft-buffer of 4800 samples. [ 0.156][i][cplayer] AO: [pipewire] 24000Hz stereo 2ch floatp [ 0.156][v][cplayer] AO: Description: PipeWire audio output [ 0.156][v][af] [convert] (disabled) [ 0.156][v][af] [out] 24000Hz stereo 2ch floatp [ 0.156][i][cplayer] VO: [gpu] 852x480 => 853x480 yuv420p [ 0.156][v][cplayer] VO: Description: Shader-based GPU Renderer [ 0.156][d][vd] Allocating new DR image... [ 0.156][v][vo/gpu] reconfig to 852x480 [640:639] yuv420p bt.601/bt.601-525/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264 [ 0.156][d][ao/pipewire] Stream state changed: old_state=1 state=2 error=(null) [ 0.156][d][vo/gpu] max content size: 1920x1200 [ 0.156][d][vo/gpu] monitor size: 1920x1200 [ 0.168][d][lavf] stream 1: resize index to 256 [ 0.168][v][vo/gpu] Resize: 853x480 [ 0.168][v][vo/gpu] Window size: 853x480 (Borders: l=0 t=0 r=0 b=0) [ 0.168][v][vo/gpu] Video source: 852x480 (640:639) [ 0.168][v][vo/gpu] Video display: (0, 0) 852x480 -> (0, 0) 853x480 [ 0.168][v][vo/gpu] Video scale: 1.001174/1.000000 [ 0.168][v][vo/gpu] OSD borders: l=0 t=0 r=0 b=0 [ 0.168][v][vo/gpu] Video borders: l=0 t=0 r=0 b=0 [ 0.168][v][vo/gpu] Reported display depth: 8 [ 0.168][v][vo/gpu] Texture for plane 0: 852x480 [ 0.173][v][vo/gpu] Texture for plane 1: 426x240 [ 0.173][v][vo/gpu] Texture for plane 2: 426x240 [ 0.173][v][vo/gpu] Testing FBO format rgba16f [ 0.173][d][vo/gpu] Resizing texture: 16x16 [ 0.173][v][vo/gpu] Using FBO format rgba16f. [ 0.174][v][vo/gpu] DR enabled: yes [ 0.175][d][vo/gpu] Resizing texture: 426x240 [ 0.186][d][vo/gpu/opengl] vertex shader source: [ 0.186][d][vo/gpu/opengl] [ 1] #version 440 [ 0.186][d][vo/gpu/opengl] [ 2] #define tex1D texture [ 0.186][d][vo/gpu/opengl] [ 3] #define tex3D texture [ 0.186][d][vo/gpu/opengl] [ 4] #define LUT_POS(x, lut_size) mix(0.5 / (lut_size), 1.0 - 0.5 / (lut_size), (x)) [ 0.186][d][vo/gpu/opengl] [ 5] in vec2 vertex_position; [ 0.186][d][vo/gpu/opengl] [ 6] in vec2 vertex_texcoord0; [ 0.186][d][vo/gpu/opengl] [ 7] out vec2 texcoord0; [ 0.186][d][vo/gpu/opengl] [ 8] in vec2 vertex_texcoord1; [ 0.186][d][vo/gpu/opengl] [ 9] out vec2 texcoord1; [ 0.186][d][vo/gpu/opengl] [ 10] void main() { [ 0.186][d][vo/gpu/opengl] [ 11] gl_Position = vec4(vertex_position, 1.0, 1.0); [ 0.186][d][vo/gpu/opengl] [ 12] texcoord0 = vertex_texcoord0; [ 0.186][d][vo/gpu/opengl] [ 13] texcoord1 = vertex_texcoord1; [ 0.186][d][vo/gpu/opengl] [ 14] } [ 0.187][d][vo/gpu/opengl] fragment shader source: [ 0.187][d][vo/gpu/opengl] [ 1] #version 440 [ 0.187][d][vo/gpu/opengl] [ 2] #define tex1D texture [ 0.187][d][vo/gpu/opengl] [ 3] #define tex3D texture [ 0.187][d][vo/gpu/opengl] [ 4] #define LUT_POS(x, lut_size) mix(0.5 / (lut_size), 1.0 - 0.5 / (lut_size), (x)) [ 0.187][d][vo/gpu/opengl] [ 5] out vec4 out_color; [ 0.187][d][vo/gpu/opengl] [ 6] in vec2 texcoord0; [ 0.187][d][vo/gpu/opengl] [ 7] in vec2 texcoord1; [ 0.187][d][vo/gpu/opengl] [ 8] layout(std140, binding=0) uniform UBO { [ 0.187][d][vo/gpu/opengl] [ 9] layout(offset=0) vec2 texture_size0; [ 0.187][d][vo/gpu/opengl] [ 10] layout(offset=16) mat2 texture_rot0; [ 0.187][d][vo/gpu/opengl] [ 11] layout(offset=48) vec2 texture_off0; [ 0.187][d][vo/gpu/opengl] [ 12] layout(offset=56) vec2 pixel_size0; [ 0.187][d][vo/gpu/opengl] [ 13] layout(offset=64) vec2 texture_size1; [ 0.187][d][vo/gpu/opengl] [ 14] layout(offset=80) mat2 texture_rot1; [ 0.187][d][vo/gpu/opengl] [ 15] layout(offset=112) vec2 texture_off1; [ 0.187][d][vo/gpu/opengl] [ 16] layout(offset=120) vec2 pixel_size1; [ 0.187][d][vo/gpu/opengl] [ 17] }; [ 0.187][d][vo/gpu/opengl] [ 18] uniform sampler2D texture0; [ 0.187][d][vo/gpu/opengl] [ 19] uniform sampler2D texture1; [ 0.187][d][vo/gpu/opengl] [ 20] void main() { [ 0.187][d][vo/gpu/opengl] [ 21] vec4 color = vec4(0.0, 0.0, 0.0, 1.0); [ 0.187][d][vo/gpu/opengl] [ 22] // merging plane 1 ... [ 0.187][d][vo/gpu/opengl] [ 23] color.r = 1.000000 * vec4(texture(texture0, texcoord0)).r; [ 0.187][d][vo/gpu/opengl] [ 24] // merging plane 2 ... into 1 [ 0.187][d][vo/gpu/opengl] [ 25] color.g = 1.000000 * vec4(texture(texture1, texcoord1)).r; [ 0.187][d][vo/gpu/opengl] [ 26] out_color = color; [ 0.187][d][vo/gpu/opengl] [ 27] } [ 0.187][d][vo/gpu/opengl] shader link log (status=1): [ 0.188][d][vo/gpu] Resizing texture: 852x480 [ 0.189][d][vo/gpu/opengl] vertex shader source: [ 0.189][d][vo/gpu/opengl] [ 1] #version 440 [ 0.189][d][vo/gpu/opengl] [ 2] #define tex1D texture [ 0.189][d][vo/gpu/opengl] [ 3] #define tex3D texture [ 0.189][d][vo/gpu/opengl] [ 4] #define LUT_POS(x, lut_size) mix(0.5 / (lut_size), 1.0 - 0.5 / (lut_size), (x)) [ 0.189][d][vo/gpu/opengl] [ 5] in vec2 vertex_position; [ 0.189][d][vo/gpu/opengl] [ 6] in vec2 vertex_texcoord0; [ 0.189][d][vo/gpu/opengl] [ 7] out vec2 texcoord0; [ 0.189][d][vo/gpu/opengl] [ 8] void main() { [ 0.189][d][vo/gpu/opengl] [ 9] gl_Position = vec4(vertex_position, 1.0, 1.0); [ 0.189][d][vo/gpu/opengl] [ 10] texcoord0 = vertex_texcoord0; [ 0.189][d][vo/gpu/opengl] [ 11] } [ 0.191][d][vo/gpu/opengl] fragment shader source: [ 0.191][d][vo/gpu/opengl] [ 1] #version 440 [ 0.191][d][vo/gpu/opengl] [ 2] #define tex1D texture [ 0.191][d][vo/gpu/opengl] [ 3] #define tex3D texture [ 0.191][d][vo/gpu/opengl] [ 4] #define LUT_POS(x, lut_size) mix(0.5 / (lut_size), 1.0 - 0.5 / (lut_size), (x)) [ 0.191][d][vo/gpu/opengl] [ 5] out vec4 out_color; [ 0.191][d][vo/gpu/opengl] [ 6] in vec2 texcoord0; [ 0.191][d][vo/gpu/opengl] [ 7] layout(std140, binding=0) uniform UBO { [ 0.191][d][vo/gpu/opengl] [ 8] layout(offset=0) vec2 texture_size0; [ 0.191][d][vo/gpu/opengl] [ 9] layout(offset=16) mat2 texture_rot0; [ 0.191][d][vo/gpu/opengl] [ 10] layout(offset=48) vec2 texture_off0; [ 0.191][d][vo/gpu/opengl] [ 11] layout(offset=56) vec2 pixel_size0; [ 0.191][d][vo/gpu/opengl] [ 12] }; [ 0.191][d][vo/gpu/opengl] [ 13] uniform float random; [ 0.191][d][vo/gpu/opengl] [ 14] uniform sampler2D texture0; [ 0.191][d][vo/gpu/opengl] [ 15] #define HOOKED_raw texture0 [ 0.191][d][vo/gpu/opengl] [ 16] #define HOOKED_pos texcoord0 [ 0.191][d][vo/gpu/opengl] [ 17] #define HOOKED_size texture_size0 [ 0.191][d][vo/gpu/opengl] [ 18] #define HOOKED_rot texture_rot0 [ 0.191][d][vo/gpu/opengl] [ 19] #define HOOKED_off texture_off0 [ 0.191][d][vo/gpu/opengl] [ 20] #define HOOKED_pt pixel_size0 [ 0.191][d][vo/gpu/opengl] [ 21] #define HOOKED_map texmap0 [ 0.191][d][vo/gpu/opengl] [ 22] #define HOOKED_mul 1.000000 [ 0.191][d][vo/gpu/opengl] [ 23] #define HOOKED_tex(pos) (HOOKED_mul * vec4(texture(HOOKED_raw, pos)).rgba) [ 0.191][d][vo/gpu/opengl] [ 24] #define HOOKED_gather(pos, c) (HOOKED_mul * vec4(textureGather(HOOKED_raw, pos, c))) [ 0.191][d][vo/gpu/opengl] [ 25] #define HOOKED_texOff(off) HOOKED_tex(HOOKED_pos + HOOKED_pt * vec2(off)) [ 0.191][d][vo/gpu/opengl] [ 26] #define LUMA_raw texture0 [ 0.191][d][vo/gpu/opengl] [ 27] #define LUMA_pos texcoord0 [ 0.191][d][vo/gpu/opengl] [ 28] #define LUMA_size texture_size0 [ 0.191][d][vo/gpu/opengl] [ 29] #define LUMA_rot texture_rot0 [ 0.191][d][vo/gpu/opengl] [ 30] #define LUMA_off texture_off0 [ 0.191][d][vo/gpu/opengl] [ 31] #define LUMA_pt pixel_size0 [ 0.191][d][vo/gpu/opengl] [ 32] #define LUMA_map texmap0 [ 0.191][d][vo/gpu/opengl] [ 33] #define LUMA_mul 1.000000 [ 0.191][d][vo/gpu/opengl] [ 34] #define LUMA_tex(pos) (LUMA_mul * vec4(texture(LUMA_raw, pos)).rgba) [ 0.191][d][vo/gpu/opengl] [ 35] #define LUMA_gather(pos, c) (LUMA_mul * vec4(textureGather(LUMA_raw, pos, c))) [ 0.191][d][vo/gpu/opengl] [ 36] #define LUMA_texOff(off) LUMA_tex(LUMA_pos + LUMA_pt * vec2(off)) [ 0.191][d][vo/gpu/opengl] [ 37] float mod289(float x) { return x - floor(x * 1.0/289.0) * 289.0; } [ 0.191][d][vo/gpu/opengl] [ 38] float permute(float x) { [ 0.191][d][vo/gpu/opengl] [ 39] return mod289( mod289(34.0*x + 1.0) * (fract(x) + 1.0) ); [ 0.191][d][vo/gpu/opengl] [ 40] } [ 0.191][d][vo/gpu/opengl] [ 41] float rand(float x) { return fract(x * 1.0/41.0); } [ 0.191][d][vo/gpu/opengl] [ 42] vec4 average(float range, inout float h) { [ 0.191][d][vo/gpu/opengl] [ 43] float dist = rand(h) * range; h = permute(h); [ 0.191][d][vo/gpu/opengl] [ 44] float dir = rand(h) * 6.2831853; h = permute(h); [ 0.191][d][vo/gpu/opengl] [ 45] vec2 o = dist * vec2(cos(dir), sin(dir)); [ 0.191][d][vo/gpu/opengl] [ 46] vec4 ref[4]; [ 0.191][d][vo/gpu/opengl] [ 47] ref[0] = HOOKED_texOff(vec2( o.x, o.y)); [ 0.191][d][vo/gpu/opengl] [ 48] ref[1] = HOOKED_texOff(vec2(-o.y, o.x)); [ 0.191][d][vo/gpu/opengl] [ 49] ref[2] = HOOKED_texOff(vec2(-o.x, -o.y)); [ 0.191][d][vo/gpu/opengl] [ 50] ref[3] = HOOKED_texOff(vec2( o.y, -o.x)); [ 0.191][d][vo/gpu/opengl] [ 51] return (ref[0] + ref[1] + ref[2] + ref[3])*0.25; [ 0.191][d][vo/gpu/opengl] [ 52] } [ 0.191][d][vo/gpu/opengl] [ 53] void main() { [ 0.191][d][vo/gpu/opengl] [ 54] vec4 color = vec4(0.0, 0.0, 0.0, 1.0); [ 0.191][d][vo/gpu/opengl] [ 55] { [ 0.191][d][vo/gpu/opengl] [ 56] vec3 _m = vec3(HOOKED_pos, random) + vec3(1.0); [ 0.191][d][vo/gpu/opengl] [ 57] float h = permute(permute(permute(_m.x)+_m.y)+_m.z); [ 0.191][d][vo/gpu/opengl] [ 58] color = HOOKED_tex(HOOKED_pos); [ 0.191][d][vo/gpu/opengl] [ 59] vec4 avg, diff; [ 0.191][d][vo/gpu/opengl] [ 60] avg = average(16.000000, h); [ 0.191][d][vo/gpu/opengl] [ 61] diff = abs(color - avg); [ 0.191][d][vo/gpu/opengl] [ 62] color = mix(avg, color, bvec4(greaterThan(diff, vec4(0.001953)))); [ 0.191][d][vo/gpu/opengl] [ 63] vec3 noise; [ 0.191][d][vo/gpu/opengl] [ 64] noise.x = rand(h); h = permute(h); [ 0.191][d][vo/gpu/opengl] [ 65] noise.y = rand(h); h = permute(h); [ 0.191][d][vo/gpu/opengl] [ 66] noise.z = rand(h); h = permute(h); [ 0.191][d][vo/gpu/opengl] [ 67] color.xyz += 0.005859 * (noise - vec3(0.5)); [ 0.191][d][vo/gpu/opengl] [ 68] } [ 0.191][d][vo/gpu/opengl] [ 69] color.g = 0.000000; [ 0.191][d][vo/gpu/opengl] [ 70] color.b = 0.000000; [ 0.191][d][vo/gpu/opengl] [ 71] color.a = 1.000000; [ 0.191][d][vo/gpu/opengl] [ 72] out_color = color; [ 0.191][d][vo/gpu/opengl] [ 73] } [ 0.193][d][vo/gpu/opengl] shader link log (status=1): [ 0.193][d][vo/gpu] Resizing texture: 426x240 [ 0.193][d][vo/gpu/opengl] vertex shader source: [ 0.193][d][vo/gpu/opengl] [ 1] #version 440 [ 0.193][d][vo/gpu/opengl] [ 2] #define tex1D texture [ 0.193][d][vo/gpu/opengl] [ 3] #define tex3D texture [ 0.193][d][vo/gpu/opengl] [ 4] #define LUT_POS(x, lut_size) mix(0.5 / (lut_size), 1.0 - 0.5 / (lut_size), (x)) [ 0.193][d][vo/gpu/opengl] [ 5] in vec2 vertex_position; [ 0.193][d][vo/gpu/opengl] [ 6] in vec2 vertex_texcoord0; [ 0.193][d][vo/gpu/opengl] [ 7] out vec2 texcoord0; [ 0.193][d][vo/gpu/opengl] [ 8] void main() { [ 0.193][d][vo/gpu/opengl] [ 9] gl_Position = vec4(vertex_position, 1.0, 1.0); [ 0.193][d][vo/gpu/opengl] [ 10] texcoord0 = vertex_texcoord0; [ 0.193][d][vo/gpu/opengl] [ 11] } [ 0.195][d][vo/gpu/opengl] fragment shader source: [ 0.195][d][vo/gpu/opengl] [ 1] #version 440 [ 0.195][d][vo/gpu/opengl] [ 2] #define tex1D texture [ 0.195][d][vo/gpu/opengl] [ 3] #define tex3D texture [ 0.195][d][vo/gpu/opengl] [ 4] #define LUT_POS(x, lut_size) mix(0.5 / (lut_size), 1.0 - 0.5 / (lut_size), (x)) [ 0.195][d][vo/gpu/opengl] [ 5] out vec4 out_color; [ 0.195][d][vo/gpu/opengl] [ 6] in vec2 texcoord0; [ 0.195][d][vo/gpu/opengl] [ 7] layout(std140, binding=0) uniform UBO { [ 0.195][d][vo/gpu/opengl] [ 8] layout(offset=0) vec2 texture_size0; [ 0.195][d][vo/gpu/opengl] [ 9] layout(offset=16) mat2 texture_rot0; [ 0.195][d][vo/gpu/opengl] [ 10] layout(offset=48) vec2 texture_off0; [ 0.195][d][vo/gpu/opengl] [ 11] layout(offset=56) vec2 pixel_size0; [ 0.195][d][vo/gpu/opengl] [ 12] }; [ 0.195][d][vo/gpu/opengl] [ 13] uniform float random; [ 0.195][d][vo/gpu/opengl] [ 14] uniform sampler2D texture0; [ 0.195][d][vo/gpu/opengl] [ 15] #define HOOKED_raw texture0 [ 0.195][d][vo/gpu/opengl] [ 16] #define HOOKED_pos texcoord0 [ 0.195][d][vo/gpu/opengl] [ 17] #define HOOKED_size texture_size0 [ 0.195][d][vo/gpu/opengl] [ 18] #define HOOKED_rot texture_rot0 [ 0.195][d][vo/gpu/opengl] [ 19] #define HOOKED_off texture_off0 [ 0.195][d][vo/gpu/opengl] [ 20] #define HOOKED_pt pixel_size0 [ 0.195][d][vo/gpu/opengl] [ 21] #define HOOKED_map texmap0 [ 0.195][d][vo/gpu/opengl] [ 22] #define HOOKED_mul 1.000000 [ 0.195][d][vo/gpu/opengl] [ 23] #define HOOKED_tex(pos) (HOOKED_mul * vec4(texture(HOOKED_raw, pos)).rgba) [ 0.195][d][vo/gpu/opengl] [ 24] #define HOOKED_gather(pos, c) (HOOKED_mul * vec4(textureGather(HOOKED_raw, pos, c))) [ 0.195][d][vo/gpu/opengl] [ 25] #define HOOKED_texOff(off) HOOKED_tex(HOOKED_pos + HOOKED_pt * vec2(off)) [ 0.195][d][vo/gpu/opengl] [ 26] #define CHROMA_raw texture0 [ 0.195][d][vo/gpu/opengl] [ 27] #define CHROMA_pos texcoord0 [ 0.195][d][vo/gpu/opengl] [ 28] #define CHROMA_size texture_size0 [ 0.195][d][vo/gpu/opengl] [ 29] #define CHROMA_rot texture_rot0 [ 0.195][d][vo/gpu/opengl] [ 30] #define CHROMA_off texture_off0 [ 0.195][d][vo/gpu/opengl] [ 31] #define CHROMA_pt pixel_size0 [ 0.195][d][vo/gpu/opengl] [ 32] #define CHROMA_map texmap0 [ 0.195][d][vo/gpu/opengl] [ 33] #define CHROMA_mul 1.000000 [ 0.195][d][vo/gpu/opengl] [ 34] #define CHROMA_tex(pos) (CHROMA_mul * vec4(texture(CHROMA_raw, pos)).rgba) [ 0.195][d][vo/gpu/opengl] [ 35] #define CHROMA_gather(pos, c) (CHROMA_mul * vec4(textureGather(CHROMA_raw, pos, c))) [ 0.195][d][vo/gpu/opengl] [ 36] #define CHROMA_texOff(off) CHROMA_tex(CHROMA_pos + CHROMA_pt * vec2(off)) [ 0.195][d][vo/gpu/opengl] [ 37] float mod289(float x) { return x - floor(x * 1.0/289.0) * 289.0; } [ 0.195][d][vo/gpu/opengl] [ 38] float permute(float x) { [ 0.195][d][vo/gpu/opengl] [ 39] return mod289( mod289(34.0*x + 1.0) * (fract(x) + 1.0) ); [ 0.195][d][vo/gpu/opengl] [ 40] } [ 0.195][d][vo/gpu/opengl] [ 41] float rand(float x) { return fract(x * 1.0/41.0); } [ 0.195][d][vo/gpu/opengl] [ 42] vec4 average(float range, inout float h) { [ 0.195][d][vo/gpu/opengl] [ 43] float dist = rand(h) * range; h = permute(h); [ 0.195][d][vo/gpu/opengl] [ 44] float dir = rand(h) * 6.2831853; h = permute(h); [ 0.195][d][vo/gpu/opengl] [ 45] vec2 o = dist * vec2(cos(dir), sin(dir)); [ 0.195][d][vo/gpu/opengl] [ 46] vec4 ref[4]; [ 0.195][d][vo/gpu/opengl] [ 47] ref[0] = HOOKED_texOff(vec2( o.x, o.y)); [ 0.195][d][vo/gpu/opengl] [ 48] ref[1] = HOOKED_texOff(vec2(-o.y, o.x)); [ 0.195][d][vo/gpu/opengl] [ 49] ref[2] = HOOKED_texOff(vec2(-o.x, -o.y)); [ 0.195][d][vo/gpu/opengl] [ 50] ref[3] = HOOKED_texOff(vec2( o.y, -o.x)); [ 0.195][d][vo/gpu/opengl] [ 51] return (ref[0] + ref[1] + ref[2] + ref[3])*0.25; [ 0.195][d][vo/gpu/opengl] [ 52] } [ 0.195][d][vo/gpu/opengl] [ 53] void main() { [ 0.195][d][vo/gpu/opengl] [ 54] vec4 color = vec4(0.0, 0.0, 0.0, 1.0); [ 0.195][d][vo/gpu/opengl] [ 55] { [ 0.195][d][vo/gpu/opengl] [ 56] vec3 _m = vec3(HOOKED_pos, random) + vec3(1.0); [ 0.195][d][vo/gpu/opengl] [ 57] float h = permute(permute(permute(_m.x)+_m.y)+_m.z); [ 0.195][d][vo/gpu/opengl] [ 58] color = HOOKED_tex(HOOKED_pos); [ 0.195][d][vo/gpu/opengl] [ 59] vec4 avg, diff; [ 0.195][d][vo/gpu/opengl] [ 60] avg = average(16.000000, h); [ 0.195][d][vo/gpu/opengl] [ 61] diff = abs(color - avg); [ 0.195][d][vo/gpu/opengl] [ 62] color = mix(avg, color, bvec4(greaterThan(diff, vec4(0.001953)))); [ 0.195][d][vo/gpu/opengl] [ 63] vec3 noise; [ 0.195][d][vo/gpu/opengl] [ 64] noise.x = rand(h); h = permute(h); [ 0.195][d][vo/gpu/opengl] [ 65] noise.y = rand(h); h = permute(h); [ 0.195][d][vo/gpu/opengl] [ 66] noise.z = rand(h); h = permute(h); [ 0.195][d][vo/gpu/opengl] [ 67] color.xyz += 0.005859 * (noise - vec3(0.5)); [ 0.195][d][vo/gpu/opengl] [ 68] } [ 0.195][d][vo/gpu/opengl] [ 69] color.b = 0.000000; [ 0.195][d][vo/gpu/opengl] [ 70] color.a = 1.000000; [ 0.195][d][vo/gpu/opengl] [ 71] out_color = color; [ 0.195][d][vo/gpu/opengl] [ 72] } [ 0.197][d][lavf] stream 0: resize index to 256 [ 0.197][d][lavf] stream 1: resize index to 512 [ 0.198][d][vo/gpu/opengl] shader link log (status=1): [ 0.212][d][vo/gpu] Resizing texture: 426x480 [ 0.212][d][vo/gpu/opengl] vertex shader source: [ 0.212][d][vo/gpu/opengl] [ 1] #version 440 [ 0.212][d][vo/gpu/opengl] [ 2] #define tex1D texture [ 0.212][d][vo/gpu/opengl] [ 3] #define tex3D texture [ 0.212][d][vo/gpu/opengl] [ 4] #define LUT_POS(x, lut_size) mix(0.5 / (lut_size), 1.0 - 0.5 / (lut_size), (x)) [ 0.212][d][vo/gpu/opengl] [ 5] in vec2 vertex_position; [ 0.212][d][vo/gpu/opengl] [ 6] in vec2 vertex_texcoord0; [ 0.212][d][vo/gpu/opengl] [ 7] out vec2 texcoord0; [ 0.212][d][vo/gpu/opengl] [ 8] void main() { [ 0.212][d][vo/gpu/opengl] [ 9] gl_Position = vec4(vertex_position, 1.0, 1.0); [ 0.212][d][vo/gpu/opengl] [ 10] texcoord0 = vertex_texcoord0; [ 0.212][d][vo/gpu/opengl] [ 11] } [ 0.213][d][vo/gpu/opengl] fragment shader source: [ 0.213][d][vo/gpu/opengl] [ 1] #version 440 [ 0.213][d][vo/gpu/opengl] [ 2] #define tex1D texture [ 0.213][d][vo/gpu/opengl] [ 3] #define tex3D texture [ 0.213][d][vo/gpu/opengl] [ 4] #define LUT_POS(x, lut_size) mix(0.5 / (lut_size), 1.0 - 0.5 / (lut_size), (x)) [ 0.213][d][vo/gpu/opengl] [ 5] out vec4 out_color; [ 0.213][d][vo/gpu/opengl] [ 6] in vec2 texcoord0; [ 0.213][d][vo/gpu/opengl] [ 7] layout(std140, binding=0) uniform UBO { [ 0.213][d][vo/gpu/opengl] [ 8] layout(offset=0) vec2 texture_size0; [ 0.213][d][vo/gpu/opengl] [ 9] layout(offset=16) mat2 texture_rot0; [ 0.213][d][vo/gpu/opengl] [ 10] layout(offset=48) vec2 texture_off0; [ 0.213][d][vo/gpu/opengl] [ 11] layout(offset=56) vec2 pixel_size0; [ 0.213][d][vo/gpu/opengl] [ 12] }; [ 0.213][d][vo/gpu/opengl] [ 13] uniform sampler2D lut; [ 0.213][d][vo/gpu/opengl] [ 14] uniform sampler2D texture0; [ 0.213][d][vo/gpu/opengl] [ 15] void main() { [ 0.213][d][vo/gpu/opengl] [ 16] vec4 color = vec4(0.0, 0.0, 0.0, 1.0); [ 0.213][d][vo/gpu/opengl] [ 17] // upscaling plane 1 [ 0.213][d][vo/gpu/opengl] [ 18] #undef tex [ 0.213][d][vo/gpu/opengl] [ 19] #undef texmap [ 0.213][d][vo/gpu/opengl] [ 20] #define tex texture0 [ 0.214][d][vo/gpu/opengl] [ 21] #define texmap texmap0 [ 0.214][d][vo/gpu/opengl] [ 22] vec2 pos = texcoord0; [ 0.214][d][vo/gpu/opengl] [ 23] vec2 size = texture_size0; [ 0.214][d][vo/gpu/opengl] [ 24] vec2 pt = pixel_size0; [ 0.214][d][vo/gpu/opengl] [ 25] // first pass [ 0.214][d][vo/gpu/opengl] [ 26] color = vec4(0.0); [ 0.214][d][vo/gpu/opengl] [ 27] { [ 0.214][d][vo/gpu/opengl] [ 28] vec2 dir = vec2(0.0, 1.0); [ 0.214][d][vo/gpu/opengl] [ 29] pt *= dir; [ 0.214][d][vo/gpu/opengl] [ 30] float fcoord = dot(fract(pos * size - vec2(0.5)), dir); [ 0.214][d][vo/gpu/opengl] [ 31] vec2 base = pos - fcoord * pt - pt * vec2(2.0); [ 0.214][d][vo/gpu/opengl] [ 32] vec4 c; [ 0.214][d][vo/gpu/opengl] [ 33] float ypos = LUT_POS(fcoord, 64.0); [ 0.214][d][vo/gpu/opengl] [ 34] float weights[6]; [ 0.214][d][vo/gpu/opengl] [ 35] c = texture(lut, vec2(0.250000, ypos)); [ 0.214][d][vo/gpu/opengl] [ 36] weights[0] = c[0]; [ 0.214][d][vo/gpu/opengl] [ 37] weights[1] = c[1]; [ 0.214][d][vo/gpu/opengl] [ 38] weights[2] = c[2]; [ 0.214][d][vo/gpu/opengl] [ 39] weights[3] = c[3]; [ 0.214][d][vo/gpu/opengl] [ 40] c = texture(lut, vec2(0.750000, ypos)); [ 0.214][d][vo/gpu/opengl] [ 41] weights[4] = c[0]; [ 0.214][d][vo/gpu/opengl] [ 42] weights[5] = c[1]; [ 0.214][d][vo/gpu/opengl] [ 43] // scaler samples [ 0.214][d][vo/gpu/opengl] [ 44] c = texture(tex, base + pt * vec2(0.0)); [ 0.214][d][vo/gpu/opengl] [ 45] color += vec4(weights[0]) * c; [ 0.214][d][vo/gpu/opengl] [ 46] c = texture(tex, base + pt * vec2(1.0)); [ 0.214][d][vo/gpu/opengl] [ 47] color += vec4(weights[1]) * c; [ 0.214][d][vo/gpu/opengl] [ 48] c = texture(tex, base + pt * vec2(2.0)); [ 0.214][d][vo/gpu/opengl] [ 49] color += vec4(weights[2]) * c; [ 0.214][d][vo/gpu/opengl] [ 50] c = texture(tex, base + pt * vec2(3.0)); [ 0.214][d][vo/gpu/opengl] [ 51] color += vec4(weights[3]) * c; [ 0.214][d][vo/gpu/opengl] [ 52] c = texture(tex, base + pt * vec2(4.0)); [ 0.214][d][vo/gpu/opengl] [ 53] color += vec4(weights[4]) * c; [ 0.214][d][vo/gpu/opengl] [ 54] c = texture(tex, base + pt * vec2(5.0)); [ 0.214][d][vo/gpu/opengl] [ 55] color += vec4(weights[5]) * c; [ 0.214][d][vo/gpu/opengl] [ 56] } [ 0.214][d][vo/gpu/opengl] [ 57] color *= 1.000000; [ 0.214][d][vo/gpu/opengl] [ 58] out_color = color; [ 0.214][d][vo/gpu/opengl] [ 59] } [ 0.215][d][vo/gpu/opengl] shader link log (status=1): [ 0.216][d][vo/gpu] Resizing texture: 852x480 [ 0.216][d][vo/gpu/opengl] vertex shader source: [ 0.216][d][vo/gpu/opengl] [ 1] #version 440 [ 0.216][d][vo/gpu/opengl] [ 2] #define tex1D texture [ 0.216][d][vo/gpu/opengl] [ 3] #define tex3D texture [ 0.216][d][vo/gpu/opengl] [ 4] #define LUT_POS(x, lut_size) mix(0.5 / (lut_size), 1.0 - 0.5 / (lut_size), (x)) [ 0.216][d][vo/gpu/opengl] [ 5] in vec2 vertex_position; [ 0.216][d][vo/gpu/opengl] [ 6] in vec2 vertex_texcoord0; [ 0.216][d][vo/gpu/opengl] [ 7] out vec2 texcoord0; [ 0.216][d][vo/gpu/opengl] [ 8] void main() { [ 0.216][d][vo/gpu/opengl] [ 9] gl_Position = vec4(vertex_position, 1.0, 1.0); [ 0.216][d][vo/gpu/opengl] [ 10] texcoord0 = vertex_texcoord0; [ 0.216][d][vo/gpu/opengl] [ 11] } [ 0.217][d][vo/gpu/opengl] fragment shader source: [ 0.217][d][vo/gpu/opengl] [ 1] #version 440 [ 0.217][d][vo/gpu/opengl] [ 2] #define tex1D texture [ 0.217][d][vo/gpu/opengl] [ 3] #define tex3D texture [ 0.217][d][vo/gpu/opengl] [ 4] #define LUT_POS(x, lut_size) mix(0.5 / (lut_size), 1.0 - 0.5 / (lut_size), (x)) [ 0.217][d][vo/gpu/opengl] [ 5] out vec4 out_color; [ 0.217][d][vo/gpu/opengl] [ 6] in vec2 texcoord0; [ 0.217][d][vo/gpu/opengl] [ 7] layout(std140, binding=0) uniform UBO { [ 0.217][d][vo/gpu/opengl] [ 8] layout(offset=0) vec2 texture_size0; [ 0.217][d][vo/gpu/opengl] [ 9] layout(offset=16) mat2 texture_rot0; [ 0.217][d][vo/gpu/opengl] [ 10] layout(offset=48) vec2 texture_off0; [ 0.217][d][vo/gpu/opengl] [ 11] layout(offset=56) vec2 pixel_size0; [ 0.217][d][vo/gpu/opengl] [ 12] }; [ 0.217][d][vo/gpu/opengl] [ 13] uniform sampler2D lut; [ 0.217][d][vo/gpu/opengl] [ 14] uniform sampler2D texture0; [ 0.217][d][vo/gpu/opengl] [ 15] void main() { [ 0.217][d][vo/gpu/opengl] [ 16] vec4 color = vec4(0.0, 0.0, 0.0, 1.0); [ 0.217][d][vo/gpu/opengl] [ 17] #undef tex [ 0.217][d][vo/gpu/opengl] [ 18] #undef texmap [ 0.217][d][vo/gpu/opengl] [ 19] #define tex texture0 [ 0.217][d][vo/gpu/opengl] [ 20] #define texmap texmap0 [ 0.217][d][vo/gpu/opengl] [ 21] vec2 pos = texcoord0; [ 0.217][d][vo/gpu/opengl] [ 22] vec2 size = texture_size0; [ 0.217][d][vo/gpu/opengl] [ 23] vec2 pt = pixel_size0; [ 0.217][d][vo/gpu/opengl] [ 24] color = vec4(0.0); [ 0.217][d][vo/gpu/opengl] [ 25] { [ 0.217][d][vo/gpu/opengl] [ 26] vec2 dir = vec2(1.0, 0.0); [ 0.217][d][vo/gpu/opengl] [ 27] pt *= dir; [ 0.217][d][vo/gpu/opengl] [ 28] float fcoord = dot(fract(pos * size - vec2(0.5)), dir); [ 0.217][d][vo/gpu/opengl] [ 29] vec2 base = pos - fcoord * pt - pt * vec2(2.0); [ 0.217][d][vo/gpu/opengl] [ 30] vec4 c; [ 0.217][d][vo/gpu/opengl] [ 31] float ypos = LUT_POS(fcoord, 64.0); [ 0.217][d][vo/gpu/opengl] [ 32] float weights[6]; [ 0.217][d][vo/gpu/opengl] [ 33] c = texture(lut, vec2(0.250000, ypos)); [ 0.217][d][vo/gpu/opengl] [ 34] weights[0] = c[0]; [ 0.217][d][vo/gpu/opengl] [ 35] weights[1] = c[1]; [ 0.217][d][vo/gpu/opengl] [ 36] weights[2] = c[2]; [ 0.217][d][vo/gpu/opengl] [ 37] weights[3] = c[3]; [ 0.217][d][vo/gpu/opengl] [ 38] c = texture(lut, vec2(0.750000, ypos)); [ 0.217][d][vo/gpu/opengl] [ 39] weights[4] = c[0]; [ 0.217][d][vo/gpu/opengl] [ 40] weights[5] = c[1]; [ 0.217][d][vo/gpu/opengl] [ 41] // scaler samples [ 0.217][d][vo/gpu/opengl] [ 42] c = texture(tex, base + pt * vec2(0.0)); [ 0.217][d][vo/gpu/opengl] [ 43] color += vec4(weights[0]) * c; [ 0.217][d][vo/gpu/opengl] [ 44] c = texture(tex, base + pt * vec2(1.0)); [ 0.217][d][vo/gpu/opengl] [ 45] color += vec4(weights[1]) * c; [ 0.217][d][vo/gpu/opengl] [ 46] c = texture(tex, base + pt * vec2(2.0)); [ 0.217][d][vo/gpu/opengl] [ 47] color += vec4(weights[2]) * c; [ 0.217][d][vo/gpu/opengl] [ 48] c = texture(tex, base + pt * vec2(3.0)); [ 0.217][d][vo/gpu/opengl] [ 49] color += vec4(weights[3]) * c; [ 0.217][d][vo/gpu/opengl] [ 50] c = texture(tex, base + pt * vec2(4.0)); [ 0.217][d][vo/gpu/opengl] [ 51] color += vec4(weights[4]) * c; [ 0.217][d][vo/gpu/opengl] [ 52] c = texture(tex, base + pt * vec2(5.0)); [ 0.217][d][vo/gpu/opengl] [ 53] color += vec4(weights[5]) * c; [ 0.217][d][vo/gpu/opengl] [ 54] } [ 0.217][d][vo/gpu/opengl] [ 55] color.b = 0.000000; [ 0.217][d][vo/gpu/opengl] [ 56] color.a = 1.000000; [ 0.217][d][vo/gpu/opengl] [ 57] out_color = color; [ 0.217][d][vo/gpu/opengl] [ 58] } [ 0.218][d][vo/gpu/opengl] shader link log (status=1): [ 0.218][d][vo/gpu] Resizing texture: 852x480 [ 0.219][d][vo/gpu/opengl] vertex shader source: [ 0.219][d][vo/gpu/opengl] [ 1] #version 440 [ 0.219][d][vo/gpu/opengl] [ 2] #define tex1D texture [ 0.219][d][vo/gpu/opengl] [ 3] #define tex3D texture [ 0.219][d][vo/gpu/opengl] [ 4] #define LUT_POS(x, lut_size) mix(0.5 / (lut_size), 1.0 - 0.5 / (lut_size), (x)) [ 0.219][d][vo/gpu/opengl] [ 5] in vec2 vertex_position; [ 0.219][d][vo/gpu/opengl] [ 6] in vec2 vertex_texcoord0; [ 0.219][d][vo/gpu/opengl] [ 7] out vec2 texcoord0; [ 0.219][d][vo/gpu/opengl] [ 8] in vec2 vertex_texcoord1; [ 0.219][d][vo/gpu/opengl] [ 9] out vec2 texcoord1; [ 0.219][d][vo/gpu/opengl] [ 10] void main() { [ 0.219][d][vo/gpu/opengl] [ 11] gl_Position = vec4(vertex_position, 1.0, 1.0); [ 0.219][d][vo/gpu/opengl] [ 12] texcoord0 = vertex_texcoord0; [ 0.219][d][vo/gpu/opengl] [ 13] texcoord1 = vertex_texcoord1; [ 0.219][d][vo/gpu/opengl] [ 14] } [ 0.219][d][vo/gpu/opengl] fragment shader source: [ 0.219][d][vo/gpu/opengl] [ 1] #version 440 [ 0.219][d][vo/gpu/opengl] [ 2] #define tex1D texture [ 0.219][d][vo/gpu/opengl] [ 3] #define tex3D texture [ 0.219][d][vo/gpu/opengl] [ 4] #define LUT_POS(x, lut_size) mix(0.5 / (lut_size), 1.0 - 0.5 / (lut_size), (x)) [ 0.219][d][vo/gpu/opengl] [ 5] out vec4 out_color; [ 0.219][d][vo/gpu/opengl] [ 6] in vec2 texcoord0; [ 0.219][d][vo/gpu/opengl] [ 7] in vec2 texcoord1; [ 0.219][d][vo/gpu/opengl] [ 8] layout(std140, binding=0) uniform UBO { [ 0.219][d][vo/gpu/opengl] [ 9] layout(offset=0) mat3 colormatrix; [ 0.219][d][vo/gpu/opengl] [ 10] layout(offset=48) vec3 colormatrix_c; [ 0.219][d][vo/gpu/opengl] [ 11] layout(offset=64) vec2 texture_size0; [ 0.219][d][vo/gpu/opengl] [ 12] layout(offset=80) mat2 texture_rot0; [ 0.219][d][vo/gpu/opengl] [ 13] layout(offset=112) vec2 texture_off0; [ 0.219][d][vo/gpu/opengl] [ 14] layout(offset=120) vec2 pixel_size0; [ 0.219][d][vo/gpu/opengl] [ 15] layout(offset=128) vec2 texture_size1; [ 0.219][d][vo/gpu/opengl] [ 16] layout(offset=144) mat2 texture_rot1; [ 0.219][d][vo/gpu/opengl] [ 17] layout(offset=176) vec2 texture_off1; [ 0.219][d][vo/gpu/opengl] [ 18] layout(offset=184) vec2 pixel_size1; [ 0.219][d][vo/gpu/opengl] [ 19] }; [ 0.219][d][vo/gpu/opengl] [ 20] uniform sampler2D texture0; [ 0.219][d][vo/gpu/opengl] [ 21] uniform sampler2D texture1; [ 0.219][d][vo/gpu/opengl] [ 22] void main() { [ 0.219][d][vo/gpu/opengl] [ 23] vec4 color = vec4(0.0, 0.0, 0.0, 1.0); [ 0.219][d][vo/gpu/opengl] [ 24] color.r = 1.000000 * vec4(texture(texture0, texcoord0)).r; [ 0.219][d][vo/gpu/opengl] [ 25] color.gb = 1.000000 * vec4(texture(texture1, texcoord1)).rg; [ 0.219][d][vo/gpu/opengl] [ 26] color = color.rgbr; [ 0.219][d][vo/gpu/opengl] [ 27] color.rgb = mat3(colormatrix) * color.rgb + colormatrix_c; [ 0.219][d][vo/gpu/opengl] [ 28] color.a = 1.0; [ 0.219][d][vo/gpu/opengl] [ 29] // scaler pre-conversion [ 0.219][d][vo/gpu/opengl] [ 30] // linearize [ 0.219][d][vo/gpu/opengl] [ 31] color.rgb = clamp(color.rgb, 0.0, 1.0); [ 0.219][d][vo/gpu/opengl] [ 32] color.rgb = pow(color.rgb, vec3(2.4)); [ 0.219][d][vo/gpu/opengl] [ 33] color.rgb *= vec3(1.0/1.000000); [ 0.219][d][vo/gpu/opengl] [ 34] color.rgb = clamp(color.rgb, 0.0, 1.0); [ 0.219][d][vo/gpu/opengl] [ 35] color.rgb = 0.750000 - log(1.0/(color.rgb * 0.827906 + 0.007577) - 1.0) * 1.0/6.500000; [ 0.219][d][vo/gpu/opengl] [ 36] // main scaling [ 0.219][d][vo/gpu/opengl] [ 37] out_color = color; [ 0.219][d][vo/gpu/opengl] [ 38] } [ 0.221][d][vo/gpu/opengl] shader link log (status=1): [ 0.226][d][vo/gpu] Resizing texture: 852x480 [ 0.227][d][vo/gpu/opengl] vertex shader source: [ 0.227][d][vo/gpu/opengl] [ 1] #version 440 [ 0.227][d][vo/gpu/opengl] [ 2] #define tex1D texture [ 0.227][d][vo/gpu/opengl] [ 3] #define tex3D texture [ 0.227][d][vo/gpu/opengl] [ 4] #define LUT_POS(x, lut_size) mix(0.5 / (lut_size), 1.0 - 0.5 / (lut_size), (x)) [ 0.227][d][vo/gpu/opengl] [ 5] in vec2 vertex_position; [ 0.227][d][vo/gpu/opengl] [ 6] in vec2 vertex_texcoord0; [ 0.227][d][vo/gpu/opengl] [ 7] out vec2 texcoord0; [ 0.227][d][vo/gpu/opengl] [ 8] void main() { [ 0.227][d][vo/gpu/opengl] [ 9] gl_Position = vec4(vertex_position, 1.0, 1.0); [ 0.227][d][vo/gpu/opengl] [ 10] texcoord0 = vertex_texcoord0; [ 0.227][d][vo/gpu/opengl] [ 11] } [ 0.228][d][vo/gpu/opengl] fragment shader source: [ 0.228][d][vo/gpu/opengl] [ 1] #version 440 [ 0.228][d][vo/gpu/opengl] [ 2] #define tex1D texture [ 0.228][d][vo/gpu/opengl] [ 3] #define tex3D texture [ 0.228][d][vo/gpu/opengl] [ 4] #define LUT_POS(x, lut_size) mix(0.5 / (lut_size), 1.0 - 0.5 / (lut_size), (x)) [ 0.228][d][vo/gpu/opengl] [ 5] out vec4 out_color; [ 0.228][d][vo/gpu/opengl] [ 6] in vec2 texcoord0; [ 0.228][d][vo/gpu/opengl] [ 7] layout(std140, binding=0) uniform UBO { [ 0.228][d][vo/gpu/opengl] [ 8] layout(offset=0) vec2 texture_size0; [ 0.228][d][vo/gpu/opengl] [ 9] layout(offset=16) mat2 texture_rot0; [ 0.228][d][vo/gpu/opengl] [ 10] layout(offset=48) vec2 texture_off0; [ 0.228][d][vo/gpu/opengl] [ 11] layout(offset=56) vec2 pixel_size0; [ 0.228][d][vo/gpu/opengl] [ 12] }; [ 0.228][d][vo/gpu/opengl] [ 13] uniform sampler2D lut; [ 0.228][d][vo/gpu/opengl] [ 14] uniform sampler2D texture0; [ 0.228][d][vo/gpu/opengl] [ 15] void main() { [ 0.228][d][vo/gpu/opengl] [ 16] vec4 color = vec4(0.0, 0.0, 0.0, 1.0); [ 0.228][d][vo/gpu/opengl] [ 17] #undef tex [ 0.228][d][vo/gpu/opengl] [ 18] #undef texmap [ 0.228][d][vo/gpu/opengl] [ 19] #define tex texture0 [ 0.228][d][vo/gpu/opengl] [ 20] #define texmap texmap0 [ 0.228][d][vo/gpu/opengl] [ 21] vec2 pos = texcoord0; [ 0.228][d][vo/gpu/opengl] [ 22] vec2 size = texture_size0; [ 0.228][d][vo/gpu/opengl] [ 23] vec2 pt = pixel_size0; [ 0.228][d][vo/gpu/opengl] [ 24] // first pass [ 0.228][d][vo/gpu/opengl] [ 25] color = vec4(0.0); [ 0.228][d][vo/gpu/opengl] [ 26] { [ 0.228][d][vo/gpu/opengl] [ 27] vec2 dir = vec2(0.0, 1.0); [ 0.228][d][vo/gpu/opengl] [ 28] pt *= dir; [ 0.228][d][vo/gpu/opengl] [ 29] float fcoord = dot(fract(pos * size - vec2(0.5)), dir); [ 0.228][d][vo/gpu/opengl] [ 30] vec2 base = pos - fcoord * pt - pt * vec2(2.0); [ 0.228][d][vo/gpu/opengl] [ 31] vec4 c; [ 0.228][d][vo/gpu/opengl] [ 32] float ypos = LUT_POS(fcoord, 64.0); [ 0.228][d][vo/gpu/opengl] [ 33] float weights[6]; [ 0.228][d][vo/gpu/opengl] [ 34] c = texture(lut, vec2(0.250000, ypos)); [ 0.228][d][vo/gpu/opengl] [ 35] weights[0] = c[0]; [ 0.228][d][vo/gpu/opengl] [ 36] weights[1] = c[1]; [ 0.228][d][vo/gpu/opengl] [ 37] weights[2] = c[2]; [ 0.228][d][vo/gpu/opengl] [ 38] weights[3] = c[3]; [ 0.228][d][vo/gpu/opengl] [ 39] c = texture(lut, vec2(0.750000, ypos)); [ 0.228][d][vo/gpu/opengl] [ 40] weights[4] = c[0]; [ 0.228][d][vo/gpu/opengl] [ 41] weights[5] = c[1]; [ 0.228][d][vo/gpu/opengl] [ 42] // scaler samples [ 0.228][d][vo/gpu/opengl] [ 43] c = texture(tex, base + pt * vec2(0.0)); [ 0.228][d][vo/gpu/opengl] [ 44] color += vec4(weights[0]) * c; [ 0.228][d][vo/gpu/opengl] [ 45] c = texture(tex, base + pt * vec2(1.0)); [ 0.228][d][vo/gpu/opengl] [ 46] color += vec4(weights[1]) * c; [ 0.228][d][vo/gpu/opengl] [ 47] c = texture(tex, base + pt * vec2(2.0)); [ 0.228][d][vo/gpu/opengl] [ 48] color += vec4(weights[2]) * c; [ 0.228][d][vo/gpu/opengl] [ 49] c = texture(tex, base + pt * vec2(3.0)); [ 0.228][d][vo/gpu/opengl] [ 50] color += vec4(weights[3]) * c; [ 0.228][d][vo/gpu/opengl] [ 51] c = texture(tex, base + pt * vec2(4.0)); [ 0.228][d][vo/gpu/opengl] [ 52] color += vec4(weights[4]) * c; [ 0.228][d][vo/gpu/opengl] [ 53] c = texture(tex, base + pt * vec2(5.0)); [ 0.228][d][vo/gpu/opengl] [ 54] color += vec4(weights[5]) * c; [ 0.228][d][vo/gpu/opengl] [ 55] } [ 0.228][d][vo/gpu/opengl] [ 56] color *= 1.000000; [ 0.228][d][vo/gpu/opengl] [ 57] out_color = color; [ 0.228][d][vo/gpu/opengl] [ 58] } [ 0.229][d][vo/gpu/opengl] shader link log (status=1): [ 0.229][v][vo/gpu] Dither to 8. [ 0.251][d][lavf] stream 0: resize index to 512 [ 0.253][d][lavf] stream 1: resize index to 1024 [ 0.269][d][vo/gpu/opengl] vertex shader source: [ 0.269][d][vo/gpu/opengl] [ 1] #version 440 [ 0.269][d][vo/gpu/opengl] [ 2] #define tex1D texture [ 0.269][d][vo/gpu/opengl] [ 3] #define tex3D texture [ 0.269][d][vo/gpu/opengl] [ 4] #define LUT_POS(x, lut_size) mix(0.5 / (lut_size), 1.0 - 0.5 / (lut_size), (x)) [ 0.269][d][vo/gpu/opengl] [ 5] in vec2 vertex_position; [ 0.269][d][vo/gpu/opengl] [ 6] in vec2 vertex_texcoord0; [ 0.269][d][vo/gpu/opengl] [ 7] out vec2 texcoord0; [ 0.269][d][vo/gpu/opengl] [ 8] void main() { [ 0.269][d][vo/gpu/opengl] [ 9] gl_Position = vec4(vertex_position, 1.0, 1.0); [ 0.269][d][vo/gpu/opengl] [ 10] texcoord0 = vertex_texcoord0; [ 0.269][d][vo/gpu/opengl] [ 11] } [ 0.270][d][vo/gpu/opengl] fragment shader source: [ 0.270][d][vo/gpu/opengl] [ 1] #version 440 [ 0.270][d][vo/gpu/opengl] [ 2] #define tex1D texture [ 0.270][d][vo/gpu/opengl] [ 3] #define tex3D texture [ 0.270][d][vo/gpu/opengl] [ 4] #define LUT_POS(x, lut_size) mix(0.5 / (lut_size), 1.0 - 0.5 / (lut_size), (x)) [ 0.270][d][vo/gpu/opengl] [ 5] out vec4 out_color; [ 0.270][d][vo/gpu/opengl] [ 6] in vec2 texcoord0; [ 0.270][d][vo/gpu/opengl] [ 7] layout(std140, binding=0) uniform UBO { [ 0.270][d][vo/gpu/opengl] [ 8] layout(offset=0) vec3 src_luma; [ 0.270][d][vo/gpu/opengl] [ 9] layout(offset=16) vec3 dst_luma; [ 0.270][d][vo/gpu/opengl] [ 10] layout(offset=32) vec2 texture_size0; [ 0.270][d][vo/gpu/opengl] [ 11] layout(offset=48) mat2 texture_rot0; [ 0.270][d][vo/gpu/opengl] [ 12] layout(offset=80) vec2 texture_off0; [ 0.270][d][vo/gpu/opengl] [ 13] layout(offset=88) vec2 pixel_size0; [ 0.270][d][vo/gpu/opengl] [ 14] }; [ 0.270][d][vo/gpu/opengl] [ 15] uniform sampler2D lut; [ 0.270][d][vo/gpu/opengl] [ 16] uniform sampler2D dither; [ 0.270][d][vo/gpu/opengl] [ 17] uniform sampler2D texture0; [ 0.270][d][vo/gpu/opengl] [ 18] void main() { [ 0.270][d][vo/gpu/opengl] [ 19] vec4 color = vec4(0.0, 0.0, 0.0, 1.0); [ 0.270][d][vo/gpu/opengl] [ 20] #undef tex [ 0.270][d][vo/gpu/opengl] [ 21] #undef texmap [ 0.270][d][vo/gpu/opengl] [ 22] #define tex texture0 [ 0.270][d][vo/gpu/opengl] [ 23] #define texmap texmap0 [ 0.270][d][vo/gpu/opengl] [ 24] vec2 pos = texcoord0; [ 0.270][d][vo/gpu/opengl] [ 25] vec2 size = texture_size0; [ 0.270][d][vo/gpu/opengl] [ 26] vec2 pt = pixel_size0; [ 0.270][d][vo/gpu/opengl] [ 27] color = vec4(0.0); [ 0.270][d][vo/gpu/opengl] [ 28] { [ 0.270][d][vo/gpu/opengl] [ 29] vec2 dir = vec2(1.0, 0.0); [ 0.270][d][vo/gpu/opengl] [ 30] pt *= dir; [ 0.270][d][vo/gpu/opengl] [ 31] float fcoord = dot(fract(pos * size - vec2(0.5)), dir); [ 0.270][d][vo/gpu/opengl] [ 32] vec2 base = pos - fcoord * pt - pt * vec2(2.0); [ 0.270][d][vo/gpu/opengl] [ 33] vec4 c; [ 0.270][d][vo/gpu/opengl] [ 34] float ypos = LUT_POS(fcoord, 64.0); [ 0.270][d][vo/gpu/opengl] [ 35] float weights[6]; [ 0.270][d][vo/gpu/opengl] [ 36] c = texture(lut, vec2(0.250000, ypos)); [ 0.270][d][vo/gpu/opengl] [ 37] weights[0] = c[0]; [ 0.270][d][vo/gpu/opengl] [ 38] weights[1] = c[1]; [ 0.270][d][vo/gpu/opengl] [ 39] weights[2] = c[2]; [ 0.270][d][vo/gpu/opengl] [ 40] weights[3] = c[3]; [ 0.270][d][vo/gpu/opengl] [ 41] c = texture(lut, vec2(0.750000, ypos)); [ 0.270][d][vo/gpu/opengl] [ 42] weights[4] = c[0]; [ 0.270][d][vo/gpu/opengl] [ 43] weights[5] = c[1]; [ 0.270][d][vo/gpu/opengl] [ 44] // scaler samples [ 0.270][d][vo/gpu/opengl] [ 45] c = texture(tex, base + pt * vec2(0.0)); [ 0.270][d][vo/gpu/opengl] [ 46] color += vec4(weights[0]) * c; [ 0.270][d][vo/gpu/opengl] [ 47] c = texture(tex, base + pt * vec2(1.0)); [ 0.270][d][vo/gpu/opengl] [ 48] color += vec4(weights[1]) * c; [ 0.270][d][vo/gpu/opengl] [ 49] c = texture(tex, base + pt * vec2(2.0)); [ 0.270][d][vo/gpu/opengl] [ 50] color += vec4(weights[2]) * c; [ 0.270][d][vo/gpu/opengl] [ 51] c = texture(tex, base + pt * vec2(3.0)); [ 0.270][d][vo/gpu/opengl] [ 52] color += vec4(weights[3]) * c; [ 0.270][d][vo/gpu/opengl] [ 53] c = texture(tex, base + pt * vec2(4.0)); [ 0.270][d][vo/gpu/opengl] [ 54] color += vec4(weights[4]) * c; [ 0.270][d][vo/gpu/opengl] [ 55] c = texture(tex, base + pt * vec2(5.0)); [ 0.270][d][vo/gpu/opengl] [ 56] color += vec4(weights[5]) * c; [ 0.270][d][vo/gpu/opengl] [ 57] } [ 0.270][d][vo/gpu/opengl] [ 58] color.a = 1.000000; [ 0.270][d][vo/gpu/opengl] [ 59] // scaler post-conversion [ 0.270][d][vo/gpu/opengl] [ 60] color.rgb = clamp(color.rgb, 0.0, 1.0); [ 0.270][d][vo/gpu/opengl] [ 61] color.rgb = (1.0/(1.0 + exp(6.500000 * (0.750000 - color.rgb))) - 0.007577) * 1.0/0.827906; [ 0.270][d][vo/gpu/opengl] [ 62] // color mapping [ 0.270][d][vo/gpu/opengl] [ 63] color.rgb *= vec3(1.000000); [ 0.270][d][vo/gpu/opengl] [ 64] color.rgb *= vec3(1.000000); [ 0.270][d][vo/gpu/opengl] [ 65] // delinearize [ 0.270][d][vo/gpu/opengl] [ 66] color.rgb = clamp(color.rgb, 0.0, 1.0); [ 0.270][d][vo/gpu/opengl] [ 67] color.rgb *= vec3(1.000000); [ 0.270][d][vo/gpu/opengl] [ 68] color.rgb = pow(color.rgb, vec3(1.0/2.4)); [ 0.270][d][vo/gpu/opengl] [ 69] // dithering [ 0.270][d][vo/gpu/opengl] [ 70] vec2 dither_pos = gl_FragCoord.xy * 1.0/64.0; [ 0.270][d][vo/gpu/opengl] [ 71] float dither_value = texture(dither, dither_pos).r; [ 0.270][d][vo/gpu/opengl] [ 72] color = floor(color * 255.0 + dither_value + 0.5 / 4096.0) * 1.0/255.0; [ 0.270][d][vo/gpu/opengl] [ 73] out_color = color; [ 0.270][d][vo/gpu/opengl] [ 74] } [ 0.273][d][vo/gpu/opengl] shader link log (status=1): [ 0.281][v][cplayer] first video frame after restart shown [ 0.281][d][vo/gpu] Resizing texture: 853x480 [ 0.281][v][cplayer] audio ready [ 0.281][d][cplayer] starting video playback [ 0.281][v][cplayer] delaying audio start 0.066000 vs. 0.066000, diff=0.000000 [ 0.281][v][cplayer] playback restart complete @ 0.066000, audio=ready, video=playing (paused) [ 0.281][d][vo/gpu/opengl] vertex shader source: [ 0.281][d][vo/gpu/opengl] [ 1] #version 440 [ 0.281][d][vo/gpu/opengl] [ 2] #define tex1D texture [ 0.281][d][vo/gpu/opengl] [ 3] #define tex3D texture [ 0.281][d][vo/gpu/opengl] [ 4] #define LUT_POS(x, lut_size) mix(0.5 / (lut_size), 1.0 - 0.5 / (lut_size), (x)) [ 0.281][d][vo/gpu/opengl] [ 5] in vec2 vertex_position; [ 0.281][d][vo/gpu/opengl] [ 6] in vec2 vertex_texcoord0; [ 0.281][d][vo/gpu/opengl] [ 7] out vec2 texcoord0; [ 0.281][d][vo/gpu/opengl] [ 8] void main() { [ 0.281][d][vo/gpu/opengl] [ 9] gl_Position = vec4(vertex_position, 1.0, 1.0); [ 0.281][d][vo/gpu/opengl] [ 10] texcoord0 = vertex_texcoord0; [ 0.281][d][vo/gpu/opengl] [ 11] } [ 0.281][d][vo/gpu/opengl] fragment shader source: [ 0.281][d][vo/gpu/opengl] [ 1] #version 440 [ 0.281][d][vo/gpu/opengl] [ 2] #define tex1D texture [ 0.281][d][vo/gpu/opengl] [ 3] #define tex3D texture [ 0.282][d][vo/gpu/opengl] [ 4] #define LUT_POS(x, lut_size) mix(0.5 / (lut_size), 1.0 - 0.5 / (lut_size), (x)) [ 0.282][d][vo/gpu/opengl] [ 5] out vec4 out_color; [ 0.282][d][vo/gpu/opengl] [ 6] in vec2 texcoord0; [ 0.282][d][vo/gpu/opengl] [ 7] layout(std140, binding=0) uniform UBO { [ 0.282][d][vo/gpu/opengl] [ 8] layout(offset=0) vec3 src_luma; [ 0.282][d][vo/gpu/opengl] [ 9] layout(offset=16) vec3 dst_luma; [ 0.282][d][vo/gpu/opengl] [ 10] layout(offset=32) vec2 texture_size0; [ 0.282][d][vo/gpu/opengl] [ 11] layout(offset=48) mat2 texture_rot0; [ 0.282][d][vo/gpu/opengl] [ 12] layout(offset=80) vec2 texture_off0; [ 0.282][d][vo/gpu/opengl] [ 13] layout(offset=88) vec2 pixel_size0; [ 0.282][d][vo/gpu/opengl] [ 14] }; [ 0.282][d][vo/gpu/opengl] [ 15] uniform sampler2D lut; [ 0.282][d][vo/gpu/opengl] [ 16] uniform sampler2D dither; [ 0.282][d][vo/gpu/opengl] [ 17] uniform sampler2D texture0; [ 0.282][d][vo/gpu/opengl] [ 18] void main() { [ 0.282][d][vo/gpu/opengl] [ 19] vec4 color = vec4(0.0, 0.0, 0.0, 1.0); [ 0.282][d][vo/gpu/opengl] [ 20] #undef tex [ 0.282][d][vo/gpu/opengl] [ 21] #undef texmap [ 0.282][d][vo/gpu/opengl] [ 22] #define tex texture0 [ 0.282][d][vo/gpu/opengl] [ 23] #define texmap texmap0 [ 0.282][d][vo/gpu/opengl] [ 24] vec2 pos = texcoord0; [ 0.282][d][vo/gpu/opengl] [ 25] vec2 size = texture_size0; [ 0.282][d][vo/gpu/opengl] [ 26] vec2 pt = pixel_size0; [ 0.282][d][vo/gpu/opengl] [ 27] color = vec4(0.0); [ 0.282][d][vo/gpu/opengl] [ 28] { [ 0.282][d][vo/gpu/opengl] [ 29] vec2 dir = vec2(1.0, 0.0); [ 0.282][d][vo/gpu/opengl] [ 30] pt *= dir; [ 0.282][d][vo/gpu/opengl] [ 31] float fcoord = dot(fract(pos * size - vec2(0.5)), dir); [ 0.282][d][vo/gpu/opengl] [ 32] vec2 base = pos - fcoord * pt - pt * vec2(2.0); [ 0.282][d][vo/gpu/opengl] [ 33] vec4 c; [ 0.282][d][vo/gpu/opengl] [ 34] float ypos = LUT_POS(fcoord, 64.0); [ 0.282][d][vo/gpu/opengl] [ 35] float weights[6]; [ 0.282][d][vo/gpu/opengl] [ 36] c = texture(lut, vec2(0.250000, ypos)); [ 0.282][d][vo/gpu/opengl] [ 37] weights[0] = c[0]; [ 0.282][d][vo/gpu/opengl] [ 38] weights[1] = c[1]; [ 0.282][d][vo/gpu/opengl] [ 39] weights[2] = c[2]; [ 0.282][d][vo/gpu/opengl] [ 40] weights[3] = c[3]; [ 0.282][d][vo/gpu/opengl] [ 41] c = texture(lut, vec2(0.750000, ypos)); [ 0.282][d][vo/gpu/opengl] [ 42] weights[4] = c[0]; [ 0.282][d][vo/gpu/opengl] [ 43] weights[5] = c[1]; [ 0.282][d][vo/gpu/opengl] [ 44] // scaler samples [ 0.282][d][vo/gpu/opengl] [ 45] c = texture(tex, base + pt * vec2(0.0)); [ 0.282][d][vo/gpu/opengl] [ 46] color += vec4(weights[0]) * c; [ 0.282][d][vo/gpu/opengl] [ 47] c = texture(tex, base + pt * vec2(1.0)); [ 0.282][d][vo/gpu/opengl] [ 48] color += vec4(weights[1]) * c; [ 0.282][d][vo/gpu/opengl] [ 49] c = texture(tex, base + pt * vec2(2.0)); [ 0.282][d][vo/gpu/opengl] [ 50] color += vec4(weights[2]) * c; [ 0.282][d][vo/gpu/opengl] [ 51] c = texture(tex, base + pt * vec2(3.0)); [ 0.282][d][vo/gpu/opengl] [ 52] color += vec4(weights[3]) * c; [ 0.282][d][vo/gpu/opengl] [ 53] c = texture(tex, base + pt * vec2(4.0)); [ 0.282][d][vo/gpu/opengl] [ 54] color += vec4(weights[4]) * c; [ 0.282][d][vo/gpu/opengl] [ 55] c = texture(tex, base + pt * vec2(5.0)); [ 0.282][d][vo/gpu/opengl] [ 56] color += vec4(weights[5]) * c; [ 0.282][d][vo/gpu/opengl] [ 57] } [ 0.282][d][vo/gpu/opengl] [ 58] color.a = 1.000000; [ 0.282][d][vo/gpu/opengl] [ 59] // scaler post-conversion [ 0.282][d][vo/gpu/opengl] [ 60] color.rgb = clamp(color.rgb, 0.0, 1.0); [ 0.282][d][vo/gpu/opengl] [ 61] color.rgb = (1.0/(1.0 + exp(6.500000 * (0.750000 - color.rgb))) - 0.007577) * 1.0/0.827906; [ 0.282][d][vo/gpu/opengl] [ 62] // color mapping [ 0.282][d][vo/gpu/opengl] [ 63] color.rgb *= vec3(1.000000); [ 0.282][d][vo/gpu/opengl] [ 64] color.rgb *= vec3(1.000000); [ 0.282][d][vo/gpu/opengl] [ 65] // delinearize [ 0.282][d][vo/gpu/opengl] [ 66] color.rgb = clamp(color.rgb, 0.0, 1.0); [ 0.282][d][vo/gpu/opengl] [ 67] color.rgb *= vec3(1.000000); [ 0.282][d][vo/gpu/opengl] [ 68] color.rgb = pow(color.rgb, vec3(1.0/2.4)); [ 0.282][d][vo/gpu/opengl] [ 69] // dithering [ 0.282][d][vo/gpu/opengl] [ 70] vec2 dither_pos = gl_FragCoord.xy * 1.0/64.0; [ 0.282][d][vo/gpu/opengl] [ 71] float dither_value = texture(dither, dither_pos).r; [ 0.282][d][vo/gpu/opengl] [ 72] color = floor(color * 255.0 + dither_value + 0.5 / 4096.0) * 1.0/255.0; [ 0.282][d][vo/gpu/opengl] [ 73] out_color = color; [ 0.282][d][vo/gpu/opengl] [ 74] } [ 0.282][d][vo/gpu/opengl] shader link log (status=1): [ 0.282][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.282][v][cplayer] Set property: shared-script-properties -> 1 [ 0.282][d][cplayer] Run command: disable-section, flags=64, args=[name="window-controls"] [ 0.282][d][osc] osc_init [ 0.283][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.283][v][cplayer] Set property: shared-script-properties -> 1 [ 0.283][d][cplayer] Run command: disable-section, flags=64, args=[name="window-controls"] [ 0.283][d][cplayer] Run command: disable-section, flags=64, args=[name="window-controls"] [ 0.331][d][cplayer] Run command: disable-section, flags=64, args=[name="window-controls"] [ 0.392][d][cplayer] Run command: disable-section, flags=64, args=[name="window-controls"] [ 2.268][d][cplayer] Run command: quit, flags=73, args=[code="0"] [ 2.268][v][cplayer] EOF code: 5 [ 2.269][d][ad] Uninit decoder. [ 2.269][d][vd] Uninit decoder. [ 2.271][d][cplayer] Terminating demuxers... [ 2.310][d][cplayer] Run command: disable-section, flags=64, args=[name="window-controls"] [ 2.317][d][cplayer] Done terminating demuxers. [ 2.317][v][cplayer] finished playback, success (reason 3) [ 2.317][i][cplayer] [ 2.317][i][cplayer] Exiting... (Quit) [ 2.317][d][chapter_make_read] Exiting... [ 2.317][d][easycrop] Exiting... [ 2.317][d][stats] Exiting... [ 2.317][d][console] Exiting... [ 2.317][d][ytdl_hook] Exiting... [ 2.317][d][cplayer] Run command: change-list, flags=64, args=[name="shared-script-properties", operation="remove", value="osc-margins"] [ 2.317][v][cplayer] Set property: shared-script-properties -> 1 [ 2.318][d][osc] Exiting... [ 2.323][d][vo/gpu] flushing shader cache [ 2.332][d][vo/gpu/x11] uninit ... ```
dyphire commented 1 year ago

I don't see any errors in your log, please make sure there are external chapter file with name is Testvideo_chapter.chp in the playback directory.

dyphire commented 1 year ago

I found that this was due to the script of chapter-make-read.lua is failure to properly handle the relative path, and fixed it in the latest commit of https://github.com/dyphire/mpv-scripts/commit/2fb99a6b81d4a2a641db98a6f56b2b22bcb14b26. Please test whether it works for you.

Markus-N commented 1 year ago

Yes, it works. Thank you very much.

Would you mind if I edit the title of this issue to:
Adding and writing chapters works, but loading at mpv start fails ?

I think it would be more appropriate now that I learned that the required modules are mpv builtins.