Skip to content

Releases: TinosNitso/mpv-scripts

mpv-scripts-v1.3.3

22 Dec 22:41
0d2cece
Compare
Choose a tag to compare

See README for description, Installation, Safety Inspection, Terminal Commands, app versions, etc. The autoloader has more details. After extraction to SMPlayer folder, enter
--script=autoloader.lua in its Advanced Preferences (mpv Options).

This release now written for YouTube ease-of-use. autocomplex double-normalizer & better shoe color, & can switch track. Improved codes in all scripts (incl. script-opts). automask can now loop JPEG directly, & uses maskedmerge properly. doc folder added to GitHub.

SCREENSHOT-v1 3 3

SHA256 230C44F51E382B58CD903186F2C5E783407A129CD5A19BDE295E85564A547D34

mpv-scripts-v1.3.2

14 Dec 07:31
97d79bf
Compare
Choose a tag to compare

Video clock, multi-stereo audio-speed randomization (aspeed.lua), animated mask generator (automask.lua), dual animated spectrum (autocomplex.lua) & insta-cropping (autocrop.lua) for SMPlayer & MPV! Toggle them by double-clicking on mute (m&m). Pictures, videos & audio can be drag & dropped onto SMPlayer, to light them up. The scripts can be opened & options edited in Notepad (no word wrap). I use Notepad++ on Windows, & Brackets on MacOS. All free for Windows, Linux & MacOS. 🙂

To use on YouTube select Open→URL in SMPlayer. All toggle instantly if you disable the autocomplex.lua toggle_on_double_mute option. The mask vanishes or re-appears, along with black-bars & audio switches btwn ambient & normal. MPV has instant zoom, but unfortunately no scroll bar (to pan around with mouse, etc). Keyboard shortcuts only work if MPV has its own window (SMPlayer preference).

Example installation: In Windows extract all .lua scripts from mpv-scripts-v1.3.2.zip into smplayer-portable folder. Then in SMPlayer Advanced Preferences enter

--script=autoloader.lua

Then hit OK & play. Overall I consider playback smoother than VLC. In Linux & MacOS create folder mpv-scripts on Desktop. Then extract all scripts into it. Then enter

--script=~/Desktop/mpv-scripts/autoloader.lua

In Linux try sudo apt install smplayer or double-click the .AppImage. All scripts also fully compatible with .snap & .flatpak releases (autoloader.lua has more details). ~/ means home folder in Linux & MacOS.

Advanced: To run in Windows from Command Prompt, create a New Text Document in SMPlayer folder & rename it TEST.CMD. Also copy in TEST.MP4. Then right-click on TEST.CMD & click Edit. In Notepad copy/paste:

CMD /K MPV\MPV TEST.MP4 --script=autoloader.lua

Then Save it & double-click it. The command line shows warnings, etc. MPV pauses when text in CMD is selected. Linux & MacOS are similar. All these scripts can be run from CMD, PowerShell, etc. They do nothing but deliver scripted commands to MPV. But most ppl prefer an interface like SMPlayer.

Before running scripts it's safer to first check them in Notepad++. Ignore all comments (lines starting with --). Any code containing mp.command (media player), commandv, command_native, os.execute (operating system), io.popen (input output process), subprocess, etc, can do almost anything, in Windows. To inspect a script highlight those words.

autocomplex zoompan now has perfect sync (important bugfix), on YouTube too. aspeed now faster on YouTube, with many speakers/devices. Added options dual_colormix, dual_alpha, dual_scale, dual_overlay, feet_threshold_h, SHOE_COLOR & gb for neutral blue shade. Also extra 5% for Nyquist. Can also change video/audio track once inside SMPlayer. CALIBRATION waves mix into [ao]. Improved options & codes (e.g. ROUND_SQUARE in automask). Bugfix for automask MP3 cover art insta-toggle. autocrop now only uses 1 graph. 🙂

