GithubHelp home page GithubHelp logo

Comments (4)

ripose-jp avatar ripose-jp commented on May 25, 2024

Nice catch with the double seek, I'll fix it in the next release.

As for changing the default keybinds, I'd rather not so Memento remains functionally as close to mpv as possible.

You can implement the behavior you want pretty easily by adding these lines to your input.conf.

ENTER   sub-seek        0
RIGHT   sub-seek        1
LEFT    sub-seek        -1

Check the README to find the location of the config directory for your operating system.

These links will be helpful for finding out what the default binds are and how to configure you own custom binds:
https://mpv.io/manual/stable/
https://github.com/mpv-player/mpv/blob/master/etc/input.conf

from memento.

hopto-dot avatar hopto-dot commented on May 25, 2024

Wow, thank you! This is amazing, I didn't know about this.

from memento.

ripose-jp avatar ripose-jp commented on May 25, 2024

I've done a little poking around and found out the "double seek" thing is actually default mpv behavior.

mpv has two ways of handling seeks, approximate seeks and exact seeks. An approximate seek just seeks to the next highest value of 10. For example, RIGHT seek 1 will seek 10 seconds ahead, while RIGHT seek 11 will seek 20 seconds ahead. You can request mpv do exact seeks for everything by setting hr-seek=yes in your mpv.conf file, or by binding an exact seek like RIGHT seek 5 exact in your input.conf.

I'm not sure whether or not I'll change this behavior in the next release. Until I decide, I'll leave this issue open.

from memento.

ripose-jp avatar ripose-jp commented on May 25, 2024

I've decided to leave the the seeking behavior the way it is since

  • it's intended mpv behavior
  • users can change the behavior themselves
  • hard coding hr-seek=yes takes away configuration options
  • it may potentially make the player perform worse on lower end hardware

from memento.

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.