Assume these are compatible only with Unix-like systems by default; examination of the code will often suggest relatively minor modifications needed to support Windows. If this is relevant to your use case, feel free to open an issue or pull request.
Clip sections of video with ffmpeg. Allows choosing CRF/two-pass target size, with sensible defaults.
Key binding: clip-ab, by default mapped to c.
Copy the text of the current subtitle line to the clipboard or open it in the browser (useful for integration with eg. Yomitan).
The clipboard part relies on xclip to function. Opening in the browser uses xdg-open.
Note that to get Yomitan to work for file:// URLs in Firefox, you should give it the "Access local files on your computer" permission in extension settings.
Key bindings:
-
copy-subtitle, by default mapped tog. -
open-subtitle-in-browser, by default mapped toctrl+g.
mpv scripts Copyright (C) 2025-present Arjun Satarkar This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 3. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more details.
The file LICENSE.txt in this directory contains the text of the license.