mpv/TOOLS/lua
Guido Cella f4de509f01 TOOLS/autocrop.lua: switch to auto-copy hwdec during cropdetect
I didn't set file-local-options/hwdec because you have to store the
hwdec value to restore it after cropdetect anyway, and if the user
manually changes hwdec after cropdetect, the new value isn't reset when
changing file.
2023-09-21 13:50:21 +00:00
..
README.md
acompressor.lua various: fix typos 2022-04-25 09:07:18 -04:00
ao-null-reload.lua
audio-hotplug-test.lua
autocrop.lua TOOLS/autocrop.lua: switch to auto-copy hwdec during cropdetect 2023-09-21 13:50:21 +00:00
autodeint.lua
autoload.lua TOOLS/lua/autoload: rename local variable to lowercase 2023-09-15 21:19:34 +00:00
command-test.lua command: extend subprocess command stdin, change behavior 2020-08-16 02:54:44 +02:00
cycle-deinterlace-pullup.lua
nan-test.lua vo_gpu, options: don't return NaN through API 2019-10-25 00:25:05 +02:00
observe-all.lua
ontop-playback.lua
osd-test.lua command: extend osd-overlay command with bounds reporting 2020-03-06 18:20:11 +01:00
pause-when-minimize.lua
skip-logo.lua skip-logo.lua: remove lua 5.2 warning message 2020-02-29 21:49:14 +01:00
status-line.lua
test-hooks.lua client API: provide ways to finish property changes on file changes 2020-03-07 02:52:10 +01:00

README.md

mpv lua scripts

The lua scripts in this folder can be loaded on a one-time basis by adding the option

--script=/path/to/script.lua

to mpv's command line.

Where appropriate, they may also be placed in ~/.config/mpv/scripts/ from where they will be automatically loaded when mpv starts.

This is only a small selection of internally maintained scripts. Some of them are just for testing mpv internals, or serve as examples. An extensive user-edited list of 3rd party scripts is available here:

https://github.com/mpv-player/mpv/wiki/User-Scripts

(Anyone can add their own scripts to that list.)