mpv_thumbnail_script icon indicating copy to clipboard operation
mpv_thumbnail_script copied to clipboard

Thumbnailing failed, check the console for details

Open Foro38 opened this issue 3 years ago • 7 comments

The console output:

foro@based:~/Videos$ /usr/bin/mpv Rick\ Astley\ -\ Never\ Gonna\ Give\ You\ Up\ \(Video\)-dQw4w9WgXcQ.mkv 

 (+) Video --vid=1 (*) (h264 1920x1080 25.000fps)
 (+) Audio --aid=1 --alang=eng (*) (opus 2ch 48000Hz)
AO: [pulse] 48000Hz stereo 2ch float
VO: [gpu] 1920x1080 yuv420p
AV: 00:00:00 / 00:03:32 (0%) A-V:  0.000
[mpv_thumbnail_script_client_osc] The 'tick' event is deprecated and will be removed.
AV: 00:00:00 / 00:03:32 (0%) A-V:  0.000
[mpv_thumbnail_script_server] Thumbnailing command failed! 
[mpv_thumbnail_script_server] mpv process error: nil 
[mpv_thumbnail_script_server] Process stdout:  
[mpv_thumbnail_script_server] Debug log: /tmp/mpv_thumbs_cache/Rick Astley - Never Gonna Give You Up Video-dQw4w9WgXcQ-116271961/000000.bgra.log 
[mpv_thumbnail_script_server] Output file missing! /tmp/mpv_thumbs_cache/Rick Astley - Never Gonna Give You Up Video-dQw4w9WgXcQ-116271961/000000.bgra 
AV: 00:00:03 / 00:03:32 (1%) A-V:  0.000


Exiting... (Quit)

/tmp/mpv_thumbs_cache/Rick Astley - Never Gonna Give You Up Video-dQw4w9WgXcQ-116271961/000000.bgra.log

