Skip to content

Instantly share code, notes, and snippets.

@victornoel
Created October 17, 2016 16:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save victornoel/8c5f6242248ae5611f0ed986372a3153 to your computer and use it in GitHub Desktop.
Save victornoel/8c5f6242248ae5611f0ed986372a3153 to your computer and use it in GitHub Desktop.
mpv: subtitles drag&drop does not work under Wayland
[ 0.002][v][cplayer] Command line options: '--log-file=output.txt' 'video.mkv'
[ 0.002][v][cplayer] mpv 0.20.0 (C) 2000-2016 mpv/MPlayer/mplayer2 projects
[ 0.002][v][cplayer] built on Sat Aug 27 12:41:39 CEST 2016
[ 0.002][v][cplayer] ffmpeg library versions:
[ 0.002][v][cplayer] libavutil 55.28.100
[ 0.002][v][cplayer] libavcodec 57.48.101
[ 0.002][v][cplayer] libavformat 57.41.100
[ 0.002][v][cplayer] libswscale 4.1.100
[ 0.002][v][cplayer] libavfilter 6.47.100
[ 0.002][v][cplayer] libswresample 2.1.100
[ 0.002][v][cplayer] ffmpeg version: 3.1.4
[ 0.002][v][cplayer]
[ 0.002][v][cplayer] Configuration: ./waf configure --prefix=/usr --confdir=/etc/mpv --enable-cdda --enable-encoding --enable-libmpv-shared --enable-zsh-comp
[ 0.002][v][cplayer] List of enabled features: alsa any-gl asm atomics audio-input av-avpacket-int64-duration av-new-pixdesc av-pix-fmt-mmal av-subtitle-nopict av-version-info avcodec-chroma-pos-api avcodec-has-codecpar avcodec-new-codec-api avcodec-profile-name avframe-metadata avframe-skip-samples avutil-has-hwcontext avutil-hdr avutil-mastering-metadata build-date c11-tls caca cdda cplayer debug-build dlopen drm dvbin dvdnav dvdread egl-drm egl-helpers egl-x11 enca encoding fchmod gbm gbm.h gl gl-wayland gl-x11 glibc-thread-name glob iconv jack jpeg lcms2 libass libass-osd libav libavdevice libavfilter libbluray libdl libm libmpv-shared librt libsmbclient libswresample libv4l2 linux-fstatfs lua nanosleep optimize oss-audio oss-audio-native plain-gl posix posix-or-mingw posix-spawn pthreads pulse resampler rubberband shm sse4-intrinsics standard-gl stdatomic subprocess termios tv tv-v4l2 vaapi vaapi-drm vaapi-egl vaapi-glx vaapi-hwaccel vaapi-wayland vaapi-x-egl vaapi-x11 vdpau vdpau-gl-x11 vdpau-hwaccel videodev vt.h wayland x11 xext xinerama xrandr xss xv zlib zsh-comp
[ 0.002][v][global] config path: '' -> '/home/victor/.config/mpv'
[ 0.002][v][global] config path: 'mpv.conf' -/-> '/home/victor/.config/mpv/mpv.conf'
[ 0.002][v][global] config path: 'config' -/-> '/home/victor/.config/mpv/config'
[ 0.002][v][global] config path: 'mpv.conf' -/-> '/home/victor/.mpv/mpv.conf'
[ 0.002][v][global] config path: 'config' -> '/home/victor/.mpv/config'
[ 0.002][v][global] config path: 'mpv.conf' -/-> '/etc/mpv/mpv.conf'
[ 0.002][v][global] config path: 'config' -/-> '/etc/mpv/config'
[ 0.002][v][cplayer] Reading config file /home/victor/.mpv/config
[ 0.002][v][cplayer] Setting option 'vo' = 'opengl-hq:backend=x11' (flags = 4)
[ 0.002][v][cplayer] Setting option 'ao' = 'pulse' (flags = 4)
[ 0.002][v][cplayer] Setting option 'sub-auto' = 'fuzzy' (flags = 4)
[ 0.002][v][cplayer] Setting option 'log-file' = 'output.txt' (flags = 8)
[ 0.003][v][global] config path: 'input.conf' -> '/home/victor/.config/mpv/input.conf'
[ 0.003][v][global] config path: 'input.conf' -> '/home/victor/.mpv/input.conf'
[ 0.003][v][global] config path: 'input.conf' -/-> '/etc/mpv/input.conf'
[ 0.003][v][global] user path: '/home/victor/.mpv/input.conf' -> '/home/victor/.mpv/input.conf'
[ 0.003][v][ifo] Opening /home/victor/.mpv/input.conf
[ 0.004][v][ifo/dvdnav] Opening /home/victor/.mpv/input.conf
[ 0.004][v][bdmv/bluray] Opening /home/victor/.mpv/input.conf
[ 0.004][v][file] Opening /home/victor/.mpv/input.conf
[ 0.004][v][file] Stream opened successfully.
[ 0.004][v][input] Parsing input config file /home/victor/.mpv/input.conf
[ 0.004][v][input] Input config file /home/victor/.mpv/input.conf parsed: 0 binds
[ 0.004][v][global] user path: '/home/victor/.config/mpv/input.conf' -> '/home/victor/.config/mpv/input.conf'
[ 0.004][v][ifo] Opening /home/victor/.config/mpv/input.conf
[ 0.004][v][ifo/dvdnav] Opening /home/victor/.config/mpv/input.conf
[ 0.004][v][bdmv/bluray] Opening /home/victor/.config/mpv/input.conf
[ 0.005][v][file] Opening /home/victor/.config/mpv/input.conf
[ 0.005][v][file] Stream opened successfully.
[ 0.005][v][input] Parsing input config file /home/victor/.config/mpv/input.conf
[ 0.005][v][input] Input config file /home/victor/.config/mpv/input.conf parsed: 2 binds
[ 0.005][v][osc] Loading script @osc.lua...
[ 0.005][v][global] config path: 'scripts' -/-> '/home/victor/.config/mpv/scripts'
[ 0.005][v][global] config path: 'scripts' -/-> '/home/victor/.mpv/scripts'
[ 0.005][v][global] config path: 'scripts' -/-> '/etc/mpv/scripts'
[ 0.005][v][osc] loading mp.defaults
[ 0.006][v][osc] loading @osc.lua
[ 0.008][v][global] config path: 'lua-settings/osc.conf' -/-> '/home/victor/.config/mpv/lua-settings/osc.conf'
[ 0.008][v][global] config path: 'lua-settings/osc.conf' -/-> '/home/victor/.mpv/lua-settings/osc.conf'
[ 0.008][v][global] config path: 'lua-settings/osc.conf' -/-> '/etc/mpv/lua-settings/osc.conf'
[ 0.008][v][osc] lua-settings/osc.conf not found.
[ 0.008][v][cplayer] Run command: define-section, flags=0, args=[showhide, mouse_move script-binding osc/__keybinding1
[ 0.008][v][cplayer] mouse_leave script-binding osc/__keybinding2
[ 0.008][v][cplayer] , force]
[ 0.009][v][cplayer] Run command: enable-section, flags=0, args=[showhide, allow-hide-cursor+allow-vo-dragging]
[ 0.009][v][cplayer] Run command: define-section, flags=0, args=[input, mouse_btn0 script-binding osc/__keybinding3
[ 0.009][v][cplayer] shift+mouse_btn0 script-binding osc/__keybinding4
[ 0.009][v][cplayer] mouse_btn2 script-binding osc/__keybinding5
[ 0.009][v][cplayer] mouse_btn0_dbl ignore
[ 0.009][v][cplayer] shift+mouse_btn0_dbl ignore
[ 0.009][v][cplayer] mouse_btn2_dbl ignore
[ 0.009][v][cplayer] , force]
[ 0.009][v][cplayer] Run command: enable-section, flags=0, args=[input, ]
[ 0.009][v][cplayer] Run command: define-section, flags=0, args=[input_osc, del script-binding osc/__keybinding6
[ 0.009][v][cplayer] , default]
[ 0.009][v][cplayer] Run command: enable-section, flags=0, args=[input_osc, allow-hide-cursor+allow-vo-dragging]
[ 0.009][v][cplayer] Run command: define-section, flags=0, args=[input_forced_osc, , force]
[ 0.009][v][cplayer] Run command: enable-section, flags=0, args=[input_forced_osc, allow-hide-cursor+allow-vo-dragging]
[ 0.009][v][cplayer] Done loading @osc.lua.
[ 0.009][v][ytdl_hook] Loading script @ytdl_hook.lua...
[ 0.009][v][global] config path: 'scripts' -/-> '/home/victor/.config/mpv/scripts'
[ 0.009][v][global] config path: 'scripts' -/-> '/home/victor/.mpv/scripts'
[ 0.009][v][global] config path: 'scripts' -/-> '/etc/mpv/scripts'
[ 0.009][v][ytdl_hook] loading mp.defaults
[ 0.009][v][cplayer] Run command: disable-section, flags=0, args=[input]
[ 0.009][v][global] config path: 'fonts' -/-> '/home/victor/.config/mpv/fonts'
[ 0.009][v][global] config path: 'fonts' -/-> '/home/victor/.mpv/fonts'
[ 0.009][v][global] config path: 'fonts' -/-> '/etc/mpv/fonts'
[ 0.010][v][osd/libass] Shaper: FriBidi 0.19.7 (SIMPLE) HarfBuzz-ng 1.3.2 (COMPLEX)
[ 0.010][v][global] config path: 'subfont.ttf' -/-> '/home/victor/.config/mpv/subfont.ttf'
[ 0.010][v][global] config path: 'subfont.ttf' -/-> '/home/victor/.mpv/subfont.ttf'
[ 0.010][v][global] config path: 'subfont.ttf' -/-> '/etc/mpv/subfont.ttf'
[ 0.010][v][global] config path: 'fonts.conf' -/-> '/home/victor/.config/mpv/fonts.conf'
[ 0.010][v][global] config path: 'fonts.conf' -/-> '/home/victor/.mpv/fonts.conf'
[ 0.010][v][global] config path: 'fonts.conf' -/-> '/etc/mpv/fonts.conf'
[ 0.010][v][osd/libass] Setting up fonts...
[ 0.010][v][ytdl_hook] loading @ytdl_hook.lua
[ 0.011][v][cplayer] Run command: hook-add, flags=0, args=[on_load, 1, 10]
[ 0.011][v][cplayer] Done loading @ytdl_hook.lua.
[ 0.011][v][global] config path: 'scripts' -/-> '/home/victor/.config/mpv/scripts'
[ 0.011][v][global] config path: 'scripts' -/-> '/home/victor/.mpv/scripts'
[ 0.011][v][global] config path: 'scripts' -/-> '/etc/mpv/scripts'
[ 0.011][v][global] config path: 'watch_later' -> '/home/victor/.config/mpv/watch_later'
[ 0.011][i][cplayer] Playing: video.mkv
[ 0.011][v][cplayer] Running hook: ytdl_hook/on_load
[ 0.013][v][osd/libass] Using font provider fontconfig
[ 0.013][v][osd/libass] Done.
[ 0.014][v][cplayer] Run command: hook-ack, flags=0, args=[on_load]
[ 0.015][v][ifo] Opening video.mkv
[ 0.015][v][ifo/dvdnav] Opening video.mkv
[ 0.016][v][bdmv/bluray] Opening video.mkv
[ 0.016][v][file] Opening video.mkv
[ 0.016][v][file] Stream opened successfully.
[ 0.016][v][cache] Cache size set to 150000 KiB (75000 KiB backbuffer)
[ 0.016][v][demux] Trying demuxers for level=normal.
[ 0.017][v][mkv] Found the head...
[ 0.017][v][mkv] + a segment...
[ 0.017][v][mkv] Parsing seek head...
[ 0.017][v][mkv] |+ segment information...
[ 0.017][v][mkv] | + muxing app: libebml v1.3.4 + libmatroska v1.4.5
[ 0.017][v][mkv] | + writing app: mkvmerge v9.4.2 ('So High') 64bit
[ 0.017][v][mkv] | + timecode scale: 1000000
[ 0.017][v][mkv] | + duration: 2505.664s
[ 0.017][v][mkv] | + segment uid a8 88 ad 15 fb 19 87 82 99 d4 4b d9 ef a0 64 f9
[ 0.017][v][mkv] |+ segment tracks...
[ 0.017][v][mkv] | + a track...
[ 0.017][v][mkv] | + Track number: 1
[ 0.017][v][mkv] | + Track type: Video
[ 0.017][v][mkv] | + Video track
[ 0.017][v][mkv] | + Display width: 1280
[ 0.017][v][mkv] | + Display height: 720
[ 0.017][v][mkv] | + Pixel width: 1280
[ 0.017][v][mkv] | + Pixel height: 720
[ 0.017][v][mkv] | + Codec ID: V_MPEG4/ISO/AVC
[ 0.017][v][mkv] | + CodecPrivate, length 45
[ 0.017][v][mkv] | + Default duration: 41.708ms ( = 23.976 fps)
[ 0.017][v][mkv] | + a track...
[ 0.017][v][mkv] | + Track number: 2
[ 0.017][v][mkv] | + Track type: Audio
[ 0.017][v][mkv] | + Audio track
[ 0.017][v][mkv] | + Sampling frequency: 48000.000000
[ 0.017][v][mkv] | + Channels: 6
[ 0.017][v][mkv] | + Codec ID: A_AC3
[ 0.017][v][mkv] | + Language: und
[ 0.017][v][mkv] | + Default duration: 32.000ms ( = 31.250 fps)
[ 0.017][v][mkv] |+ found cluster
[ 0.017][v][mkv] Deferring reading cues.
[ 0.017][v][mkv] Seeking to 1286994849 to read header element 0x1254c367.
[ 0.017][v][cache] Dropping cache at pos 1286994849, cached range: 0-327680.
[ 0.017][v][cache] Seeking underlying stream: 327680 -> 1286994849
[ 0.017][v][cache] EOF reached.
[ 0.017][v][cache] Dropping cache at pos 5554, cached range: 1286994849-1286995664.
[ 0.017][v][cache] Seeking underlying stream: 1286995664 -> 5554
[ 0.017][v][mkv] All headers are parsed!
[ 0.017][v][demux] Detected file format: Matroska
[ 0.017][v][cache] blocking for STREAM_CTRL 6
[ 0.017][v][find_files] Loading external files in .
[ 0.017][v][global] config path: 'sub/' -/-> '/home/victor/.config/mpv/sub/'
[ 0.017][v][global] config path: 'sub/' -/-> '/home/victor/.mpv/sub/'
[ 0.017][v][global] config path: 'sub/' -/-> '/etc/mpv/sub/'
[ 0.017][v][global] config path: 'audio/' -/-> '/home/victor/.config/mpv/audio/'
[ 0.017][v][global] config path: 'audio/' -/-> '/home/victor/.mpv/audio/'
[ 0.017][v][global] config path: 'audio/' -/-> '/etc/mpv/audio/'
[ 0.017][i][cplayer] (+) Video --vid=1 (*) (h264)
[ 0.017][i][cplayer] (+) Audio --aid=1 (*) (ac3)
[ 0.017][v][vo/opengl-hq] Setting option 'backend' = 'x11' (flags = 0)
[ 0.017][v][vo/opengl-hq] Initializing OpenGL backend 'x11'
[ 0.017][v][vo/opengl-hq/x11] X11 opening display: :0
[ 0.020][v][vo/opengl-hq/x11] X11 running at 1680x1050 (":0" => local display)
[ 0.020][v][vo/opengl-hq/x11] Detected wm supports NetWM.
[ 0.020][v][vo/opengl-hq/x11] Detected wm supports FULLSCREEN state.
[ 0.020][v][vo/opengl-hq/x11] Detected wm supports ABOVE state.
[ 0.020][v][vo/opengl-hq/x11] Detected wm supports BELOW state.
[ 0.020][v][vo/opengl-hq/x11] Display 0 (XWAYLAND0): [0, 0, 1680, 1050] @ 59.851764 FPS
[ 0.020][v][vo/opengl-hq/x11] Current display FPS: 59.851764
[ 0.030][v][vo/opengl-hq] GLX chose FB config with ID 0x2c56e7c0
[ 0.030][v][vo/opengl-hq] GLX chose visual with ID 0x1a0
[ 0.036][v][vo/opengl-hq] Creating OpenGL 3.3 context...
[ 0.038][v][vo/opengl-hq] GL_VERSION='3.3 (Core Profile) Mesa 12.0.3'
[ 0.038][v][vo/opengl-hq] Detected desktop OpenGL 3.3.
[ 0.038][v][vo/opengl-hq] GL_VENDOR='Intel Open Source Technology Center'
[ 0.038][v][vo/opengl-hq] GL_RENDERER='Mesa DRI Intel(R) Haswell Mobile '
[ 0.038][v][vo/opengl-hq] GL_SHADING_LANGUAGE_VERSION='3.30'
[ 0.039][v][vo/opengl-hq] Loaded extension GLX_SGI_video_sync.
[ 0.039][v][vo/opengl-hq] Loaded extension GL_ARB_debug_output.
[ 0.039][v][vo/opengl-hq] swap_control extension missing.
[ 0.040][v][vo/opengl-hq] 16 bit texture depth: 16.
[ 0.040][v][vo/opengl-hq] Reported display depth: R=8, G=8, B=8
[ 0.040][v][vo/opengl-hq] Testing FBO format 0x805b
[ 0.040][v][vo/opengl-hq] Create FBO: 16x16 (16x16)
[ 0.040][v][vo/opengl-hq] Using FBO format 0x805b.
[ 0.040][v][vo/opengl-hq] Assuming 59.851764 FPS for display sync.
[ 0.040][v][vd] Container reported FPS: 23.976025
[ 0.040][v][vd] Codec list:
[ 0.040][v][vd] lavc:h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
[ 0.040][v][vd] Opening video decoder lavc:h264
[ 0.041][v][vd] Using software decoding.
[ 0.041][v][vd] Detected 4 logical cores.
[ 0.041][v][vd] Requesting 5 threads for decoding.
[ 0.041][v][vd] Selected video codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 [lavc:h264]
[ 0.041][v][vo/opengl-hq/x11] Disabling screensaver.
[ 0.042][v][ad] Codec list:
[ 0.042][v][ad] lavc:ac3 - ATSC A/52A (AC-3)
[ 0.042][v][ad] lavc:ac3_fixed (ac3) - ATSC A/52A (AC-3)
[ 0.042][v][ad] Opening audio decoder lavc:ac3
[ 0.042][v][ad] Requesting 1 threads for decoding.
[ 0.042][v][ad] Selected audio codec: ATSC A/52A (AC-3) [lavc:ac3]
[ 0.042][v][cplayer] Starting playback...
[ 0.060][v][af] Audio filter chain:
[ 0.060][v][af] [in] 48000Hz 5.1(side) 6ch floatp
[ 0.060][v][af] [out] 48000Hz 5.1(side) 6ch floatp
[ 0.060][v][af] [ao] 48000Hz 5.1(side) 6ch floatp
[ 0.060][v][ao] Trying audio driver 'pulse'
[ 0.060][v][ao/pulse] requested format: 48000 Hz, 5.1(side) channels, floatp
[ 0.067][v][ao/pulse] Library version: 9.0.0
[ 0.067][v][ao/pulse] Proto: 31
[ 0.067][v][ao/pulse] Server proto: 4294967295
[ 0.068][v][ao/pulse] Channel layouts:
[ 0.068][v][ao/pulse] - #fl
[ 0.068][v][ao/pulse] - #fr
[ 0.068][v][ao/pulse] - #fc
[ 0.068][v][ao/pulse] - #lfe
[ 0.068][v][ao/pulse] - #bl
[ 0.068][v][ao/pulse] - #br
[ 0.068][v][ao/pulse] - #flc
[ 0.068][v][ao/pulse] - #frc
[ 0.068][v][ao/pulse] - #bc
[ 0.068][v][ao/pulse] - #sl
[ 0.068][v][ao/pulse] - #sr
[ 0.068][v][ao/pulse] - #tc
[ 0.068][v][ao/pulse] - #tfl
[ 0.068][v][ao/pulse] - #tfc
[ 0.069][v][ao/pulse] - #tfr
[ 0.069][v][ao/pulse] - #tbl
[ 0.069][v][ao/pulse] - #tbc
[ 0.069][v][ao/pulse] - #tbr
[ 0.069][v][ao/pulse] result: 5.1(side)
[ 0.072][v][ao/pulse] device buffer: 2000 samples.
[ 0.072][v][ao/pulse] using soft-buffer of 9600 samples.
[ 0.073][i][cplayer] AO: [pulse] 48000Hz 5.1(side) 6ch float
[ 0.073][v][cplayer] AO: Description: PulseAudio audio output
[ 0.073][v][af] Adding filter lavrresample
[ 0.073][v][af] Audio filter chain:
[ 0.073][v][af] [in] 48000Hz 5.1(side) 6ch floatp
[ 0.073][v][af] [lavrresample] 48000Hz 5.1(side) 6ch float [a]
[ 0.073][v][af] [out] 48000Hz 5.1(side) 6ch float
[ 0.073][v][af] [ao] 48000Hz 5.1(side) 6ch float
[ 0.093][v][vd] Decoder format: 1280x720 [0:1] yuv420p bt.709/limited CL=mpeg2/4/h264
[ 0.093][v][vd] Using container aspect ratio.
[ 0.093][v][vf] Video filter chain:
[ 0.093][v][vf] [in] 1280x720 yuv420p bt.709/limited CL=mpeg2/4/h264
[ 0.093][v][vf] [out] 1280x720 yuv420p bt.709/limited CL=mpeg2/4/h264
[ 0.093][i][cplayer] VO: [opengl-hq] 1280x720 yuv420p
[ 0.093][v][cplayer] VO: Description: Extended OpenGL Renderer (high quality rendering preset)
[ 0.098][v][vo/opengl-hq/x11] not waiting for MapNotify
[ 0.098][v][vo/opengl-hq] Resize: 1280x720
[ 0.098][v][vo/opengl-hq] Window size: 1280x720
[ 0.099][v][vo/opengl-hq] Video source: 1280x720 (1:1)
[ 0.099][v][vo/opengl-hq] Video display: (0, 0) 1280x720 -> (0, 0) 1280x720
[ 0.099][v][vo/opengl-hq] Video scale: 1.000000/1.000000
[ 0.099][v][vo/opengl-hq] OSD borders: l=0 t=0 r=0 b=0
[ 0.099][v][vo/opengl-hq] Video borders: l=0 t=0 r=0 b=0
[ 0.099][v][vo/opengl-hq] Testing FBO format 0x805b
[ 0.099][v][vo/opengl-hq] Create FBO: 16x16 (16x16)
[ 0.099][v][vo/opengl-hq] Using FBO format 0x805b.
[ 0.099][v][vo/opengl-hq] Texture for plane 0: 1280x720
[ 0.099][v][vo/opengl-hq] Texture for plane 1: 640x360
[ 0.099][v][vo/opengl-hq] Texture for plane 2: 640x360
[ 0.100][v][cplayer] set video colors output-levels=0
[ 0.102][v][vo/opengl-hq] Create FBO: 640x360 (640x360)
[ 0.102][v][vo/opengl-hq] recompiling a shader program:
[ 0.103][v][vo/opengl-hq] [ 1] // merging plane 1 ...
[ 0.103][v][vo/opengl-hq] [ 2] color.r = 1.000000 * vec4(texture(texture0, texcoord0)).r;
[ 0.103][v][vo/opengl-hq] [ 3] // merging plane 2 ... into 1
[ 0.103][v][vo/opengl-hq] [ 4] color.g = 1.000000 * vec4(texture(texture1, texcoord1)).r;
[ 0.110][v][vo/opengl-hq] Create FBO: 1280x720 (1280x720)
[ 0.110][v][vo/opengl-hq] recompiling a shader program:
[ 0.110][v][vo/opengl-hq] header:
[ 0.110][v][vo/opengl-hq] [ 1] #define HOOKED_raw texture0
[ 0.110][v][vo/opengl-hq] [ 2] #define HOOKED_pos texcoord0
[ 0.110][v][vo/opengl-hq] [ 3] #define HOOKED_size texture_size0
[ 0.110][v][vo/opengl-hq] [ 4] #define HOOKED_rot texture_rot0
[ 0.110][v][vo/opengl-hq] [ 5] #define HOOKED_pt pixel_size0
[ 0.110][v][vo/opengl-hq] [ 6] #define HOOKED_tex(pos) (1.000000 * vec4(texture(HOOKED_raw, pos)).rgba)
[ 0.110][v][vo/opengl-hq] [ 7] #define HOOKED_texOff(off) HOOKED_tex(HOOKED_pos + HOOKED_pt * vec2(off))
[ 0.110][v][vo/opengl-hq] [ 8] #define LUMA_raw texture0
[ 0.110][v][vo/opengl-hq] [ 9] #define LUMA_pos texcoord0
[ 0.110][v][vo/opengl-hq] [ 10] #define LUMA_size texture_size0
[ 0.110][v][vo/opengl-hq] [ 11] #define LUMA_rot texture_rot0
[ 0.110][v][vo/opengl-hq] [ 12] #define LUMA_pt pixel_size0
[ 0.110][v][vo/opengl-hq] [ 13] #define LUMA_tex(pos) (1.000000 * vec4(texture(LUMA_raw, pos)).rgba)
[ 0.110][v][vo/opengl-hq] [ 14] #define LUMA_texOff(off) LUMA_tex(LUMA_pos + LUMA_pt * vec2(off))
[ 0.110][v][vo/opengl-hq] [ 15] float mod289(float x) { return x - floor(x / 289.0) * 289.0; }
[ 0.110][v][vo/opengl-hq] [ 16] float permute(float x) { return mod289((34.0*x + 1.0) * x); }
[ 0.110][v][vo/opengl-hq] [ 17] float rand(float x) { return fract(x / 41.0); }
[ 0.110][v][vo/opengl-hq] [ 18] vec4 average(float range, inout float h) {
[ 0.110][v][vo/opengl-hq] [ 19] float dist = rand(h) * range; h = permute(h);
[ 0.110][v][vo/opengl-hq] [ 20] float dir = rand(h) * 6.2831853; h = permute(h);
[ 0.110][v][vo/opengl-hq] [ 21] vec2 o = dist * vec2(cos(dir), sin(dir));
[ 0.110][v][vo/opengl-hq] [ 22] vec4 ref[4];
[ 0.110][v][vo/opengl-hq] [ 23] ref[0] = HOOKED_texOff(vec2( o.x, o.y));
[ 0.110][v][vo/opengl-hq] [ 24] ref[1] = HOOKED_texOff(vec2(-o.y, o.x));
[ 0.110][v][vo/opengl-hq] [ 25] ref[2] = HOOKED_texOff(vec2(-o.x, -o.y));
[ 0.110][v][vo/opengl-hq] [ 26] ref[3] = HOOKED_texOff(vec2( o.y, -o.x));
[ 0.110][v][vo/opengl-hq] [ 27] return (ref[0] + ref[1] + ref[2] + ref[3])/4.0;
[ 0.110][v][vo/opengl-hq] [ 28] }
[ 0.110][v][vo/opengl-hq] body:
[ 0.110][v][vo/opengl-hq] [ 1] {
[ 0.110][v][vo/opengl-hq] [ 2] vec3 _m = vec3(HOOKED_pos, random) + vec3(1.0);
[ 0.110][v][vo/opengl-hq] [ 3] float h = permute(permute(permute(_m.x)+_m.y)+_m.z);
[ 0.110][v][vo/opengl-hq] [ 4] color = HOOKED_tex(HOOKED_pos);
[ 0.110][v][vo/opengl-hq] [ 5] vec4 avg, diff;
[ 0.110][v][vo/opengl-hq] [ 6] avg = average(16.000000, h);
[ 0.110][v][vo/opengl-hq] [ 7] diff = abs(color - avg);
[ 0.110][v][vo/opengl-hq] [ 8] color = mix(avg, color, greaterThan(diff, vec4(0.003906)));
[ 0.110][v][vo/opengl-hq] [ 9] vec3 noise;
[ 0.110][v][vo/opengl-hq] [ 10] noise.x = rand(h); h = permute(h);
[ 0.110][v][vo/opengl-hq] [ 11] noise.y = rand(h); h = permute(h);
[ 0.110][v][vo/opengl-hq] [ 12] noise.z = rand(h); h = permute(h);
[ 0.110][v][vo/opengl-hq] [ 13] color.xyz += 0.005859 * (noise - vec3(0.5));
[ 0.110][v][vo/opengl-hq] [ 14] }
[ 0.110][v][vo/opengl-hq] [ 15] color.g = 0.000000;
[ 0.110][v][vo/opengl-hq] [ 16] color.b = 0.000000;
[ 0.110][v][vo/opengl-hq] [ 17] color.a = 1.000000;
[ 0.121][v][vo/opengl-hq] Create FBO: 640x360 (640x360)
[ 0.121][v][vo/opengl-hq] recompiling a shader program:
[ 0.121][v][vo/opengl-hq] header:
[ 0.121][v][vo/opengl-hq] [ 1] #define HOOKED_raw texture0
[ 0.121][v][vo/opengl-hq] [ 2] #define HOOKED_pos texcoord0
[ 0.121][v][vo/opengl-hq] [ 3] #define HOOKED_size texture_size0
[ 0.121][v][vo/opengl-hq] [ 4] #define HOOKED_rot texture_rot0
[ 0.121][v][vo/opengl-hq] [ 5] #define HOOKED_pt pixel_size0
[ 0.121][v][vo/opengl-hq] [ 6] #define HOOKED_tex(pos) (1.000000 * vec4(texture(HOOKED_raw, pos)).rgba)
[ 0.121][v][vo/opengl-hq] [ 7] #define HOOKED_texOff(off) HOOKED_tex(HOOKED_pos + HOOKED_pt * vec2(off))
[ 0.121][v][vo/opengl-hq] [ 8] #define CHROMA_raw texture0
[ 0.121][v][vo/opengl-hq] [ 9] #define CHROMA_pos texcoord0
[ 0.121][v][vo/opengl-hq] [ 10] #define CHROMA_size texture_size0
[ 0.121][v][vo/opengl-hq] [ 11] #define CHROMA_rot texture_rot0
[ 0.121][v][vo/opengl-hq] [ 12] #define CHROMA_pt pixel_size0
[ 0.121][v][vo/opengl-hq] [ 13] #define CHROMA_tex(pos) (1.000000 * vec4(texture(CHROMA_raw, pos)).rgba)
[ 0.121][v][vo/opengl-hq] [ 14] #define CHROMA_texOff(off) CHROMA_tex(CHROMA_pos + CHROMA_pt * vec2(off))
[ 0.121][v][vo/opengl-hq] [ 15] float mod289(float x) { return x - floor(x / 289.0) * 289.0; }
[ 0.121][v][vo/opengl-hq] [ 16] float permute(float x) { return mod289((34.0*x + 1.0) * x); }
[ 0.121][v][vo/opengl-hq] [ 17] float rand(float x) { return fract(x / 41.0); }
[ 0.121][v][vo/opengl-hq] [ 18] vec4 average(float range, inout float h) {
[ 0.121][v][vo/opengl-hq] [ 19] float dist = rand(h) * range; h = permute(h);
[ 0.121][v][vo/opengl-hq] [ 20] float dir = rand(h) * 6.2831853; h = permute(h);
[ 0.121][v][vo/opengl-hq] [ 21] vec2 o = dist * vec2(cos(dir), sin(dir));
[ 0.121][v][vo/opengl-hq] [ 22] vec4 ref[4];
[ 0.121][v][vo/opengl-hq] [ 23] ref[0] = HOOKED_texOff(vec2( o.x, o.y));
[ 0.121][v][vo/opengl-hq] [ 24] ref[1] = HOOKED_texOff(vec2(-o.y, o.x));
[ 0.121][v][vo/opengl-hq] [ 25] ref[2] = HOOKED_texOff(vec2(-o.x, -o.y));
[ 0.121][v][vo/opengl-hq] [ 26] ref[3] = HOOKED_texOff(vec2( o.y, -o.x));
[ 0.121][v][vo/opengl-hq] [ 27] return (ref[0] + ref[1] + ref[2] + ref[3])/4.0;
[ 0.121][v][vo/opengl-hq] [ 28] }
[ 0.121][v][vo/opengl-hq] body:
[ 0.121][v][vo/opengl-hq] [ 1] {
[ 0.121][v][vo/opengl-hq] [ 2] vec3 _m = vec3(HOOKED_pos, random) + vec3(1.0);
[ 0.121][v][vo/opengl-hq] [ 3] float h = permute(permute(permute(_m.x)+_m.y)+_m.z);
[ 0.121][v][vo/opengl-hq] [ 4] color = HOOKED_tex(HOOKED_pos);
[ 0.121][v][vo/opengl-hq] [ 5] vec4 avg, diff;
[ 0.121][v][vo/opengl-hq] [ 6] avg = average(16.000000, h);
[ 0.121][v][vo/opengl-hq] [ 7] diff = abs(color - avg);
[ 0.121][v][vo/opengl-hq] [ 8] color = mix(avg, color, greaterThan(diff, vec4(0.003906)));
[ 0.121][v][vo/opengl-hq] [ 9] vec3 noise;
[ 0.121][v][vo/opengl-hq] [ 10] noise.x = rand(h); h = permute(h);
[ 0.121][v][vo/opengl-hq] [ 11] noise.y = rand(h); h = permute(h);
[ 0.121][v][vo/opengl-hq] [ 12] noise.z = rand(h); h = permute(h);
[ 0.121][v][vo/opengl-hq] [ 13] color.xyz += 0.005859 * (noise - vec3(0.5));
[ 0.121][v][vo/opengl-hq] [ 14] }
[ 0.121][v][vo/opengl-hq] [ 15] color.b = 0.000000;
[ 0.121][v][vo/opengl-hq] [ 16] color.a = 1.000000;
[ 0.133][v][vo/opengl-hq] Create FBO: 640x720 (640x768)
[ 0.133][v][vo/opengl-hq] recompiling a shader program:
[ 0.133][v][vo/opengl-hq] [ 1] // upscaling plane 1
[ 0.133][v][vo/opengl-hq] [ 2] #undef tex
[ 0.133][v][vo/opengl-hq] [ 3] #define tex texture0
[ 0.133][v][vo/opengl-hq] [ 4] vec2 pos = texcoord0;
[ 0.133][v][vo/opengl-hq] [ 5] vec2 size = texture_size0;
[ 0.133][v][vo/opengl-hq] [ 6] vec2 pt = pixel_size0;
[ 0.133][v][vo/opengl-hq] [ 7] // pass 1
[ 0.133][v][vo/opengl-hq] [ 8] color = vec4(0.0);
[ 0.133][v][vo/opengl-hq] [ 9] {
[ 0.133][v][vo/opengl-hq] [ 10] vec2 dir = vec2(0.0, 1.0);
[ 0.133][v][vo/opengl-hq] [ 11] pt *= dir;
[ 0.133][v][vo/opengl-hq] [ 12] float fcoord = dot(fract(pos * size - vec2(0.5)), dir);
[ 0.133][v][vo/opengl-hq] [ 13] vec2 base = pos - fcoord * pt - pt * vec2(2.0);
[ 0.133][v][vo/opengl-hq] [ 14] vec4 c;
[ 0.133][v][vo/opengl-hq] [ 15] float fcoord_lut = LUT_POS(fcoord, 64.0);
[ 0.133][v][vo/opengl-hq] [ 16] vec4 c1 = texture(lut, vec2(0.25, fcoord_lut));
[ 0.133][v][vo/opengl-hq] [ 17] vec4 c2 = texture(lut, vec2(0.75, fcoord_lut));
[ 0.133][v][vo/opengl-hq] [ 18] float weights[6] = float[](c1.r, c1.g, c1.b, c2.r, c2.g, c2.b);
[ 0.133][v][vo/opengl-hq] [ 19] // scaler samples
[ 0.133][v][vo/opengl-hq] [ 20] c = texture(tex, base + pt * vec2(0.0));
[ 0.133][v][vo/opengl-hq] [ 21] color += vec4(weights[0]) * c;
[ 0.133][v][vo/opengl-hq] [ 22] c = texture(tex, base + pt * vec2(1.0));
[ 0.133][v][vo/opengl-hq] [ 23] color += vec4(weights[1]) * c;
[ 0.133][v][vo/opengl-hq] [ 24] c = texture(tex, base + pt * vec2(2.0));
[ 0.133][v][vo/opengl-hq] [ 25] color += vec4(weights[2]) * c;
[ 0.133][v][vo/opengl-hq] [ 26] c = texture(tex, base + pt * vec2(3.0));
[ 0.133][v][vo/opengl-hq] [ 27] color += vec4(weights[3]) * c;
[ 0.133][v][vo/opengl-hq] [ 28] c = texture(tex, base + pt * vec2(4.0));
[ 0.133][v][vo/opengl-hq] [ 29] color += vec4(weights[4]) * c;
[ 0.133][v][vo/opengl-hq] [ 30] c = texture(tex, base + pt * vec2(5.0));
[ 0.133][v][vo/opengl-hq] [ 31] color += vec4(weights[5]) * c;
[ 0.133][v][vo/opengl-hq] [ 32] }
[ 0.133][v][vo/opengl-hq] [ 33] color *= 1.000000;
[ 0.144][v][vo/opengl-hq] Create FBO: 1280x720 (1280x768)
[ 0.144][v][vo/opengl-hq] recompiling a shader program:
[ 0.144][v][vo/opengl-hq] [ 1] #undef tex
[ 0.144][v][vo/opengl-hq] [ 2] #define tex texture0
[ 0.144][v][vo/opengl-hq] [ 3] vec2 pos = texcoord0;
[ 0.144][v][vo/opengl-hq] [ 4] vec2 size = texture_size0;
[ 0.144][v][vo/opengl-hq] [ 5] vec2 pt = pixel_size0;
[ 0.144][v][vo/opengl-hq] [ 6] // pass 2
[ 0.144][v][vo/opengl-hq] [ 7] color = vec4(0.0);
[ 0.144][v][vo/opengl-hq] [ 8] {
[ 0.144][v][vo/opengl-hq] [ 9] vec2 dir = vec2(1.0, 0.0);
[ 0.144][v][vo/opengl-hq] [ 10] pt *= dir;
[ 0.144][v][vo/opengl-hq] [ 11] float fcoord = dot(fract(pos * size - vec2(0.5)), dir);
[ 0.144][v][vo/opengl-hq] [ 12] vec2 base = pos - fcoord * pt - pt * vec2(2.0);
[ 0.144][v][vo/opengl-hq] [ 13] vec4 c;
[ 0.144][v][vo/opengl-hq] [ 14] float fcoord_lut = LUT_POS(fcoord, 64.0);
[ 0.144][v][vo/opengl-hq] [ 15] vec4 c1 = texture(lut, vec2(0.25, fcoord_lut));
[ 0.144][v][vo/opengl-hq] [ 16] vec4 c2 = texture(lut, vec2(0.75, fcoord_lut));
[ 0.144][v][vo/opengl-hq] [ 17] float weights[6] = float[](c1.r, c1.g, c1.b, c2.r, c2.g, c2.b);
[ 0.144][v][vo/opengl-hq] [ 18] // scaler samples
[ 0.144][v][vo/opengl-hq] [ 19] c = texture(tex, base + pt * vec2(0.0));
[ 0.144][v][vo/opengl-hq] [ 20] color += vec4(weights[0]) * c;
[ 0.144][v][vo/opengl-hq] [ 21] c = texture(tex, base + pt * vec2(1.0));
[ 0.144][v][vo/opengl-hq] [ 22] color += vec4(weights[1]) * c;
[ 0.144][v][vo/opengl-hq] [ 23] c = texture(tex, base + pt * vec2(2.0));
[ 0.144][v][vo/opengl-hq] [ 24] color += vec4(weights[2]) * c;
[ 0.144][v][vo/opengl-hq] [ 25] c = texture(tex, base + pt * vec2(3.0));
[ 0.144][v][vo/opengl-hq] [ 26] color += vec4(weights[3]) * c;
[ 0.144][v][vo/opengl-hq] [ 27] c = texture(tex, base + pt * vec2(4.0));
[ 0.144][v][vo/opengl-hq] [ 28] color += vec4(weights[4]) * c;
[ 0.144][v][vo/opengl-hq] [ 29] c = texture(tex, base + pt * vec2(5.0));
[ 0.144][v][vo/opengl-hq] [ 30] color += vec4(weights[5]) * c;
[ 0.144][v][vo/opengl-hq] [ 31] }
[ 0.144][v][vo/opengl-hq] [ 32] color.b = 0.000000;
[ 0.144][v][vo/opengl-hq] [ 33] color.a = 1.000000;
[ 0.156][v][vo/opengl-hq] Create FBO: 1280x720 (1280x720)
[ 0.157][v][vo/opengl-hq] recompiling a shader program:
[ 0.157][v][vo/opengl-hq] [ 1] // combining planes
[ 0.157][v][vo/opengl-hq] [ 2] color.r = 1.000000 * vec4(texture(texture0, texcoord0)).r;
[ 0.157][v][vo/opengl-hq] [ 3] color.gb = 1.000000 * vec4(texture(texture1, texcoord1)).rg;
[ 0.157][v][vo/opengl-hq] [ 4] // color conversion
[ 0.157][v][vo/opengl-hq] [ 5] color.rgb = mat3(colormatrix) * color.rgb + colormatrix_c;
[ 0.157][v][vo/opengl-hq] [ 6] color.a = 1.0;
[ 0.157][v][vo/opengl-hq] [ 7] // scaler pre-conversion
[ 0.157][v][vo/opengl-hq] [ 8] color.rgb = clamp(color.rgb, 0.0, 1.0);
[ 0.157][v][vo/opengl-hq] [ 9] color.rgb = pow(color.rgb, vec3(2.4));
[ 0.157][v][vo/opengl-hq] [ 10] // main scaling
[ 0.162][v][vo/opengl-hq] Dither to 8.
[ 0.200][v][vo/opengl-hq] recompiling a shader program:
[ 0.200][v][vo/opengl-hq] [ 1] #undef tex
[ 0.200][v][vo/opengl-hq] [ 2] #define tex texture0
[ 0.200][v][vo/opengl-hq] [ 3] vec2 pos = texcoord0;
[ 0.200][v][vo/opengl-hq] [ 4] vec2 size = texture_size0;
[ 0.200][v][vo/opengl-hq] [ 5] vec2 pt = pixel_size0;
[ 0.200][v][vo/opengl-hq] [ 6] color = texture(tex, pos);
[ 0.200][v][vo/opengl-hq] [ 7] color *= 1.000000;
[ 0.200][v][vo/opengl-hq] [ 8] color.a = 1.000000;
[ 0.200][v][vo/opengl-hq] [ 9] // scaler post-conversion
[ 0.200][v][vo/opengl-hq] [ 10] // color mapping
[ 0.200][v][vo/opengl-hq] [ 11] color.rgb = clamp(color.rgb, 0.0, 1.0);
[ 0.200][v][vo/opengl-hq] [ 12] color.rgb = pow(color.rgb, vec3(1.0/2.4));
[ 0.200][v][vo/opengl-hq] [ 13] // dithering
[ 0.200][v][vo/opengl-hq] [ 14] vec2 dither_pos = gl_FragCoord.xy / 64.0;
[ 0.200][v][vo/opengl-hq] [ 15] float dither_value = texture(dither, dither_pos).r;
[ 0.200][v][vo/opengl-hq] [ 16] color = floor(color * 255.0 + dither_value + 0.5 / 4096.0) / 255.0;
[ 0.204][v][osd/libass] fontselect: (sans-serif, 400, 0) -> /usr/share/fonts/TTF/DejaVuSans.ttf, 0, DejaVuSans
[ 0.220][v][cplayer] first video frame after restart shown
[ 0.221][v][cplayer] starting audio playback
[ 0.221][v][cplayer] playback restart complete
[ 0.729][v][cplayer] Run command: script-binding, flags=9, args=[osc/__keybinding1]
[ 0.729][v][cplayer] Run command: enable-section, flags=0, args=[input, ]
[ 0.749][v][osd/libass] fontselect: (mpv-osd-symbols, 400, 0) -> mpv-osd-symbols-Regular, 0, mpv-osd-symbols-Regular
[ 0.751][v][vo/opengl-hq] Reallocating OSD texture to 1024x512.
[ 0.751][v][vo/opengl-hq] recompiling a shader program:
[ 0.751][v][vo/opengl-hq] [ 1] // OSD (libass)
[ 0.751][v][vo/opengl-hq] [ 2] color = vec4(ass_color.rgb, ass_color.a * texture(osdtex, texcoord).r);
[ 0.751][v][vo/opengl-hq] [ 3] // color mapping
[ 0.771][v][cplayer] Run command: script-binding, flags=9, args=[osc/__keybinding1]
[ 0.814][v][cplayer] Run command: script-binding, flags=9, args=[osc/__keybinding1]
[ 0.857][v][cplayer] Run command: script-binding, flags=9, args=[osc/__keybinding1]
[ 0.899][v][cplayer] Run command: script-binding, flags=9, args=[osc/__keybinding1]
[ 0.942][v][cplayer] Run command: script-binding, flags=9, args=[osc/__keybinding1]
[ 0.985][v][cplayer] Run command: script-binding, flags=9, args=[osc/__keybinding1]
[ 1.026][v][cplayer] Run command: script-binding, flags=9, args=[osc/__keybinding1]
[ 1.069][v][cplayer] Run command: script-binding, flags=9, args=[osc/__keybinding1]
[ 1.112][v][cplayer] Run command: script-binding, flags=9, args=[osc/__keybinding1]
[ 1.869][v][cplayer] Run command: disable-section, flags=0, args=[input]
[ 3.536][v][vo/opengl-hq/x11] DnD type: 'x-special/gnome-icon-list'
[ 3.536][v][vo/opengl-hq/x11] DnD type: 'text/uri-list'
[ 3.536][v][vo/opengl-hq/x11] DnD type: 'UTF8_STRING'
[ 3.536][v][vo/opengl-hq/x11] DnD type: 'COMPOUND_TEXT'
[ 3.536][v][vo/opengl-hq/x11] DnD type: 'TEXT'
[ 3.536][v][vo/opengl-hq/x11] DnD type: 'STRING'
[ 3.536][v][vo/opengl-hq/x11] DnD type: 'text/plain;charset=utf-8'
[ 3.536][v][vo/opengl-hq/x11] DnD type: 'text/plain'
[ 3.536][v][vo/opengl-hq/x11] DnD type: 'x-special/gnome-icon-list'
[ 3.536][v][vo/opengl-hq/x11] DnD type: 'text/uri-list'
[ 3.536][v][vo/opengl-hq/x11] DnD type: 'UTF8_STRING'
[ 3.536][v][vo/opengl-hq/x11] DnD type: 'COMPOUND_TEXT'
[ 3.536][v][vo/opengl-hq/x11] DnD type: 'TEXT'
[ 3.536][v][vo/opengl-hq/x11] DnD type: 'STRING'
[ 3.536][v][vo/opengl-hq/x11] DnD type: 'text/plain;charset=utf-8'
[ 3.536][v][vo/opengl-hq/x11] DnD type: 'text/plain'
[ 3.536][v][vo/opengl-hq/x11] DnD type: 'DELETE'
[ 3.536][v][vo/opengl-hq/x11] Selected DnD type: text/uri-list
[ 3.996][v][cplayer] Run command: script-binding, flags=9, args=[osc/__keybinding1]
[ 4.038][v][cplayer] Run command: enable-section, flags=0, args=[input, ]
[ 4.418][v][cplayer] Run command: script-binding, flags=9, args=[osc/__keybinding1]
[ 4.458][v][cplayer] Run command: script-binding, flags=9, args=[osc/__keybinding1]
[ 4.498][v][cplayer] Run command: script-binding, flags=9, args=[osc/__keybinding1]
[ 4.542][v][cplayer] Run command: script-binding, flags=9, args=[osc/__keybinding1]
[ 4.542][v][cplayer] Run command: script-binding, flags=9, args=[osc/__keybinding2]
[ 4.786][v][cplayer] Run command: disable-section, flags=0, args=[input]
[ 5.451][v][cplayer] Run command: quit, flags=9, args=[0]
[ 5.451][v][cplayer] EOF code: 6
[ 5.453][v][ad] Uninit audio decoder.
[ 5.453][v][af] Removing filter lavrresample
[ 5.453][v][vd] Uninit video.
[ 5.454][v][cache] Terminating cache...
[ 5.454][v][cache] Cache exiting...
[ 5.458][v][cplayer] finished playback, success (reason 3)
[ 5.458][i][cplayer]
[ 5.458][i][cplayer]
[ 5.458][i][cplayer] Exiting... (Quit)
[ 5.459][v][ytdl_hook] Exiting...
[ 5.460][v][osc] Exiting...
[ 5.460][v][ao/pulse] draining...
[ 5.493][v][vo/opengl-hq] flushing shader cache
[ 5.495][v][vo/opengl-hq/x11] Enabling screensaver.
[ 5.495][v][vo/opengl-hq/x11] uninit ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment