Coder Social home page Coder Social logo

Issue with default inputs about mpv-webm HOT 4 CLOSED

ekisu avatar ekisu commented on May 28, 2024
Issue with default inputs

from mpv-webm.

Comments (4)

OrangeChannel avatar OrangeChannel commented on May 28, 2024

You'd want to add S script-binding webm/display-webm-encoder for the webm keybind to be switched to "S" for example. In order to disable all of the other stuff you have in input.conf when running with --no-input-default-bindings, put the script-binding line at the very top, and underneath it add this: default-bindings start. This will make it so all of the following input lines will be read as default bindings, which mpv will disable once it runs --no-input-default-bindings. (I hope I understood your problem right.)

from mpv-webm.

Chadwiick avatar Chadwiick commented on May 28, 2024

Your my hero, thanks so much! Works perfectly for what I'd like to do.

If I may ask one last question, is there a way to disable the script from saving subtitles in the encode options? Ideally I'd like to add the ability to create a toggle function within the webm.lua script to choose if subtitles are added to the webm (yes - keeps subs, no - saves without subs). By default, I don't find much use in keeping subtitles in my webm files. I'm still learning how to script, so all the help so far has been greatly appreciated.

from mpv-webm.

ekisu avatar ekisu commented on May 28, 2024

Press "v" to hide the subs, and then encode.

from mpv-webm.

Chadwiick avatar Chadwiick commented on May 28, 2024

Weird, that never used to work but it literally just worked now. My guess is maybe I disabled subs while I was in the webm maker instead of hiding the subs then opening webm maker like you mentioned. Either way, thanks for the reply!

from mpv-webm.

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.