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

Thumbnail generation stuck at 0% #95

Closed
ghost opened this issue Jul 27, 2022 · 9 comments
Closed

Thumbnail generation stuck at 0% #95

ghost opened this issue Jul 27, 2022 · 9 comments

Comments

@ghost
Copy link

ghost commented Jul 27, 2022

Thumbnails are always blank, and say "0%". Does anybody know of a way to fix this?

mpv_PEkVkAZyAc

@norpol
Copy link

norpol commented Aug 6, 2022

This should fix it #91

@ghost
Copy link
Author

ghost commented Aug 6, 2022

This should fix it #91

I've tried this. It didn't work for me :/

@norpol
Copy link

norpol commented Aug 6, 2022

Does mpv say anything on the command-line when you're starting to play a video?

For me the error message before chaning the --o to -o was:

[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/S01E02-842550121/000000.bgra.log
[mpv_thumbnail_script_server] Output file missing! /tmp/mpv_thumbs_cache/S01E02-842550121/000000.bgra

@ghost
Copy link
Author

ghost commented Aug 6, 2022

I'm not sure what command-line you mean, but mpv itself isn't giving me any errors when I start playing a video.
Where do I check the error log?

@Hrxn
Copy link

Hrxn commented Aug 6, 2022

Guys....
Just use the fork: https://github.com/marzzzello/mpv_thumbnail_script

@ghost
Copy link
Author

ghost commented Aug 6, 2022

Alright, thank you, but now that I'm using the fork it tells me "Thumbnailing failed, check console for more details".
I don't know how to check the console. The mpv manual says that the console is displayed on the video window, but it isn't.

@Hrxn
Copy link

Hrxn commented Aug 6, 2022

No console is displayed by default.. there is a built-in console though, it's bound to the backtick key by default, but you can obviously rebind it..

https://github.com/mpv-player/mpv/blob/master/etc/input.conf#L95

#` script-binding console/enable        # open the console

@ghost
Copy link
Author

ghost commented Aug 6, 2022

Console output

PtgxOGqpKW

@ghost
Copy link
Author

ghost commented Aug 6, 2022

My dumbass didn't set the right cache directory for the thumbnails in my mpv_thumbnail_script.conf.
It's fixed now, thanks for the help!

@ghost ghost closed this as completed Aug 6, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants