{"action":"created","issue":{"url":"https://api.github.com/repos/mpv-player/mpv/issues/2246","labels_url":"https://api.github.com/repos/mpv-player/mpv/issues/2246/labels{/name}","comments_url":"https://api.github.com/repos/mpv-player/mpv/issues/2246/comments","events_url":"https://api.github.com/repos/mpv-player/mpv/issues/2246/events","html_url":"https://github.com/mpv-player/mpv/issues/2246","id":102672815,"number":2246,"title":"--video-sync=display-resample: Playback of files without audio too fast","user":{"login":"CounterPillow","id":308818,"avatar_url":"https://avatars.githubusercontent.com/u/308818?v=3","gravatar_id":"","url":"https://api.github.com/users/CounterPillow","html_url":"https://github.com/CounterPillow","followers_url":"https://api.github.com/users/CounterPillow/followers","following_url":"https://api.github.com/users/CounterPillow/following{/other_user}","gists_url":"https://api.github.com/users/CounterPillow/gists{/gist_id}","starred_url":"https://api.github.com/users/CounterPillow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CounterPillow/subscriptions","organizations_url":"https://api.github.com/users/CounterPillow/orgs","repos_url":"https://api.github.com/users/CounterPillow/repos","events_url":"https://api.github.com/users/CounterPillow/events{/privacy}","received_events_url":"https://api.github.com/users/CounterPillow/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-23T23:48:09Z","updated_at":"2015-08-23T23:58:10Z","closed_at":null,"body":"If there is no audio stream in the file but the file's framerate is below the display framerate, playing it back with `--video-sync=display-resample` leads to sped-up playback.\r\n\r\nHere's an example file: https://0x0.st/skp.mp4\r\n\r\nCompare `--video-sync=audio` with `--video-sync=display-resample`"},"comment":{"url":"https://api.github.com/repos/mpv-player/mpv/issues/comments/133966211","html_url":"https://github.com/mpv-player/mpv/issues/2246#issuecomment-133966211","issue_url":"https://api.github.com/repos/mpv-player/mpv/issues/2246","id":133966211,"user":{"login":"CounterPillow","id":308818,"avatar_url":"https://avatars.githubusercontent.com/u/308818?v=3","gravatar_id":"","url":"https://api.github.com/users/CounterPillow","html_url":"https://github.com/CounterPillow","followers_url":"https://api.github.com/users/CounterPillow/followers","following_url":"https://api.github.com/users/CounterPillow/following{/other_user}","gists_url":"https://api.github.com/users/CounterPillow/gists{/gist_id}","starred_url":"https://api.github.com/users/CounterPillow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CounterPillow/subscriptions","organizations_url":"https://api.github.com/users/CounterPillow/orgs","repos_url":"https://api.github.com/users/CounterPillow/repos","events_url":"https://api.github.com/users/CounterPillow/events{/privacy}","received_events_url":"https://api.github.com/users/CounterPillow/received_events","type":"User","site_admin":false},"created_at":"2015-08-23T23:58:10Z","updated_at":"2015-08-23T23:58:10Z","body":"Playback log:\r\n```\r\n[cplayer] Command line options: '-v' 'https://0x0.st/skp.mp4'\r\n[cplayer] mpv git-3bbcbc1 (C) 2000-2015 mpv/MPlayer/mplayer2 projects\r\n[cplayer]  built on Mon Aug 24 01:10:50 CEST 2015\r\n[cplayer] ffmpeg library versions:\r\n[cplayer]    libavutil       54.27.100\r\n[cplayer]    libavcodec      56.41.100\r\n[cplayer]    libavformat     56.36.100\r\n[cplayer]    libswscale      3.1.101\r\n[cplayer]    libavfilter     5.16.101\r\n[cplayer]    libswresample   1.2.100\r\n[cplayer] \r\n[cplayer] Configuration: ./waf configure --prefix=/usr --confdir=/etc/mpv --enable-zsh-comp --enable-libmpv-shared\r\n[cplayer] List of enabled features: alsa asm atomics audio-input av-pix-fmt-mmal avcodec-chroma-pos-api avframe-metadata avframe-skip-samples build-date caca cdda cplayer debug-build dlopen drm dvbin dvdnav dvdread enca encoding fchmod gl gl-wayland gl-x11 glibc-thread-name glob iconv jack jpeg ladspa lcms2 libass libass-osd libav libavdevice libavfilter libbluray libdl libguess libm libmpv-shared librt libsmbclient libswresample libv4l2 linux-fstatfs lua nanosleep optimize oss-audio oss-audio-native posix posix-or-mingw posix-spawn pthreads pulse pvr resampler rubberband shm stdatomic subprocess termios tv tv-v4l2 vaapi vaapi-glx vaapi-hwaccel vaapi-vpp vapoursynth vapoursynth-core vapoursynth-lazy vdpau vdpau-gl-x11 vdpau-hwaccel videodev vt.h wayland x11 xext xinerama xrandr xss xv zlib zsh-comp\r\n[global] config path: '' -> '/home/fratti/.config/mpv'\r\n[global] config path: 'mpv.conf' -> '/home/fratti/.config/mpv/mpv.conf'\r\n[global] config path: 'config' -/-> '/home/fratti/.config/mpv/config'\r\n[global] config path: 'mpv.conf' -/-> '/home/fratti/.mpv/mpv.conf'\r\n[global] config path: 'config' -/-> '/home/fratti/.mpv/config'\r\n[global] config path: 'mpv.conf' -/-> '/etc/mpv/mpv.conf'\r\n[global] config path: 'config' -/-> '/etc/mpv/config'\r\n[cplayer] Reading config file /home/fratti/.config/mpv/mpv.conf\r\n[cplayer] Setting option 'vo' = 'opengl-hq' (flags = 4)\r\n[cplayer] Setting option 'video-sync' = 'display-resample' (flags = 4)\r\n[cplayer] Setting option 'screenshot-format' = 'png' (flags = 4)\r\n[cplayer] Setting option 'screenshot-high-bit-depth' = 'no' (flags = 4)\r\n[cplayer] Setting option 'demuxer-mkv-subtitle-preroll' = '' (flags = 4)\r\n[cplayer] Setting option 'demuxer-mkv-subtitle-preroll-secs' = '4' (flags = 4)\r\n[cplayer] Setting option 'v' = '' (flags = 8)\r\n[global] config path: 'input.conf' -> '/home/fratti/.config/mpv/input.conf'\r\n[global] config path: 'input.conf' -/-> '/home/fratti/.mpv/input.conf'\r\n[global] config path: 'input.conf' -/-> '/etc/mpv/input.conf'\r\n[global] user path: '/home/fratti/.config/mpv/input.conf' -> '/home/fratti/.config/mpv/input.conf'\r\n[file] Opened: /home/fratti/.config/mpv/input.conf\r\n[input] Parsing input config file /home/fratti/.config/mpv/input.conf\r\n[input] Input config file /home/fratti/.config/mpv/input.conf parsed: 1 binds\r\n[osc] Loading script @osc.lua...\r\n[global] config path: 'scripts' -/-> '/home/fratti/.config/mpv/scripts'\r\n[global] config path: 'scripts' -/-> '/home/fratti/.mpv/scripts'\r\n[global] config path: 'scripts' -/-> '/etc/mpv/scripts'\r\n[osc] loading mp.defaults\r\n[osc] loading @osc.lua\r\n[global] config path: 'lua-settings/osc.conf' -/-> '/home/fratti/.config/mpv/lua-settings/osc.conf'\r\n[global] config path: 'lua-settings/osc.conf' -/-> '/home/fratti/.mpv/lua-settings/osc.conf'\r\n[global] config path: 'lua-settings/osc.conf' -/-> '/etc/mpv/lua-settings/osc.conf'\r\n[osc] lua-settings/osc.conf not found. \r\n[cplayer] Run command: define-section, flags=0, args=[showhide, mouse_move script-binding osc/__keybinding1\r\n[cplayer] mouse_leave script-binding osc/__keybinding2\r\n[cplayer] , force]\r\n[cplayer] Run command: enable-section, flags=0, args=[showhide, allow-hide-cursor+allow-vo-dragging]\r\n[cplayer] Run command: define-section, flags=0, args=[input, mouse_btn0 script-binding osc/__keybinding3\r\n[cplayer] shift+mouse_btn0 script-binding osc/__keybinding4\r\n[cplayer] mouse_btn2 script-binding osc/__keybinding5\r\n[cplayer] mouse_btn0_dbl ignore\r\n[cplayer] shift+mouse_btn0_dbl ignore\r\n[cplayer] mouse_btn2_dbl ignore\r\n[cplayer] del script-binding osc/__keybinding6\r\n[cplayer] , force]\r\n[cplayer] Run command: enable-section, flags=0, args=[input, ]\r\n[cplayer] Run command: disable-section, flags=0, args=[input]\r\n[cplayer] Done loading @osc.lua.\r\n[ytdl_hook] Loading script @ytdl_hook.lua...\r\n[global] config path: 'scripts' -/-> '/home/fratti/.config/mpv/scripts'\r\n[global] config path: 'scripts' -/-> '/home/fratti/.mpv/scripts'\r\n[global] config path: 'scripts' -/-> '/etc/mpv/scripts'\r\n[ytdl_hook] loading mp.defaults\r\n[ytdl_hook] loading @ytdl_hook.lua\r\n[cplayer] Run command: hook-add, flags=0, args=[on_load, 1, 10]\r\n[cplayer] Done loading @ytdl_hook.lua.\r\n[global] config path: 'scripts' -/-> '/home/fratti/.config/mpv/scripts'\r\n[global] config path: 'scripts' -/-> '/home/fratti/.mpv/scripts'\r\n[global] config path: 'scripts' -/-> '/etc/mpv/scripts'\r\n[global] config path: 'watch_later' -> '/home/fratti/.config/mpv/watch_later'\r\n[cplayer] Playing: https://0x0.st/skp.mp4\r\n[cplayer] Running hook: ytdl_hook/on_load\r\n[global] config path: 'youtube-dl' -/-> '/home/fratti/.config/mpv/youtube-dl'\r\n[global] config path: 'youtube-dl' -/-> '/home/fratti/.mpv/youtube-dl'\r\n[global] config path: 'youtube-dl' -/-> '/etc/mpv/youtube-dl'\r\n[ytdl_hook] found youtube-dl version: 2015.08.16.1\r\n[ytdl_hook]  \r\n[ytdl_hook] youtube-dl succeeded! \r\n[ytdl_hook] Got direct URL \r\n[cplayer] Run command: hook-ack, flags=0, args=[on_load]\r\n[ffmpeg] Opening https://0x0.st/skp.mp4\r\n[ffmpeg] Opened: https://0x0.st/skp.mp4\r\n[ffmpeg] Mime-type: 'video/mp4'\r\n[cache] Cache size set to 75089 KiB (75000 KiB backbuffer)\r\n[demux] Trying demuxer: disc (force-level: normal)\r\n[demux] Trying demuxer: edl (force-level: normal)\r\n[demux] Trying demuxer: cue (force-level: normal)\r\n[demux] Trying demuxer: rawaudio (force-level: normal)\r\n[demux] Trying demuxer: rawvideo (force-level: normal)\r\n[demux] Trying demuxer: tv (force-level: normal)\r\n[demux] Trying demuxer: libass (force-level: normal)\r\n[demux] Trying demuxer: mkv (force-level: normal)\r\n[demux] Trying demuxer: rar (force-level: normal)\r\n[demux] Trying demuxer: lavf (force-level: normal)\r\n[lavf] Found 'mov,mp4,m4a,3gp,3g2,mj2' at score=100 size=2048.\r\n[lavf] avformat_find_stream_info() finished after 32768 bytes.\r\n[demux] Detected file format: mov,mp4,m4a,3gp,3g2,mj2 (libavformat)\r\n[cache] blocking for STREAM_CTRL 8\r\n[cache] blocking for STREAM_CTRL 8\r\n[global] config path: 'sub/' -/-> '/home/fratti/.config/mpv/sub/'\r\n[global] config path: 'sub/' -/-> '/home/fratti/.mpv/sub/'\r\n[global] config path: 'sub/' -/-> '/etc/mpv/sub/'\r\n[cplayer]  (+) Video --vid=1 (*) (h264)\r\n[vo/opengl-hq] Initializing OpenGL backend 'wayland'\r\n[vo/opengl-hq/wayland] failed to connect to a wayland server: check if a wayland compositor is running\r\n[vo/opengl-hq] Initializing OpenGL backend 'x11'\r\n[vo/opengl-hq/x11] X11 opening display: :0\r\n[vo/opengl-hq/x11] X11 running at 1920x1080 (\":0\" => local display)\r\n[vo/opengl-hq/x11] Detected wm supports NetWM.\r\n[vo/opengl-hq/x11] Detected wm supports FULLSCREEN state.\r\n[vo/opengl-hq/x11] Detected wm supports ABOVE state.\r\n[vo/opengl-hq/x11] Detected wm supports BELOW state.\r\n[vo/opengl-hq/x11] Detected wm supports STAYS_ON_TOP state.\r\n[vo/opengl-hq/x11] Display 0 (eDP-1-0): [0, 0, 1920, 1080] @ 60.001038 FPS\r\n[vo/opengl-hq/x11] Current display FPS: 60.001038\r\n[vo/opengl-hq] GLX chose FB config with ID 0xe9\r\n[vo/opengl-hq] GLX chose visual with ID 0x63\r\n[vo/opengl-hq] GL_VERSION='4.5.0 NVIDIA 352.30'\r\n[vo/opengl-hq] Detected desktop OpenGL 4.5.\r\n[vo/opengl-hq] GL_VENDOR='NVIDIA Corporation'\r\n[vo/opengl-hq] GL_RENDERER='GeForce 840M/PCIe/SSE2'\r\n[vo/opengl-hq] GL_SHADING_LANGUAGE_VERSION='4.50 NVIDIA'\r\n[vo/opengl-hq] Loaded functions for 210/builtin.\r\n[vo/opengl-hq] Loaded functions for 210/builtin.\r\n[vo/opengl-hq] Loaded functions for 300/builtin.\r\n[vo/opengl-hq] Loaded functions for 110/GL_EXT_unpack_subimage.\r\n[vo/opengl-hq] Loaded functions for 300/GL_ARB_framebuffer_object.\r\n[vo/opengl-hq] Loaded functions for 300/GL_ARB_vertex_array_object.\r\n[vo/opengl-hq] Loaded functions for 300/GL_ARB_texture_float.\r\n[vo/opengl-hq] Loaded functions for 300/GL_ARB_texture_rg.\r\n[vo/opengl-hq] Loaded functions for 0/GLX_SGI_swap_control.\r\n[vo/opengl-hq] Loaded functions for 0/GLX_SGI_video_sync.\r\n[vo/opengl-hq] Loaded functions for 0/GL_NV_vdpau_interop.\r\n[vo/opengl-hq] Loaded functions for 430/GL_ARB_debug_output.\r\n[vo/opengl-hq] 16 bit texture depth: 16.\r\n[vo/opengl-hq] Display depth: R=8, G=8, B=8\r\n[vo/opengl-hq] Testing user-set FBO format (0x805b)\r\n[vo/opengl-hq] Create FBO: 16x16\r\n[vo/opengl-hq] Testing user-set FBO format (0x805b)\r\n[vo/opengl-hq] Create FBO: 16x16\r\n[vo/opengl-hq] Testing user-set FBO format (0x805b)\r\n[vo/opengl-hq] Create FBO: 16x16\r\n[vo/opengl-hq] Assuming 60.001038 FPS for framedrop.\r\n[vd] Container reported FPS: 30.000000\r\n[vd] Codec list:\r\n[vd]     lavc:h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10\r\n[vd]     lavc:h264_vdpau (h264) - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (VDPAU acceleration)\r\n[vd] Opening video decoder lavc:h264\r\n[vd] Detected 4 logical cores.\r\n[vd] Requesting 5 threads for decoding.\r\n[vd] Selected video codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 [lavc:h264]\r\n[vo/opengl-hq/x11] Disabling screensaver.\r\n[cplayer] Starting playback...\r\n[vf] Video filter chain:\r\n[vf]   [vd] 933x955 yuv444p auto/auto CL=mpeg2/4/h264\r\n[vf]   [in] 933x955 yuv444p bt.709/limited CL=mpeg2/4/h264\r\n[vf]   [out] 933x955 yuv444p bt.709/limited CL=mpeg2/4/h264\r\n[cplayer] VO: [opengl-hq] 933x955 yuv444p\r\n[cplayer] VO: Description: Extended OpenGL Renderer (high quality rendering preset)\r\n[vo/opengl-hq] Resize: 933x955\r\n[vo/opengl-hq] Window size: 933x955\r\n[vo/opengl-hq] Video source: 933x955 (933x955)\r\n[vo/opengl-hq] Video display: (0, 0) 933x955 -> (0, 0) 933x955\r\n[vo/opengl-hq] Video scale: 1.000000/1.000000\r\n[vo/opengl-hq] OSD borders: l=0 t=0 r=0 b=0\r\n[vo/opengl-hq] Video borders: l=0 t=0 r=0 b=0\r\n[vo/opengl-hq] Testing user-set FBO format (0x805b)\r\n[vo/opengl-hq] Create FBO: 16x16\r\n[vo/opengl-hq] Testing user-set FBO format (0x805b)\r\n[vo/opengl-hq] Create FBO: 16x16\r\n[vo/opengl-hq] Testing user-set FBO format (0x805b)\r\n[vo/opengl-hq] Create FBO: 16x16\r\n[vo/opengl-hq] Texture for plane 0: 933x955\r\n[vo/opengl-hq] Texture for plane 1: 933x955\r\n[vo/opengl-hq] Texture for plane 2: 933x955\r\n[vo/opengl-hq] Reinit rendering.\r\n[vo/opengl-hq] Create FBO: 933x955\r\n[vo/opengl-hq] recompiling a shader program:\r\n[vo/opengl-hq] [  1] vec4 color;\r\n[vo/opengl-hq] [  2] vec2 chroma = vec2(texture(texture1, texcoord1).r, texture(texture2, texcoord2).r);\r\n[vo/opengl-hq] [  3] float luma = texture(texture0, texcoord0).r;\r\n[vo/opengl-hq] [  4] color = vec4(luma, chroma, 1.0);\r\n[vo/opengl-hq] [  5] // color conversion\r\n[vo/opengl-hq] [  6] color.rgb = mat3(colormatrix) * color.rgb + colormatrix_c;\r\n[vo/opengl-hq] [  7] color.a = 1.0;\r\n[vo/opengl-hq] [  8] // scaler pre-conversion\r\n[vo/opengl-hq] [  9] color.rgb = clamp(color.rgb, 0.0, 1.0);\r\n[vo/opengl-hq] [ 10] color.rgb = pow(color.rgb, vec3(1.961));\r\n[vo/opengl-hq] [ 11] // main scaling\r\n[vo/opengl-hq] Create FBO: 933x1024\r\n[vo/opengl-hq] recompiling a shader program:\r\n[vo/opengl-hq] [  1] #define tex texture0\r\n[vo/opengl-hq] [  2] vec2 pos = texcoord0;\r\n[vo/opengl-hq] [  3] vec2 size = texture_size0;\r\n[vo/opengl-hq] [  4] vec2 pt = vec2(1.0) / size;\r\n[vo/opengl-hq] [  5] // pass 1\r\n[vo/opengl-hq] [  6] vec4 color = vec4(0.0);\r\n[vo/opengl-hq] [  7] {\r\n[vo/opengl-hq] [  8] vec2 dir = vec2(0, 1);\r\n[vo/opengl-hq] [  9] pt *= dir;\r\n[vo/opengl-hq] [ 10] float fcoord = dot(fract(pos * size - vec2(0.5)), dir);\r\n[vo/opengl-hq] [ 11] vec2 base = pos - fcoord * pt - pt * vec2(2);\r\n[vo/opengl-hq] [ 12] vec4 c;\r\n[vo/opengl-hq] [ 13] vec4 c1 = texture(lut, vec2(0.25, fcoord));\r\n[vo/opengl-hq] [ 14] vec4 c2 = texture(lut, vec2(0.75, fcoord));\r\n[vo/opengl-hq] [ 15] float weights[6] = float[](c1.r, c1.g, c1.b, c2.r, c2.g, c2.b);\r\n[vo/opengl-hq] [ 16] // scaler samples\r\n[vo/opengl-hq] [ 17] c = texture(tex, base + pt * vec2(0));\r\n[vo/opengl-hq] [ 18] color += vec4(weights[0]) * c;\r\n[vo/opengl-hq] [ 19] c = texture(tex, base + pt * vec2(1));\r\n[vo/opengl-hq] [ 20] color += vec4(weights[1]) * c;\r\n[vo/opengl-hq] [ 21] c = texture(tex, base + pt * vec2(2));\r\n[vo/opengl-hq] [ 22] color += vec4(weights[2]) * c;\r\n[vo/opengl-hq] [ 23] c = texture(tex, base + pt * vec2(3));\r\n[vo/opengl-hq] [ 24] color += vec4(weights[3]) * c;\r\n[vo/opengl-hq] [ 25] c = texture(tex, base + pt * vec2(4));\r\n[vo/opengl-hq] [ 26] color += vec4(weights[4]) * c;\r\n[vo/opengl-hq] [ 27] c = texture(tex, base + pt * vec2(5));\r\n[vo/opengl-hq] [ 28] color += vec4(weights[5]) * c;\r\n[vo/opengl-hq] [ 29] }\r\n[vo/opengl-hq] Dither to 8.\r\n[vo/opengl-hq] recompiling a shader program:\r\n[vo/opengl-hq] [  1] #define tex texture0\r\n[vo/opengl-hq] [  2] vec2 pos = texcoord0;\r\n[vo/opengl-hq] [  3] vec2 size = texture_size0;\r\n[vo/opengl-hq] [  4] vec2 pt = vec2(1.0) / size;\r\n[vo/opengl-hq] [  5] // pass 2\r\n[vo/opengl-hq] [  6] vec4 color = vec4(0.0);\r\n[vo/opengl-hq] [  7] {\r\n[vo/opengl-hq] [  8] vec2 dir = vec2(1, 0);\r\n[vo/opengl-hq] [  9] pt *= dir;\r\n[vo/opengl-hq] [ 10] float fcoord = dot(fract(pos * size - vec2(0.5)), dir);\r\n[vo/opengl-hq] [ 11] vec2 base = pos - fcoord * pt - pt * vec2(2);\r\n[vo/opengl-hq] [ 12] vec4 c;\r\n[vo/opengl-hq] [ 13] vec4 c1 = texture(lut, vec2(0.25, fcoord));\r\n[vo/opengl-hq] [ 14] vec4 c2 = texture(lut, vec2(0.75, fcoord));\r\n[vo/opengl-hq] [ 15] float weights[6] = float[](c1.r, c1.g, c1.b, c2.r, c2.g, c2.b);\r\n[vo/opengl-hq] [ 16] // scaler samples\r\n[vo/opengl-hq] [ 17] c = texture(tex, base + pt * vec2(0));\r\n[vo/opengl-hq] [ 18] color += vec4(weights[0]) * c;\r\n[vo/opengl-hq] [ 19] c = texture(tex, base + pt * vec2(1));\r\n[vo/opengl-hq] [ 20] color += vec4(weights[1]) * c;\r\n[vo/opengl-hq] [ 21] c = texture(tex, base + pt * vec2(2));\r\n[vo/opengl-hq] [ 22] color += vec4(weights[2]) * c;\r\n[vo/opengl-hq] [ 23] c = texture(tex, base + pt * vec2(3));\r\n[vo/opengl-hq] [ 24] color += vec4(weights[3]) * c;\r\n[vo/opengl-hq] [ 25] c = texture(tex, base + pt * vec2(4));\r\n[vo/opengl-hq] [ 26] color += vec4(weights[4]) * c;\r\n[vo/opengl-hq] [ 27] c = texture(tex, base + pt * vec2(5));\r\n[vo/opengl-hq] [ 28] color += vec4(weights[5]) * c;\r\n[vo/opengl-hq] [ 29] }\r\n[vo/opengl-hq] [ 30] color.a = 1.0;\r\n[vo/opengl-hq] [ 31] // scaler post-conversion\r\n[vo/opengl-hq] [ 32] // color management\r\n[vo/opengl-hq] [ 33] color.rgb = clamp(color.rgb, 0.0, 1.0);\r\n[vo/opengl-hq] [ 34] color.rgb = pow(color.rgb, vec3(1.0/1.961));\r\n[vo/opengl-hq] [ 35] // dithering\r\n[vo/opengl-hq] [ 36] vec2 dither_pos = gl_FragCoord.xy / 64;\r\n[vo/opengl-hq] [ 37] float dither_value = texture(dither, dither_pos).r;\r\n[vo/opengl-hq] [ 38] color = floor(color * 255 + dither_value + 0.5 / (64 * 64)) / 255;\r\n[global] config path: 'fonts' -/-> '/home/fratti/.config/mpv/fonts'\r\n[global] config path: 'fonts' -/-> '/home/fratti/.mpv/fonts'\r\n[global] config path: 'fonts' -/-> '/etc/mpv/fonts'\r\n[global] config path: 'subfont.ttf' -/-> '/home/fratti/.config/mpv/subfont.ttf'\r\n[global] config path: 'subfont.ttf' -/-> '/home/fratti/.mpv/subfont.ttf'\r\n[global] config path: 'subfont.ttf' -/-> '/etc/mpv/subfont.ttf'\r\n[global] config path: 'fonts.conf' -/-> '/home/fratti/.config/mpv/fonts.conf'\r\n[global] config path: 'fonts.conf' -/-> '/home/fratti/.mpv/fonts.conf'\r\n[global] config path: 'fonts.conf' -/-> '/etc/mpv/fonts.conf'\r\n[osd/libass] Setting up fonts...\r\n[osd/libass] Done.\r\n[global] config path: 'fonts' -/-> '/home/fratti/.config/mpv/fonts'\r\n[global] config path: 'fonts' -/-> '/home/fratti/.mpv/fonts'\r\n[global] config path: 'fonts' -/-> '/etc/mpv/fonts'\r\n[global] config path: 'subfont.ttf' -/-> '/home/fratti/.config/mpv/subfont.ttf'\r\n[global] config path: 'subfont.ttf' -/-> '/home/fratti/.mpv/subfont.ttf'\r\n[global] config path: 'subfont.ttf' -/-> '/etc/mpv/subfont.ttf'\r\n[global] config path: 'fonts.conf' -/-> '/home/fratti/.config/mpv/fonts.conf'\r\n[global] config path: 'fonts.conf' -/-> '/home/fratti/.mpv/fonts.conf'\r\n[global] config path: 'fonts.conf' -/-> '/etc/mpv/fonts.conf'\r\n[osd/libass] Setting up fonts...\r\n[osd/libass] Done.\r\n[global] config path: 'fonts' -/-> '/home/fratti/.config/mpv/fonts'\r\n[global] config path: 'fonts' -/-> '/home/fratti/.mpv/fonts'\r\n[global] config path: 'fonts' -/-> '/etc/mpv/fonts'\r\n[global] config path: 'subfont.ttf' -/-> '/home/fratti/.config/mpv/subfont.ttf'\r\n[global] config path: 'subfont.ttf' -/-> '/home/fratti/.mpv/subfont.ttf'\r\n[global] config path: 'subfont.ttf' -/-> '/etc/mpv/subfont.ttf'\r\n[global] config path: 'fonts.conf' -/-> '/home/fratti/.config/mpv/fonts.conf'\r\n[global] config path: 'fonts.conf' -/-> '/home/fratti/.mpv/fonts.conf'\r\n[global] config path: 'fonts.conf' -/-> '/etc/mpv/fonts.conf'\r\n[osd/libass] Setting up fonts...\r\n[osd/libass] Done.\r\n[cplayer] first video frame after restart shown\r\n[cplayer] playback restart complete\r\n[cplayer] Video sync mode enabled.\r\n[lavf] EOF reached.\r\n[cplayer] EOF code: 1  \r\n[vd] Uninit video.\r\n[cache] Terminating cache...\r\n[cache] Cache exiting...\r\n[cplayer] \r\n[cplayer] \r\n[cplayer] Exiting... (End of file)\r\n[ytdl_hook] Exiting...\r\n[osc] Exiting...\r\n[vo/opengl-hq/x11] Enabling screensaver.\r\n[vo/opengl-hq/x11] uninit ...\r\n```\r\n\r\nSome notes: This is an nvidia-optimus Linux system, which has historically [had issues with speed of animation playback](https://bugreports.qt.io/browse/QTBUG-45959), so perhaps this is connected."}}