Coder Social home page Coder Social logo

I have an idea about mpv_thumbnail_script HOT 3 CLOSED

theamm avatar theamm commented on June 27, 2024
I have an idea

from mpv_thumbnail_script.

Comments (3)

 avatar commented on June 27, 2024

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.

from mpv_thumbnail_script.

hooke007 avatar hooke007 commented on June 27, 2024

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.

from mpv_thumbnail_script.

sdsaati avatar sdsaati commented on June 27, 2024

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!

from mpv_thumbnail_script.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.