[   0.003][v][cplayer] mpv 0.33.1 Copyright © 2000-2020 mpv/MPlayer/mplayer2 projects
[   0.003][v][cplayer]  built on UNKNOWN
[   0.003][v][cplayer] FFmpeg library versions:
[   0.003][v][cplayer]    libavutil       56.51.100
[   0.003][v][cplayer]    libavcodec      58.91.100
[   0.003][v][cplayer]    libavformat     58.45.100
[   0.003][v][cplayer]    libswscale      5.7.100
[   0.003][v][cplayer]    libavfilter     7.85.100
[   0.003][v][cplayer]    libswresample   3.7.100
[   0.003][v][cplayer] FFmpeg version: 4.3.2
[   0.003][v][cplayer] 
[   0.003][v][cplayer] Configuration: ./waf --prefix=/nix/store/7sadj6dqsnnqmyy9kz55sgvlb8cq2336-mpv-0.33.1 --enable-libmpv-shared --enable-manpage-build --disable-libmpv-static --disable-static-build --disable-build-date --enable-libarchive --disable-cdda --enable-dvdnav --enable-openal --enable-sdl2 --disable-sixel --enable-vaapi --enable-wayland --enable-dvbin --disable-macos-cocoa-cb configure
[   0.003][v][cplayer] List of enabled features: 52 alsa asm caca cplayer cplugins cuda-hwaccel cuda-interop debug-build drm 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 javascript jpeg lcms2 libarchive libass libavdevice libbluray libdl libm libmpv-shared libplacebo librt linux-fstatfs linux-input-event-codes lua memfd_create openal optimize plain-gl posix posix-or-mingw pthreads pulse rubberband sdl2 sdl2-audio sdl2-gamepad sdl2-video shaderc shaderc-shared stdatomic uchardet vaapi vaapi-drm vaapi-egl vaapi-vulkan vaapi-wayland vaapi-x-egl vaapi-x11 vdpau vt.h vulkan wayland wayland-protocols x11 xv zimg zlib
[   0.003][v][cplayer] Command line options: '--msg-level=all=no' '--no-ytdl' '--user-agent=libmpv' '--referrer=' '--hwdec=no' '--log-file=/tmp/mpv_thumbs_cache/Rick Astley - Never Gonna Give You Up Video-dQw4w9WgXcQ-116271961/000000.bgra.log' 'Rick Astley - Never Gonna Give You Up (Video)-dQw4w9WgXcQ.mkv' '--start=2.5' '--frames=1' '--hr-seek=yes' '--no-audio' '--vf=scale=200:112' '--vf-add=format=bgra' '--of=rawvideo' '--ovc=rawvideo' '--o' '/tmp/mpv_thumbs_cache/Rick Astley - Never Gonna Give You Up Video-dQw4w9WgXcQ-116271961/000000.bgra'
[   0.003][v][cplayer] mpv 0.33.1 Copyright © 2000-2020 mpv/MPlayer/mplayer2 projects
[   0.003][v][cplayer]  built on UNKNOWN
[   0.003][v][cplayer] FFmpeg library versions:
[   0.003][v][cplayer]    libavutil       56.51.100
[   0.003][v][cplayer]    libavcodec      58.91.100
[   0.003][v][cplayer]    libavformat     58.45.100
[   0.003][v][cplayer]    libswscale      5.7.100
[   0.003][v][cplayer]    libavfilter     7.85.100
[   0.003][v][cplayer]    libswresample   3.7.100
[   0.003][v][cplayer] FFmpeg version: 4.3.2
[   0.003][v][cplayer] 
[   0.003][v][cplayer] Configuration: ./waf --prefix=/nix/store/7sadj6dqsnnqmyy9kz55sgvlb8cq2336-mpv-0.33.1 --enable-libmpv-shared --enable-manpage-build --disable-libmpv-static --disable-static-build --disable-build-date --enable-libarchive --disable-cdda --enable-dvdnav --enable-openal --enable-sdl2 --disable-sixel --enable-vaapi --enable-wayland --enable-dvbin --disable-macos-cocoa-cb configure
[   0.003][v][cplayer] List of enabled features: 52 alsa asm caca cplayer cplugins cuda-hwaccel cuda-interop debug-build drm 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 javascript jpeg lcms2 libarchive libass libavdevice libbluray libdl libm libmpv-shared libplacebo librt linux-fstatfs linux-input-event-codes lua memfd_create openal optimize plain-gl posix posix-or-mingw pthreads pulse rubberband sdl2 sdl2-audio sdl2-gamepad sdl2-video shaderc shaderc-shared stdatomic uchardet vaapi vaapi-drm vaapi-egl vaapi-vulkan vaapi-wayland vaapi-x-egl vaapi-x11 vdpau vt.h vulkan wayland wayland-protocols x11 xv zimg zlib
[   0.003][d][global] config path: '' -> '/home/foro/.config/mpv'
[   0.003][d][global] user path: '~~home/' -> '/home/foro/.config/mpv'
[   0.003][d][global] user path: '~~old_home/' -> '/home/foro/.mpv'
[   0.003][d][global] config path: 'encoding-profiles.conf' -/-> '/home/foro/.config/mpv/encoding-profiles.conf'
[   0.003][d][global] config path: 'encoding-profiles.conf' -/-> '/home/foro/.mpv/encoding-profiles.conf'
[   0.003][d][global] config path: 'encoding-profiles.conf' -> '/nix/store/7sadj6dqsnnqmyy9kz55sgvlb8cq2336-mpv-0.33.1/etc/mpv/encoding-profiles.conf'
[   0.003][v][cplayer] Reading config file /nix/store/7sadj6dqsnnqmyy9kz55sgvlb8cq2336-mpv-0.33.1/etc/mpv/encoding-profiles.conf
[   0.004][v][cplayer] Applying profile 'default'...
[   0.004][d][global] config path: 'mpv.conf' -> '/home/foro/.config/mpv/mpv.conf'
[   0.004][d][global] config path: 'config' -/-> '/home/foro/.config/mpv/config'
[   0.004][d][global] config path: 'mpv.conf' -/-> '/home/foro/.mpv/mpv.conf'
[   0.004][d][global] config path: 'config' -/-> '/home/foro/.mpv/config'
[   0.004][d][global] config path: 'mpv.conf' -/-> '/nix/store/7sadj6dqsnnqmyy9kz55sgvlb8cq2336-mpv-0.33.1/etc/mpv/mpv.conf'
[   0.004][d][global] config path: 'config' -/-> '/nix/store/7sadj6dqsnnqmyy9kz55sgvlb8cq2336-mpv-0.33.1/etc/mpv/config'
[   0.004][v][cplayer] Reading config file /home/foro/.config/mpv/mpv.conf
[   0.004][v][cplayer] Applying profile 'default'...
[   0.004][v][cplayer] Setting option 'loop' = 'yes' (flags = 4)
[   0.004][v][cplayer] Setting option 'osc' = 'no' (flags = 4)
[   0.004][v][cplayer] Setting option 'msg-level' = 'all=no' (flags = 8)
[   0.004][v][cplayer] Setting option 'ytdl' = 'no' (flags = 8)
[   0.004][v][cplayer] Setting option 'user-agent' = 'libmpv' (flags = 8)
[   0.004][v][cplayer] Setting option 'referrer' = '' (flags = 8)
[   0.004][v][cplayer] Setting option 'hwdec' = 'no' (flags = 8)
[   0.004][v][cplayer] Setting option 'log-file' = '/tmp/mpv_thumbs_cache/Rick Astley - Never Gonna Give You Up Video-dQw4w9WgXcQ-116271961/000000.bgra.log' (flags = 8)
[   0.004][v][cplayer] Setting option 'start' = '2.5' (flags = 8)
[   0.004][v][cplayer] Setting option 'frames' = '1' (flags = 8)
[   0.004][v][cplayer] Setting option 'hr-seek' = 'yes' (flags = 8)
[   0.004][v][cplayer] Setting option 'audio' = 'no' (flags = 8)
[   0.004][v][cplayer] Setting option 'vf' = 'scale=200:112' (flags = 8)
[   0.004][v][cplayer] Setting option 'vf-add' = 'format=bgra' (flags = 8)
[   0.004][v][cplayer] Setting option 'of' = 'rawvideo' (flags = 8)
[   0.004][v][cplayer] Setting option 'ovc' = 'rawvideo' (flags = 8)
[   0.004][f][cplayer] Error parsing commandline option o: option requires parameter
[   0.004][w][cplayer] Make sure you're using e.g. '--o=value' instead of '--o value'.
[   0.004][i][cplayer] Exiting... (Fatal error)