Can check mpv-scripts-v1.3.2.zip hash SHA256 is EDD744977973D6832355CBCCE1FE1A6E6750C93AF8AC593628C744CDC74C0F57.

SCREENSHOT-v1 3 2

mpv-scripts-v1.3

04 Dec 13:57
363317a
Compare
Choose a tag to compare

Multi-stereo audio randomization aspeed.lua, animated mask automask.lua, animated dual spectrum autocomplex.lua, insta-cropping autocrop.lua & video-clock for SMPlayer & MPV! Toggle them by double-clicking on mute (m&m). Pictures, videos & audio can be drag & dropped onto SMPlayer, to light them up. Also fully compatible with YouTube (Open→URL in SMPlayer). The scripts can be opened & options edited in Notepad (no word wrap). I use Notepad++ on Windows, & Brackets on MacOS. All free for Windows, Linux & MacOS. For mask insta-toggle on YouTube hit F2. 🙂

Example installation: In Windows extract all .lua scripts from mpv-scripts-v1.3.zip & copy/paste them into smplayer-portable folder. Then in SMPlayer Advanced Preferences enter

--script=autoloader.lua

Then hit OK & play. Overall I consider playback smoother than VLC.

However it's safer to first check all scripts in Notepad++ to check they are safe. Ignore all comments. Any line of code containing mp.command (media player), commandv, command_native, io.popen (input output), os.execute (operating system), subprocess, etc can do almost anything, in Windows. To inspect a script highlight those words.

In Linux & MacOS create folder mpv-scripts on Desktop. Then extract all scripts into it. Then enter

--script=~/Desktop/mpv-scripts/autoloader.lua

In Linux try sudo apt install smplayer or double-click the .AppImage. All scripts also fully compatible with .snap & .flatpak releases (autoloader.lua has more details). ~/ means home folder in Linux & MacOS.

Advanced: To run in Windows from Command Prompt, create a New Text Document.txt in SMPlayer folder, along with TEST.MP4 (video). Then in Notepad enter:

CMD /K MPV\MPV TEST.MP4 --script=autoloader.lua

Rename the document TEST.CMD. Then double-click it. Other MP4 can be drag & dropped directly onto MPV, too. I prefer SMPlayer, which embeds MPV inside it.

autocomplex.lua now has dual complex & freqs_win_func options. aspeed.lua now has insta-toggle, along with autocrop.lua & automask.lua, but not autocomplex.lua. aspeed.lua also has option for left channel primary. Smooth-cropping no longer supported (too much lag with the dual complex). What's smoother overall is insta-cropping. autocrop-smooth.lua is separate script.

The screenshot may vary over time, but not the .zip (SHA256 7C3EAAB75AF49531E97058082216B39132AE252AA281F7B1F5220C37396A6E0E).

SCREENSHOT-v1 3 0

mpv-scripts-v1.2.1

30 Nov 03:25
63b8ac9
Compare
Choose a tag to compare

DOWNLOAD & EXTRACT autoloader.lua, aspeed.lua, autocomplex.lua & automask.lua. CLOCK, AUDIO RANDOMIZATION (10 HRS), SPECTRUM & MASK OVERLAY ANIME. ALL WORKING FOR MP4, MP3 & JPEG. TOGGLE ON & OFF BY DOUBLE-CLICKING MUTE.

EXAMPLE INSTALLATION: IN WINDOWS EXTRACT FROM mpv-scripts-v1.2.1.zip TO SMPLAYER FOLDER smplayer-portable. THEN ENTER

--script=autoloader.lua

IN SMPLAYER ADVANCED PREFERENCES. IN LINUX & MACOS EXTRACT TO ~/Desktop/mpv-scripts then

--script=~/Desktop/mpv-scripts/autoloader.lua

~/ MEANS HOME FOLDER IN LINUX & MACOS.

