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

I have an idea #59

Closed
hooke007 opened this issue Apr 28, 2020 · 3 comments
Closed

I have an idea #59

hooke007 opened this issue Apr 28, 2020 · 3 comments

Comments

@hooke007
Copy link

Hello.
Now I find that the script can just generate all the preview thumbnail, which will lead to much high CPU usage for a long time. For I usually enjoy the movies while my computer's performance is poor, so I have to pause to wait for the completion of the generating the thumbnails.

So I have a plan, how could it generate the thumb when and where I want ......

@ghost
Copy link

ghost commented May 9, 2020

Hello.
Now I find that the script can just generate all the preview thumbnail, which will lead to much high CPU usage for a long time. For I usually enjoy the movies while my computer's performance is poor, so I have to pause to wait for the completion of the generating the thumbnails.

So I have a plan, how could it generate the thumb when and where I want ......

This is already possible.
"When": Set autogenerate_max_duration=3600 to autogenerate_max_duration=1 in your mpv_thumbnail_script.conf, this will stop the thumbnailing process to start automatically in 99,9% of any video. As default, if you want to start the thumbnailing process just use the shortcut Shift+T.

"Where": In this exact same file, mpv_thumbnail_script.conf, you'll find something as cache_directory=/tmp/my_mpv_thumbnails, just replace with the location you want. Mine for example is cache_directory=C:\Program Files (x86)\MPV Player\mpv\mpv_thumbs_cache.

@hooke007
Copy link
Author

hooke007 commented May 9, 2020

This is already possible.
"When": Set autogenerate_max_duration=3600 to autogenerate_max_duration=0 in your mpv_thumbnail_script.conf, this will stop the thumbnailing process to start automatically. As default, if you want to start the thumbnailing process just use the shortcut Shift+T.

"Where": In this exact same file, mpv_thumbnail_script.conf, you'll find something as cache_directory=/tmp/my_mpv_thumbnails, just replace with the location you want. Mine for example is cache_directory=C:\Program Files (x86)\MPV Player\mpv\mpv_thumbs_cache.

No, I mean...Just generate the accurate frame I want (just like potplayer or other media player) rather than generate all the thumbnails at one time.

@sdsaati
Copy link

sdsaati commented May 26, 2020

Hmm, true, it's a good idea, generating the thumbnails on the fly while seeking the video, if it is possible, it would be really nice!

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