mpv.conf

loop=yes
osc=no

Foro38 avatar Apr 18 '21 13:04 Foro38

Same problem here on Arcolinux kernel 5.11.13-arch

migueldeoleiros avatar Apr 19 '21 08:04 migueldeoleiros

It seems to be a problem with outdated lua files on the README, read the issue #66

migueldeoleiros avatar Apr 19 '21 08:04 migueldeoleiros

I am using ubuntu 21 and getting this error [mpv_thumbnail_script_client_osc] You must disable the built-in OSC with osc=no in your configuration!

bhumit070 avatar Sep 26 '21 06:09 bhumit070

I am using it on Windows 11 and facing the same issue. ocs=no doesn't solve the issue for me.

amitsingh-007 avatar Nov 14 '21 20:11 amitsingh-007

It seems to be a problem with outdated lua files on the README, read the issue #66

That worked for me, thanks! =)

I am using it on Windows 11 and facing the same issue. ocs=no doesn't solve the issue for me.

Try fixing it with the link above, it worked for me (I'm also on Windows 11).

frozht avatar Feb 22 '22 16:02 frozht

I fixed this issue in my fork https://github.com/marzzzello/mpv_thumbnail_script This repo had no new commits since Jan 2020

marzzzello avatar Jul 06 '22 17:07 marzzzello

I fixed this issue in my fork https://github.com/marzzzello/mpv_thumbnail_script This repo had no new commits since Jan 2020

This works great! Thank you for continuing support!

JarnoB avatar Nov 03 '22 00:11 JarnoB