automask NOW HAS INSTA-TOGGLE ("F2" IF MPV HAS ITS OWN WINDOW). HOWEVER aspeed & autocomplex CAN'T TOGGLE BOTH WAYS INSTANTLY (aspeed HAS POTENTIAL). autocomplex FOR MP3 NOW FIXED (DOUBLE SPECTRUM FOR RAW MP3, TOTAL RAM ONLY APPROX 600MB). autocrop SMOOTHER NOW & USES ONLY vf-command, NOT GRAPH REPLACEMENT. ALSO A BUGFIX FOR ITS BLACK-BAR STRETCHING/POSITIONING.

SCREENSHOT-v1 2 1

SHA256: DC8657EC563F1CEC845192051F3D6F62AED3C9A075600844BCFCCC7D309E24D9

mpv-scripts-v1.2

25 Nov 15:07
bb8da08
Compare
Choose a tag to compare

autocrop MUCH SMOOTHER NOW. ALSO CONTAINS autoloader, aspeed, autocomplex & automask. CLOCK, AUDIO RANDOMIZATION, SPECTRUM & MASK OVERLAY ANIME. ALL WORKING FOR MP4, MP3 & JPEG, FOR 10 HOURS.

EXAMPLE INSTALLATIONS. WINDOWS: EXTRACT FROM mpv-scripts-v1.2.zip TO SMPLAYER FOLDER (smplayer-portable). THEN ENTER

--script=autoloader.lua

IN SMPLAYER ADVANCED PREFERENCES. IN LINUX & MACOS EXTRACT TO Desktop/mpv-scripts then

--script=~/Desktop/mpv-scripts/autoloader.lua

BUGFIXES LIKE EXPANDING "~/" FOR LINUX (aspeed). IMPROVED automask EXAMPLES & autocomplex OPTIONS. GRAPH CODES ON 1 LINE EACH. REDUCED MEMORY LEAK FOR COVER ART, BUT STILL 3GB (TO-DO FOR NEXT RELEASE).

SHA256: E1D175DA6270D7DA3D91FDAC0FF4A1C9704AB93249E601CA7AED5DC5A8C05E6B

SCREENSHOT-v1 2 0

mpv-scripts-v1.1

23 Nov 03:53
1f1b1b8
Compare
Choose a tag to compare

EXAMPLE INSTALLATIONS. WINDOWS: EXTRACT FROM mpv-scripts-v1.1.zip TO SMPLAYER FOLDER (smplayer-portable). THEN ENTER

  • --script=autoloader.lua

IN SMPLAYER ADVANCED PREFERENCES. IN LINUX & MACOS EXTRACT TO Desktop/mpv-scripts then

---script=~/Desktop/mpv-scripts/autoloader.lua

CONTAINS autoloader, aspeed, autocrop, autocomplex & automask. CLOCK, AUDIO RANDOMIZATION, SMOOTHCROP, SPECTRUM OVERLAY & MASK.

SAME DAY RELEASE AS v1.0. SOME BUGFIXES, INCREASED ZOOM (automask) & SMOOTHCROP (autocrop, IMPROVED PERFORMANCE) BY DEFAULT. MACOS HAD A setsar ISSUE, WHICH INTERFERED WITH THE CLOCK. t→t-startt FOR aspeed DELAY.

SHA256: 92B0630DE27E2BA3D5B24C2FA41805C852A917ECF4E9172E159866448A8AAB37

mpv-scripts-v1.0

22 Nov 18:23
9309731
Compare
Choose a tag to compare

EXAMPLE INSTALLATION: EXTRACT FROM mpv-scripts.zip TO SMPLAYER FOLDER (smplayer-portable). THEN

  • --script=autoloader.lua

IN SMPLAYER ADVANCED PREFERENCES.

CONTAINS autoloader, aspeed, autocrop, automask & autocomplex.

aspeed PUTS A DATA FILE INTO WHATEVER FOLDER IT'S IN, FOR AUDIO INSTANCES TO KEEP TIME.

SHA256: 69526A4800DDFE86463F4C1DC5C7BD60364DF9CCF9D27030510303227EDCD2F8

SCREENSHOT-v1 0