Download Latest Version mpv-scripts-v1.5.7 source code.tar.gz (23.9 MB)
Email in envelope

Get an email when there's a new version of mpv-scripts

Home / v1.5.7
Name Modified Size InfoDownloads / Week
Parent folder
SCREENSHOT.webp 2024-09-15 3.2 MB
mpv-scripts-v1.5.7.zip 2024-08-14 104.1 kB
mpv-scripts-v1.5.7 source code.tar.gz 2024-08-14 23.9 MB
mpv-scripts-v1.5.7 source code.zip 2024-08-14 23.9 MB
README.md 2024-08-14 2.5 kB
Totals: 5 Items   51.2 MB 0

Example installation: In Windows after extraction to smplayer-portable folder, enter --script=. in its Advanced Preferences (mpv Options). Edit main.lua in a text editor to determine which scripts load, etc. See README for description, installation, app versions, script-commands & terminal commands.

Updates:

  • Added script-message & function show to all scripts.
  • Added script-message & function set to all scripts.
  • Added script-message & function exit to all scripts.
  • Added script-message print to all scripts.
  • Added functions callstring, pprint & pexpand_to_string to all scripts. More rigorous codes. More elegant options.
  • Added function is_filter_present to aspeed, autocrop & automask.
  • Added nil script-bindings for all toggles.
  • autocrop: Added o.auto_aspect, o.auto_delay_aspect, o.start_aspect_on, o.gsubs_passes, o.gsubs & o.framerate. Crop & aspect toggles now separated. Randomizes aspect at 1Hz. The gsubs are for auto_aspect. Bugfix for negative detections (h<0). Removed o.apply_min_ratio. Added script-message & function apply_framerate which interpolates to 50fps. Improved meta_osd. Removed timers.apply_scale. 9 examples include RANDOM_POWER; RANDOM_WALKER; CYCLE_min_max; CYCLE_HDTV_TV; RANDOM_N_FULLSCREEN; UP_AND_ACROSS; ACROSS_AND_DOWN; UP_LEFT_RIGHT_DOWN; & LINEAR_DISTRIBUTION.
  • automask: o.res_safety lowered by 1. Added eq=enable=0:... & convolution=enable=0:... to o.filterchain (mask can increase contrast). Removed timers.apply_eq.
  • autocomplex: Added o.freqs_samplerate & "GREEN_BLUE;" example. Setting 4200 Hz makes each baton worth 200Hz.
  • aspeed: Added o.suppress_script_opts. Added "RANDOM_SPEED;" o.speed example.
  • rotate & zoompan now opt-in (autocomplex & automask). These null-ops can reduce performance.

Errors

  • o.framerate should be nil. Interpolation is always a bad thing, it turns out.
  • o.auto_aspect should be centered on ${video-params/aspect}, so that the median aspect is true. Thin videos are widened too much with the current formula.
  • The double/dual trumpets below are timed wrong. 🙁
  • o.limits media-titles have many typos.

SHA-256 E67835FBC10775C3EEC3111FBBF46E61B1B1BAD1B43C956A61DA9DE606FBAF0C

Source: README.md, updated 2024-08-14