Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thumbnailing command failed & Command 'escape-ass' not found #57

Open
SingleRottenChips opened this issue May 24, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@SingleRottenChips
Copy link

Description of the bug
Thumbnailing command failed & Command 'escape-ass' not found

To Reproduce

  1. Ran mpv up.mp4
  2. See error:

[mpv_thumbnail_script_server] Thumbnailing command failed!
[mpv_thumbnail_script_server] mpv process error: nil
[mpv_thumbnail_script_server] Process stdout: nil
[mpv_thumbnail_script_server] Debug log: /tmp/mpv_thumbs_cache/up-520584567/000063.bgra.log
[mpv_thumbnail_script_server] Output file missing! /tmp/mpv_thumbs_cache/up-520584567/000063.bgra
[mpv_thumbnail_script_client_osc] Command 'escape-ass' not found.

Expected behavior
The video is thumbnailed.

Debug log

Log

mpv --msg-level=mpv_thumbnail_script_server=debug,mpv_thumbnail_script_client_osc=debug,ytdl_hook=debug up.mp4
[ytdl_hook] Loading lua script @ytdl_hook.lua...
[ytdl_hook] loading mp.defaults
[ytdl_hook] loading @ytdl_hook.lua
[ytdl_hook] reading options for ytdl_hook 
[ytdl_hook] script-opts/ytdl_hook.conf not found. 
[ytdl_hook] lua-settings/ytdl_hook.conf not found. 
[mpv_thumbnail_script_client_osc] Loading lua script /Users/lochips/.config/mpv/scripts/mpv_thumbnail_script_client_osc.lua...
[mpv_thumbnail_script_server] Loading lua script /Users/lochips/.config/mpv/scripts/mpv_thumbnail_script_server.lua...
[mpv_thumbnail_script_client_osc] loading mp.defaults
[mpv_thumbnail_script_server] loading mp.defaults
[mpv_thumbnail_script_client_osc] loading file /Users/lochips/.config/mpv/scripts/mpv_thumbnail_script_client_osc.lua
[mpv_thumbnail_script_server] loading file /Users/lochips/.config/mpv/scripts/mpv_thumbnail_script_server.lua
[mpv_thumbnail_script_server] reading options for mpv_thumbnail_script 
[mpv_thumbnail_script_server] Opened config file script-opts/mpv_thumbnail_script.conf. 
[mpv_thumbnail_script_client_osc] reading options for mpv_thumbnail_script 
[mpv_thumbnail_script_client_osc] Opened config file script-opts/mpv_thumbnail_script.conf. 
[mpv_thumbnail_script_client_osc] reading options for osc 
[mpv_thumbnail_script_client_osc] script-opts/osc.conf not found. 
[mpv_thumbnail_script_client_osc] lua-settings/osc.conf not found. 
[ytdl_hook] ytdl:// hook 
[ytdl_hook] not a ytdl:// url 
[ytdl_hook] playlist hook 
[mpv_thumbnail_script_client_osc] osc_init 
[mpv_thumbnail_script_client_osc] osc_init 
 (+) Video --vid=1 (*) (h264 1920x1080 59.985fps)
 (+) Audio --aid=1 (*) (aac 2ch 48000Hz)
[mpv_thumbnail_script_server] Announcing self to master... 
Using hardware decoding (videotoolbox).
[mpv_thumbnail_script_server] Announcing self to master... 
AO: [coreaudio] 48000Hz stereo 2ch floatp
[mpv_thumbnail_script_server] Announcing self to master... 
VO: [libmpv] 1920x1080 videotoolbox[nv12]
[mpv_thumbnail_script_client_osc] Registered worker mpv_thumbnail_script_server 
[mpv_thumbnail_script_client_osc] Gathering video/thumbnail state 
[mpv_thumbnail_script_server] Successfully registered with master 
[mpv_thumbnail_script_client_osc] Thumbnailer.state: {"finished_thumbnails" = 0, "thumbnail_delta" = 5, "thumbnail_template" = "/tmp/mpv_thumbs_cache/up-520584567/%06d.bgra", "thumbnail_directory" = "/tmp/mpv_thumbs_cache/up-520584567", "worker_extra" = {}, "available" = true, "thumbnail_count" = 102, "thumbnail_size" = {"w" = 300, "h" = 168}, "thumbnails" = {-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}, "ready" = true} 
[mpv_thumbnail_script_client_osc] Creating thumbnail directory /tmp/mpv_thumbs_cache/up-520584567 
[mpv_thumbnail_script_client_osc] Splitting 102 thumbnails amongst 1 worker(s) 
[mpv_thumbnail_script_client_osc] Giving workers state: {"enabled":true,"finished_thumbnails":0,"worker_input_path":"up.mp4","thumbnail_delta":5,"thumbnail_template":"/tmp/mpv_thumbs_cache/up-520584567/%06d.bgra","thumbnail_directory":"/tmp/mpv_thumbs_cache/up-520584567","worker_extra":[],"available":true,"thumbnail_count":102,"thumbnail_size":{"w":300,"h":168},"thumbnails":[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1],"ready":true} 
[mpv_thumbnail_script_client_osc] Assigning job to mpv_thumbnail_script_server [64,32,96,16,48,80,8,24,40,56,72,88,4,12,20,28,36,44,52,60,68,76,84,92,100,2,6,10,14,18,22,26,30,34,38,42,46,50,54,58,62,66,70,74,78,82,86,90,94,98,102,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,55,57,59,61,63,65,67,69,71,73,75,77,79,81,83,85,87,89,91,93,95,97,99,101] 
[mpv_thumbnail_script_client_osc] osc_init 
[mpv_thumbnail_script_server] Handling given job 
[mpv_thumbnail_script_server] Generating 102 thumbnails @ 300x168 for "up.mp4" 
[mpv_thumbnail_script_server] Starting work on thumbnail 63 
[mpv_thumbnail_script_server] Thumbnailing command failed! 
[mpv_thumbnail_script_server] mpv process error: nil 
[mpv_thumbnail_script_server] Process stdout: nil 
[mpv_thumbnail_script_server] Debug log: /tmp/mpv_thumbs_cache/up-520584567/000063.bgra.log 
[mpv_thumbnail_script_server] Output file missing! /tmp/mpv_thumbs_cache/up-520584567/000063.bgra 
[mpv_thumbnail_script_server] Changing files, subprocess killed 
[mpv_thumbnail_script_client_osc] osc_init 
[mpv_thumbnail_script_client_osc] Command 'escape-ass' not found.
[mpv_thumbnail_script_client_osc] Command 'escape-ass' not found.
[mpv_thumbnail_script_client_osc] Command 'escape-ass' not found.

Environment

  • OS: MacOS
  • mpv version: 0.37.0
  • mpv_thumbnail_script version: 0.4.8
  • other scripts or special config that might be relevant: SmartCopyPaste

Additional context
None.

@SingleRottenChips SingleRottenChips added the bug Something isn't working label May 24, 2024
@qqap
Copy link

qqap commented Jul 11, 2024

I'm also facing this problem on macOS. I found https://github.com/iina/iina which is an open-source cocoa wrapper on mpv with thumbnail previews built-in, so others might find it useful to use while this issue gets resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants