You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
stax76 272c5cd68a misc 2 years ago
LICENSE.txt misc 2 years ago
README.md misc 2 years ago

README.md

Awesome mpv Awesome

A curated list of awesome mpv resources.

Table of contents

Media Player

Cross-platform

Windows

MacOS

  • IINA - Based on Swift/Cocoa.

Linux

Build/Installation

Support

User Script

Menu

  • M-x - Searchable and configurable menu to quickly find key bindings and commands.
  • search-menu - Searchable and configurable menu to quickly find key bindings, commands, properties, audio/subtitle tracks and playlist entries.
  • mpv-search-page - Searchable and configurable menu to quickly find key bindings, commands, options and properties.
  • mdmenu - Use dmenu (Linux launcher) for selecting audio/subtitle/chapters etc.
  • Tcl/Tk context-menu - Configurable context-menu based on Tcl/Tk (cross-platform).
  • menu - Configurable on screen menu to launch custom commands.
  • osm - Configurable on screen menu to launch custom commands.
  • mpvc-tui - Command-line and TUI for mpv.
  • contextmenu - Configurable context-menu based on Tcl/Tk (cross-platform).
  • menu - Configurable on screen context-menu.

Playback

  • playlist-manager - Create and manage playlists.
  • recent - Recently played menu.
  • trackselect - Select tracks based on their title.
  • chapterskip - Skip chapters based on their title.
  • sort_script - Sort directories and files.
  • fastforward - Fast-forward instead of skipping.
  • chapters - Display chapters and switch between chapters.
  • libunity - Show a nice progress bar on your Linux panel/dock.
  • plugin-bookmark - Record your playing history for each folder.
  • segment-linking - Supports Matroska hard segment linking.
  • quack - Reduces audio volume temporarily after seeking.
  • control - Various features mainly for controlling playback.
  • groupwatch_sync - Automatically start and get back in sync with a group watch.
  • unseen-playlistmaker - Keeps track of your watched files from a directory, and on keypress enters playlist-mode to watch unseen files from that specified directory.
  • multiloop - Loop over multiple A-B points.
  • bluetooth-av-delay - Adds desired A-V delay automatically, if default audio sink is a bluetooth device.
  • skip-silence - Playback mode that automatically skips/speed up silent parts.
  • dvd-browser - Browse and load DVD titles.
  • plugin-myshows - Automatically marks a currently watched episode in MyShows.
  • notify - Now-playing-desktop notifications.
  • taskbar-buttons - (Windows) Adds thumbbar buttons.
  • xscreensaver - (Linux) Disables XScreensaver while video playback is active, a replacement for heartbeat-cmd.
  • xfce-genmonify - Update a xfce4-panel genmon plugin that is set up with genmonify to display the currently playing media file and elpapsed or remaining time in xfce4-panel.
  • writename - Write the currently playing filename/path to a file, optionally skipping/removing from current playlist and muting.
  • when-to-loop - Intelligently decide when mpv should loop, i.e. while shuffling or while playing a short file.
  • UndoRedo - If you seek to a different time in the video, press undo [ctrl]+[z] to linearly undo the seeks in the video, and press redo [ctrl]+[y] to linearly return to previous undo positions. More details in the link above.

File Managment

On Screen Controller

Input

  • gestures - Touchscreen and mouse gestures.
  • cheatsheet - Looking up keyboard shortcuts (bindings).
  • InputEvent - Enhanced input.conf with better, conflict-free, low-latency event mechanism.
  • zones - Handles commands depending on where the mouse pointer is at, mostly for mouse wheel handling.

Subtitle

  • assrt - Automatically download subtitles from assrt.net.
  • autosub - Automatic subtitle downloading.
  • sub-select - Advanced conditional subtitle track selector.
  • autosubsync - Automatic subtitle synchronization script.
  • intersubs - Interactive subtitles.
  • sub-transition - Speed up the video if no subtitles are visible.
  • sub - Automatic downloading/adding of subtitles from subscence.
  • tts-subs - Use voice synthesis to read subtitles out-loud.
  • trueautosub - Fork of autosub, automatically downloads subtitles if not present using subliminal. (osx/linux only)

Music

  • coverart - Automatically loads external cover art for music files.
  • metadata-osd - Adds OSD showing song name, album name and other metadata.

Audio

Learning

  • mpvacious - Add keybindings to create Anki flashcards for (language) learning.
  • interSubs - Interactive subtitles, instantly translate selected word/sentence.
  • immersive - Looking up words generating Anki flashcards.
  • migaku - Learn languages together with the Migaku browser extension.
  • Yomichampv - A simple solution for integration with Yomichan - a browser-based japanese dictionay.

Streaming

  • jellyfin - Turns mpv into a Jellyfin client.
  • mpvDLNA - Browse and watch content hosted on DLNA servers.
  • mpvf - Select youtube-dl format for streaming.
  • quality-menu - Change the streamed video and audio quality (ytdl-format) on the fly.
  • selectformat - Select the format (quality) of internet videos.
  • sponsorblock_minimal - More simple version of the sponsorblock script.
  • sponsorblock - Script to skip sponsored segments of YouTube videos.
  • streamsave - Save live streams without encoding.
  • youtube-download - Download YouTube audio and video with one key press.
  • youtube-search - A script that allows users to search youtube and open results from within mpv. Requires a couple of extra API scripts, along with curl and a personal youtube API key.
  • youtube-search - Use zenity and youtube-dl to search YouTube.
  • youtube-upnext - A menu for (auto) playing YouTube's "up next"/recommended videos, that show up on the right side on the website.
  • ytdlautoformat - Auto change ytdl-format for Youtube and Twitch.
  • webtorrent-hook - Allows streaming torrents using webtorrent (same as mpv-peerflix-hook but using webtorrent instead). Webtorrent-cli can play in mpv with webtorrent --mpv, but this script allows using torrent identifiers as the file argument to mpv or pasting them into the current playlist using one of the pasting scripts listed here. It also supports additional functionality like automatic file cleanup and the ability to remember the last file played in the torrent. See the readme for more information. See here for a comparison with the other javascript webtorrent plugin. I recommend this plugin over my others (mpv-peerflix-hook and btfs-stream).

Video

  • changerefresh - Automatically change the refresh rate of the current display to match the playing video.
  • gpufreq - Displays the current and maximum GPU frequency as an osd message.
  • mvtools-script - vapoursynth-mvtools script.
  • store-shaders - Store current glsl-shaders config on first run, this config will then be restored by subsequent calls.
  • switch-shader - Provides a switch to disable/restore shaders and vf filters.
  • xrandr - Automatically sets the display refresh rate to the one best suitable for the video played
  • vlcaspectratio - Implements a VLC style aspect ratio hotkey 'a' that stretches the video to different aspect ratios.
  • cycle-video-rotate - Allows you to perform video rotation which perfectly cycles through all 360 degrees without any glitches.
  • vlccrop - Implements a VLC style crop hotkey 'c' that cycles through crop settings, useful for cropping letter-boxed or pillar-boxed content.
  • use-cpu - If the width of the video is greater than 3000 or the height of the video is greater than 2000, it will automatically switch back to using cpu decoding.
  • waveform - Displays a waveform of the video in real-time.

Image

  • thumbfast - High-performance on-the-fly thumbnailer for mpv.
  • crop_script - Take cropped screenshots.
  • gif-generator - Creates animated gifs using hotkeys.
  • auto-mode - Use mpv as music player and image viewer.
  • waifu2x - Take screenshot and convert images with waifu2x.

Video Editing

  • trim - Trim clips without transcoding.
  • easycrop - Cropping videos with ease.
  • videoclip - Create video and audio clips.
  • video-splice - Create a video out of cuts.
  • Pure - Get the file path, timestamps, and cropping coordinates for ffmpeg.
  • cut - Video cutting/clipping/slicing script.

Social

  • Discord RPC - Discord Rich Presence integration.
  • irc - Displays lines from an irc channel.
  • LoadDanmaku - Load local damaku files.
  • youtube-chat - Overlays YouTube chat on top of a video using yt-dlp.

Configuration

  • persist-properties - Keep selected property values (like volume) between player sessions.

Other

  • webm - WebM converter based on MoonScript.
  • manager - Script and shader manager.
  • copyStuff - Copy to clipboard the filename, full filename path, relative filename path, current video time, current displayed subtitle text, video duration/metadata.
  • copyTime - Copies the current time to the clipboard.
  • screenshot-to-clipboard - Takes a screenshot and saves it to the clipboard.
  • takeSsSequence - Take a sequence of equispaced screenshots.
  • vr-reversal - View 3D side-by-side video as a 2D video, allows you to look around and zoom within the video, logs the head motions to a file for later rendering out to a 2D video with ffmpeg.
  • vo_battery - Choose the VO based on if the laptop is on battery or not.
  • tv-output - TV output handling - activate on mpv playback and deactivate on mpv shutdown.

Music Player

  • Harmonoid - Cross-platform, based on Dart/Flutter.
  • Olivia - Linux cloud music player, based on C++/QT/Web.
  • vmn - Cross-platform CLI music player, based on C/TUI.

Mobile Player

Media Center

  • Stremio - Cross-platform, based on C++/QT.

Streaming

  • Macast - DLNA Media Renderer. You can push videos, pictures or musics from your mobile phone to your computer, based on Python/Web.
  • jellyfin mpv shim - Jellyfin (Emby/Plex alternative) Client, based on Python.
  • Botflix/stream-cli - Command-line tool that combines scrapy and webtorrent for streaming movies, based on Python/TUI.
  • webtorrent-mpv-hook - Adds a hook that allows mpv to stream torrents using webtorrent.
  • ff2mpv - A Firefox/Chrome extension for playing URLs in mpv, based on PowerShel/Shell/Python/JavaScript.
  • plex-mpv-shim - Cast media from Plex Mobile and Web apps to MPV, based on Python.
  • play-with-mpv - Chrome extension for playing URLs in mpv, based on JavaScript/Python/Web.
  • qtube - Linux YouTube frontend, based on Python/QT.
  • TubiTui - Cross-platform YouTube client based on Rust/TUI.
  • DLNAmpvRenderer - Windows DLNA/UPnP renderer based on Python.
  • Plaincast - Unmaintained Linux server that acts like a lightweight/headless Chromecast that only includes YouTube, based on Golang.
  • orion - Unmaintained cross platform Twitch.tv client, based on C++/QT/QML.
  • ytdl-preload - Precache the next entry in your playlist if it is a network source by downloading it to a temp file ahead of time. Updated to download all streams in parallel so you can watch it while it downloads.

Configuration

Social

  • Syncplay - Synchronize playback on mpv/VLC/MPC on many computers and chat with friends. Cross-platform, based on Python.
  • KikoPlay - Cross-platform Danmu player, based on C++/QT.

Video Conversion

  • boram - Unmaintained cross-platform WebM converter, based on JavaScript/Web/Electron.
  • webm.py - Cross-platform command-line WebM converter, based on Python.

Shaders

  • Anime4K - A series of shaders designed to scale and enhance anime. Includes shaders for line sharpening, artefact removal, denoising, upscaling, and more.
  • LumaSharpenHook - A sharpen filter similar to using Unsharp Mask in Photoshop ported from SweetFX shader pack.
  • SSimDownscaler, SSimSuperRes, Krig, Adaptive Sharpen, etc. - * SSimDownscaler: Perceptually based downscaler. More information is here. SSimSuperRes: The aim of this shader is to make corrections to the image upscaled by mpv built-in scaler (removes ringing artifacts, restores original sharpness, etc). Krig: Chroma scaler that uses luma information for high quality upscaling.
  • Noise - Simplistic filter that adds a tunable amount of uniform white noise to the output.
  • Film Grain v1** and **Film Grain v2 - Two configurable shaders for applying gaussian-weighted white noise to the image. v2 is a smoothed version of v1, which uses an extra gaussian blur pass to shift the grain frequency spectrum. Both versions can trivially be adapted to add film grain to other channels besides LUMA by just adding it to the list of hooks.
  • Antiringing - This is an antiringing filter that works by clamping to the local neighbourhood. Sort of inspired by the mpv built-in antiringing algorithm, but it's extended in such a way that it also works well for polar (EWA) filters, which the mpv built-in algorithm does not support at all.
  • nnedi3 and ravu - User shaders for prescaling.
  • FSRCNN - Prescaler based on layered convolutional networks.
  • un360 - Converts equirectangular 360 degree video to be watchable, at a fixed perspective.
  • acme-0.5x - Fastest 0.5x downscaler for mpv, useful for 4K video playback on FHD screen (bypass chroma upscaling and color conversion in 4K resolution).
  • Nonlinear stretch - Non-linear stretch scaling. use with --no-keepaspect.
  • lensfix - Fix radial distortion commonly found in wide angle action cameras.
  • hyperview - Dynamic stretching filter aiming to bring effects similar to GoPro SuperView.
  • FidelityFX CAS - AMD FidelityFX Contrast Adaptive Sharpening (CAS) provides a mixed ability to sharpen and optionally scale an image. The algorithm adjusts the amount of sharpening per pixel to target an even level of sharpness across the image. Areas of the input image that are already sharp are sharpened less, while areas that lack detail are sharpened more. This allows for higher overall natural visual sharpness with fewer artifacts.
  • FidelityFX FSR - AMD FidelityFX Super Resolution is a spatial upscaler: it works by taking the current anti-aliased frame and upscaling it to display resolution without relying on other data such as frame history or motion vectors. At the heart of FSR is a cutting-edge algorithm that detects and recreates high-resolution edges from the source image. Those high-resolution edges are a critical element required for turning the current frame into a “super resolution” image. FSR provides consistent upscaling quality regardless of whether the frame is in movement, which can provide quality advantages compared to other types of upscalers.
  • NVIDIA Image Scaling - NVIDIA Image Scaling is a spatial scaling and sharpening algorithm. The scaling algorithm uses a 6-tap scaling filter combined with 4 directional scaling and adaptive sharpening filters, which creates nice smooth images and sharp edges. In addition, an adaptive-directional sharpening-only algorithm is available. The directional scaling and sharpening algorithm is named NVScaler while the adaptive-directional-sharpening-only algorithm is named NVSharpen.
  • Post upscale unsharp masking - This is mpvs original image sharpening algorithm ported into the shader, in order to work only after upscaling is done.
  • Non-local means - Highly configurable and featureful denoiser and adaptive sharpener.
  • Alt Scale - An alternative to mpv's built in scaling. It can be slightly faster than built in scaling with equivalent quality.
  • Unsharp mask and Gaussian blur - A 2 pass unsharp mask and a 2 pass gaussian blur. Similar to those in Photoshop, Image Magick, Gimp, etc.
  • 2D Image Resampling - 2D Image Resampling is a general resampling algorithm made for experimental / testing use.
  • mpv-prescalers - Prescalers for mpv, as user shaders.

VapourSynth Scripts

  • mvtools - Use MVTools's BlockFPS function to perform motion interpolation on the video in realtime.
  • nnedi3 - Use NNEDI3 to double the resolution of the video. This always performs a single doubling. Note that the vapoursynth-nnedi3 filter is so slow that this practically can't be used in realtime, so it's not much use in practice.
  • neo_f3kdb_dither - Use neo_f3kdb to dither the video, with dynamic grain as the default.
  • CCD - Use CCD (Camcorder Color Denoise) to apply chroma denoise/derainbow to video.

Video Editing

  • vidcutter - Cross-platform video cutter/joiner, based on Python/QT.
  • tsv_edl.vim - Linux video editing with vim/spreadsheet/sed/python.

Image Viewer

External Tools

Remote Control

  • mpv-mpris - On Linux allows controlling mpv using standard media keys.
  • simple-mpv-webui Based on Python/Lua/JavaScript/Web.
  • mpv-remote-app - For Android, based on Java/Python.
  • mpv-remote-app - For Android, based on Web/VUI/Ionic/Node.js.
  • MPVMediaControl - Windows 10 System Media Transport Controls (SMTC).
  • Classic remote control: 'One For All Contour URC1210' using Philips code 0556 together with 'FLIRC USB (gen2)'.

Tutorial

Building

Library

  • python - Python interface.
  • mpv.js - Embeddable player for Electron/NW.js applications.
  • user-input - API to allow mpv scripts to request user text input.
  • extended-menu - Searchable menu (Command Palette).
  • osc-framework - OSC framework to help build your custom OSC.
  • mpv.d.ts - TypeScript definition file for mpv scripting in JavaScript.
  • script - npm TypeScript definitions.

Other

  • install - Sets up file associations for mpv on Windows.
  • Memento - Cross-platform video player for studying Japanese, based on C++/QT.
  • blitzloop - Linux karaoke software, based on Python/OpenGL.
  • mpvQC - Cross-platform application for quality control of videos, based on Python/QT.
  • vidify - Cross-platform app that detects playing songs on your device and plays their music videos anywhere, based on Python.
  • Karaoke Mugen - Cross-platform karaoke management app, based on JavaScript/node.js/Web.

To Do

  • abs-screenshot - Uses Exiftool to get the "Date/Time Original" and saves a screenshot with the name being the actual time the video was taken.
  • acompressor - Dynamic range compressor using acompressor ffmpeg filter with controls to dynamically adjust parameters.
  • adevice-list - Interractive audio-device list menu.
  • always-play-on-startup - Always play on startup, never start playback in a paused state.
  • Audio WebDAV & Sub WebDAV - Auto connection of external subtitles and sound, using the "WEBDAV" protocol. The connection is explicit due to explicitly specifying folders on the WebDAV server.
  • audio-balance - Port of mpv's balance property to FFmpeg lavfi pan filter.
  • audio-dupe - Runs a child process to play a second audio stream. Synced through named pipe.
  • audio-file-keys - Automatically apply key bindings when playing audio files.
  • auto-keep-gui-open - Intelligently switches mpv's "keep-open" behavior based on whether you are running in video-mode or audio-only mode.
  • auto-save-state - Periodically saves progress with write-watch-later-config, and also cleans up the watch later data after the file is finished playing (so playlists may continue at the correct file).
  • autocrop - Automatically crop the video by using lavfi's cropdetect filter to detect black bars.
  • autodeint - Automatically deinterlace the video by using lavfi's idet filter to detect interlaced content.
  • autoload - Automatically load playlist entries before and after the currently playing file, by scanning the directory.
  • autoloop - Automatically loops files that are under a given duration (default 5 seconds).
  • autosave - Periodically saves "watch later" data during playback, rather than only saving on quit. Newer fork: https://gist.github.com/CyberShadow/2f71a97fb85ed42146f6d9f522bc34ef
  • autospeed - To adjust monitor refresh rate and video speed for almost 1:1 playback. (*nix)
  • autospeedwin - To adjust monitor refresh rate and video speed for almost 1:1 playback. (Windows)
  • autosub - Automatically download subtitles using subliminal.
  • autosubsync - Automatically sync subtitles using ffsubsync.
  • betterchapters (update) - Loads the next or previous playlist entry if there are no more chapters in the seek direction.
  • blackout - Couldn't find the "Boss key", but you don't want someone (or simply anyone) to see what you are watching?
  • blackout - A fast crossplatform boss-key, but without window minimization (and possible problems with some VO drivers).
  • blur-edges - Replace black bars with a blurry copy of the video
  • bookmark - Record and resume last play in current playing folder
  • bookmarker-menu - Menu to manage all your bookmarks.
  • boss-key - Minimise and pause video at the same time. Windows/Linux. Eliminated the time lag in previous versions.
  • btfs-hook - Allows streaming torrents using FUSE via btfs.
  • btfs-stream - Allows streaming torrents using btfs. As far as I can tell, it is much simpler than the above scripts (no long shell script execution) and much more configurable (the other scripts have no settings). This is much slower than using webtorrent though, so I recommend using webtorrent-hook instead.
  • censor - Skip over parts of videos you don't want (others) to view
  • channel mixer - A set of keybindings using a modifier (Shift or Ctrl) and the function keys (F8-F12) to can adjust the mixing level of surround channels on the fly.
  • chapter-list - Interractive chapter-list menu.
  • chapter-make-read - Automatically read an load the namesake external chapter file with extension of CHP. Temporarily mark the current playback position as a chapter so you can seek to it later. Also allows writing current chapters as CHP or XML. Based on createchapter.
  • chapters-menu - List all chapters of current video, search and choose any.
  • cicle-through-existing - Cycle through existing video/audio/subtitle tracks, skipping the "none" option.
  • clipboard - Provides a set of generic commands to interact with the clipboard. Specifically it allows user to copy arbitrary text to the clipboard and provides the ability to paste the contents of the clipboard into other commands.
  • clipshot - Screenshot the video (with subs, without subs or the whole window) and copy it to the clipboard. For Windows, Linux/BSD and MacOs
  • clock - Constantly show current time on the lower left corner of the video screen.
  • composition guides - Overlay basic composition guides onto your video.
  • config-saver - Saves current audio track, subtitle track, subtitle position, etc. for all videos in the folder.
  • confluence - Open magnet links using confluence HTTP service.
  • contact-sheet - Display thumbnails of the current file in the style of a contact sheet
  • convert_script - Script to quickly convert and crop videos from within mpv, with a GUI.
  • copy to music - Copies the current media file you're playing to a predefined directory, and plays the next entry in the playlist (Unix-like)
  • copy-paste-URL - Paste URLs directly from clipboard into mpv
  • copy-permalink - Copy mpv --time=<current-position> <path-playing> to clipboard. Useful for sharing when playing URLs.
  • copy-subtitle - Copies currently displayed subtitle line to clipboard. Cross-platform (Mac, Windows, Linux). Video demonstration
  • copy-time-in-seconds - Copies current playback position in seconds with milliseconds to clipboard.
  • copy-time - Copies current timecode in HH:MM:SS.MS format to clipboard.
  • cp-paste-URL - Fork of copy-paste-URL with support for Linux.
  • createchapter - Temporarily mark the current playback position as a chapter so you can seek to it later. Also allows writing current chapters as XML.
  • crop - Crop the video by defining the target rectangle with the cursor
  • cropmode - Adds a keyboard-oriented mode for cropping, outputting the result in a format suitable for ffmpeg.
  • curvesman - Manipulate color curves filter of FFmpeg with hotkeys. Brighten up color, change color temperature/tone, hopefully more. Adjust yellow light tone to white light tone.
  • cycle_messages - Cycle between custom OSD messages.
  • cycle-audio-device - Cycle through available audio devices with key binds.
  • cycle-commands - Allows input.conf commands to be cycled through with keybinds.
  • cycle-deinterlace-pullup - Cycle between deinterlacing, pullup (IVTC), and both filters off.
  • cycle-denoise - Cycle between lavfi's denoise filters (press n)
  • dbvol - Replaces the default volume controls with a decibel (dB) scale instead of arbitrary percentages.
  • deframe - (Unmaintained) It removes the frame of youtube videos (press g).
  • delete-file - Provides the ability to delete files being played through mpv
  • dessubdb - Download automatically subtitles from the thesubdb.com using DESSubdb.
  • drcbox - Dynamic Audio Normalizer filter with visual feedback.
  • dynamic-crop - Dynamically crop the video by using lavfi's cropdetect filter to detect hard-coded black bars for Ultra Wide Screen (21:9) or any screen different from 16:9 (phone/old TV).
  • encode - Re-encode or remux part of the current video. Can also preserve some filters, such as "crop".
  • equalizer - 5-bands equalizer with colorful display.
  • evafast - Fast-forwarding and seeking on a single key, with quality of life features like slowing down a bit when subtitles are shown.
  • excerpt - Allows you to quickly create excerpts from media files, you just have to set begin and end markers.
  • excessive-history - Excessive played media logger. Logs file name, time, and which parts were played. Will generate a history.txt in the mpv config folder. Only tested on Windows.
  • exit-fullscreen - If you use --keep-open=yes, this script exits fullscreen mode when the playback reaches the end of file/playlist.
  • fastforward - Instead of skipping forward in media files, speed up the playback for a few seconds. Playback speed decays back to 1x after a few seconds. Tap rapidly or hold down to go faster.
  • filter-test - Test mpv/FFmpeg video filter(vf) strings with editable popup dialog.
  • find_subtitles - (Down)load subtitles with subliminal.
  • firequalizer15 - Linear phase 15-bands equalizer.
  • fix_sub_timing - Compute the correct speed/delay of subtitles by manually synching two points in time.
  • force-window-profile - Applies the force-window profile when force-window is set (i.e. when starting mpv from the .desktop file)
  • fuzzydir - This script will read your paths from mpv.conf, find those which end with ** and explode them for good! For example, imagine we have a directory named subs, which contains a and b subdirectories.
  • fuzzydir - Allows using wildcards for sub-file-paths and audio-file-paths.
  • gallery-dl_hook - Load online image galleries (imgur, etc) as playlists using gallery-dl.
  • gnome-inhibit - Prevent the screen from blanking under GNOME+Wayland while a video is playing.
  • guess-media-title - Uses guessit to detect a media title by filename and set force-media-title variable. Useful for getting cleaner screenshot file names.
  • histogram - Exposes a configurable way to overlay ffmpeg histograms in mpv. There is a substantial amount of config available.
  • history-bookmark - Create a history file to store the episode we watched last time. And let us easily jump to the video we watched last time.
  • image-config - A configuration to use mpv as an image viewer.
  • interactive-video - Script for watching interactive videos (such as Netflix's Black Mirror: Bandersnatch).
  • kde-do-not-disturb - Disable the notifications while mpv is running
  • kde-night-color - Disable Night Color while mpv is running
  • KDialog-open-files - Use KDE's KDialog to add files to playlist, subtitles to playing video or open URLs.
  • lang-learner - Turn MPV into language learner tool. Includes: AB-loop current subtitle or auto loop each one, quick switch between lang you know and lang you are learning, forward to browser (dictionaries, translators), record for future extra learning, export to external script for integrations, and a bit more.
  • last.fm scrobbler - Sends the information about playing tracks to last.fm, see http://www.last.fm/help/faq?category=99 for more info.
  • lats - The Low ATtention Span mpv script. Plays brief segments from random positions of one or more files, kinda like flipping through TV channels.
  • leader key - Adds leader key to your mpv. With prefixes and which-key functionality. demo
  • libass_sub_selector - Visually select individual subtitles a la PotPlayer.
  • List chapters - Shows chapters and their time at the bottom left corner. example
  • live-filters - Add, remove or toggle ffmpeg video filters during mpv playback.
  • local-language - Let the text displayed by mpv osd become the language you are most familiar with, that is, language localization, such as 【volume: 100%】 becomes 【音量:100%】.
  • locate-file - Locate current media file on your OS file browser
  • lrc - Download synchronized lyrics of the currently playing song.
  • lua-mpris - Adds mpris support to mpv.
  • matroska-crop - Automatically crop video using the Matroska PixelCrop properties. Includes optional workaround for hardware decoding.
  • mfpbar - A minimalistic progressbar and osc replacement.
  • minesweeper - Minesweeper game.
  • MordenX - A modern OSC UI replacement for MPV that retains the functionality of the default OSC.
  • mpegts-truncate - Removes beginning of MPEG TS file up to current position without re-writing the whole file.
  • discordRPC - Discord RPC integration for mpv using lua-discordRPC as base.
  • frame_info - Show frame info, similar to ffdshow's OSD.
  • inhibit_gnome - Prevent screen blanking on GNOME while content is playing
  • reduce_stream_cache - Reduces MPV cache for streams by increasing playback speed. Works with Twitch through Streamlink.
  • slicing_copying - Cut fragments of video in original format.
  • slicing - Cut uncompressed fragments of the video.
  • thumbnail_script - Show preview thumbnails when hovering over the seekbar, without the need for external dependencies.
  • acestream - Add AceStream protocol handler to mpv. Let the user open streams by dropping Acestream links into mpv GUI or by passing them as command line argument.
  • bookmarker - Bookmark your favorite time on media files
  • BoxToWide - A simple mpv script to change 4:3 aspect-ratio of video files/streams to 16:9 automatically.
  • Change-OSD-Media-Title - Displays filename, percentage watched, current chapter, and number of frames dropped in the OSD media title and updates it whenever one of the values has changed.
  • discord - A cross-platform Discord Rich Presence integration for mpv with no external dependencies. Consists of a Go binary for updating the presence and a Lua script for launching it.
  • history - Simple played media logger. Will generate a mpvhistory.log in the default mpv config folder (%APPDATA%/mpv/ or HOME/.config/mpv/) in the format `[$DATE $TIME] $PATH (?MEDIA-TITLE)`. Only tested on Windows.
  • i3-floating-centered - Show mpv window in the center of the display when it is in floating mode (i3wm)
  • limited-autoload - Auto-load files in a lazy way by limiting how many are loaded into playlist at once
  • manga-reader - Script for using mpv as a manga reader.
  • osc-orange - An osc/ui replacement in dark theme.
  • pdf - View PDFs in mpv using ImageMagick. Supports: Linux, MacOS
  • peerflix-hook - Alternate version of the above gist that works with multiple running peerflix instances and only kills the correct peerflix instance when exiting.
  • rename - Rename files on the go directly from within MPV player window without leaving it.
  • twitch-chat-irc - Show Twitch chat messages as subtitles when watching Twitch LIVE.
  • twitch-chat - Show Twitch chat messages as subtitles when watching Twitch VOD with mpv.
  • txt - Play text files using text-to-speech (TTS). (Works on Linux, MacOS; see Dependencies).
  • volnorm - Client-server setup to provide EBU R.128 volume leveling to MPV, even if files stored on a server and played on multiple machines. (Works on Linux, probably all Unix-like; server in Perl).
  • webp-generator - Creates high quality animated webp using mpv hotkeys. (For windows only)
  • yledl - Watch videos from YLE Areena in mpv using yle-dl
  • mpv2anki - A simple way to add notes to Anki with Audio, screenshots and/or subtitles, with few dependencies.
  • mpvcord - Discord integration for mpv, using the Game SDK instead of Discord RPC. Supports: MacOS and Windows. (Linux is not supported by Game SDK)
  • mpvSockets - creates one IPC sockets per mpv instance, instead of one socket for the last started instance. Supports: Linux, MacOS and Windows.
  • multi-command-if - Very powerful conditional logic and multiple action engine for your keybindings, without having to write a single line of code!
  • multisocket - Creates a numbered socket for each instance of mpv
  • nextfile - Force opens next or previous file in the currently playing files directory.
  • notify-send - A simpler and more recent notifications script for libnotify-compatible (i.e. Unix-like) notifications daemons only. Supports cover art.
  • notify - Adds desktop notifications to the mpv media player, which show metadata like artist, album name and track name when the track changes.
  • oled-screensaver - To prevent burn-ins on OLED TVs, this script fades-in a black screen after 15 seconds when paused in fullscreen.
  • ontop-only-while-playing - Ontop is only active during video playback. Ontop is automatically disabled during idle, pause and is able to be dynamically disabled without having to restart unlike the previous script.
  • ontop-playback - Disables the ontop property when pausing, and enables it again when unpausing the video, if it was disabled. Change it only when the player is not in fullscreen to prevent screen flickering.
  • ontop-window - Disables the ontop property when in fullscreen, and enables it again when in window mode, if it was disabled.
  • open-anilist-page - Opens the Anilist page that corresponds to the currently playing (anime) file.
  • open-imdb-page - Opens the IMDb page that corresponds to the currently playing media file.
  • open-kinopoisk-page - Opens the kinopoisk page that corresponds to the currently playing media file.
  • osc-show-hide-hotkey - Toggles the on-screen controller with a hotkey. Video demonstration
  • osc-style - Change the mpv osc to a more beautiful and practical look, which is the osc theme feature, a variety of styles to choose from,this is a tutorial and a preview.
  • osd-bar - Always show osd progress bar, with the more beautiful color matching in the configuration file, you can make the osd progress bar display the current progress at the bottom of the window beautifully,this is a preview.
  • osd-clock - Periodically shows OSD clock (many configurable options).
  • pause-indicator - Displays a momentary icon that flashes in the middle of the screen, similar to YouTube.
  • pause-when-minimize - Pauses the player video when minimizing, and unpauses it when brought up again.
  • peerflix-hook - Allows streaming of magnet links using peerflix, similar to youtube-dl.
  • permanent-pause-indicator - Displays a permanent indicator in the middle of the screen while mpv is paused. Preview
  • pitchcontrol - Adjusts audio pitch in half-tone steps.
  • play-with - A WebExtension that can open a video stream on a web page with an external player.
  • playlist-navigator - OSD display features easy navigation with scrolling and search to select files to play or remove from playlist.
  • playlist-view - Display and navigate the playlist in a grid view of thumbnails.
  • playlistnoplayback - If you enable the save play history and progress function, this lua script can solve the problem of automatically jumping to the previous playback progress when playing the next file when playing the playlist, that is, let the playlist always play the next file from the beginning every time. the limitations of this script, please see the comments section in the content.
  • playphrase - Search and play phrases from movies and audiobooks.
  • pointer-event - Low latency mouse/touch input event detection. Executes configurable commands on single-click, double-click, long-click and dragging. Events are mutually exclusive. See example for simple gesture detection.
  • profile-cycle - Cycle between your custom defined profiles while watching the video.
  • progressbar - A minimalistic OSC replacement. It provides a small, unintrusive progress bar that persists at the bottom of the video window.
  • quick-scale - Quickly scale the video player to a target size, with full control over target scale and max scale. Helps you effortlessly resize a video to fit on your desktop, or any other video dimensions you need!
  • radio-title - Automatically fetch current playing title from webradio website when not provided by stream.
  • redshift_toggle - Toggle redshift when loading a video file and when reaching the end of said file. Now also handles pause.
  • reload - When an online video is stuck during buffering or got slow CDN source, restarting often helps. This script provides automatic reloading of videos that didn't have buffering progress for some time, keeping the current time position. It also adds Ctrl+r keybinding to reload video manually.
  • reload - Sometimes you have unstable internet connection, or YouTube server dies, or your computer was sleeping for too long, or whatever. The thing is: you were watching something, you lost the connection, MPV doesn't want to play it further, you don't want to find the video again and then seek it to the moment you were watching.
  • remember-props - When a property changes, it saves it to restore on next start. Saved values are not file-specific. List of properties to save is configured in script-opts/remember-props.conf file.
  • repl - A REPL for input commands that is displayed on the video window.
  • restore-subtitles - Saves selected subtitle tracks and visibility state to saved-subs.json file in config directory and restores them whenever file is loaded. Differs from watch-later-saved data in that it saves secondary subtitles too (and uses subtitle file paths instead of ids).
  • review - Allows to remove files viewed quickly from within mpv
  • rewindPlaylist - keybind to rewind to the end of the previous playlist entry
  • rikai-mpv - Integrated Japanese dictionary and parser to translate by hovering over words. Works on Linux.
  • russian-layout-bindings - As mpv does not support shortcuts independent of the keyboard layout (https://github.com/mpv-player/mpv/issues/351), this script tries to workaround this issue for some limited cases with russian (йцукен) keyboard layout. Upon startup, it takes currently active bindings from input-bindings property and duplicates them for russian layout. You can adapt the script for your preferred layout, but it won't (of course) work for layouts sharing unicode characters with english.
  • save-playlist - This script saves your playlist to the working directory of the mpv process.
  • save-sub-delay - This script saves the sub-delay quantity for each file. When next time the file is opened, sub-delay is automatically restored.
  • scale-win - Restore old "window-scale" behavior, so to make "add window-scale +/-" keybinds work again when any of the autofit-* options are defined.
  • seek-to - Seek to an absolute timestamp specified via keyboard input.
  • Serkio Tagger - Annotate videos with tags while you watch.
  • show-filename - Show the name of the current playing file.
  • show-stream-title - Show OSD stream/channel title when switching the IPTV channels from m3u playlist.
  • shutup - Set --quiet when stderr or stdout aren't connected to a terminal
  • simple-loader - (Linux) Browse dirs and files on OSD, and launch them with mpv.
  • SimpleBookmark-1.0 - Bookmark with a [ctrl]+[b], then list and access your bookmarks with [b]. Assign your favorites to a keybind then access your favorites with that same keybind. Much more explained in the link above.
  • SimpleHistory-1.0 - Powerful history features that logs videos that you opened into a log file along with the time you have reached on each video. Select, filter, and search from your history list, Optional resume by [ctrl]+[r] for all videos you have played. Much more explained in the link above.
  • SimpleUndo-3.2 - Simple undo feature. If you accidentally seek/jump to a different time in the video, press undo [ctrl]+[z] to return to your previous time and vice-versa. More details in the link above.
  • skipchapters - Automatically skip chapters matching a given list of regular expressions (eg. "OP" or "Opening").
  • skiptofade - Seeks forward until a black screen appears. Built to skip openings. Uses the lavfi blackdetect filter.
  • skiptosilence - This script skips to the next silence in the file. The intended use for this is to skip until the end of an opening or ending sequence, at which point there's often a short period of silence.
  • SmartCopyPaste-3.0 - Powerful copy paste features. Paste URL or local videos directly to mpv. Copy URL or currently playing video in mpv player then paste to access at a later time. Add videos to playlist simply by pasting. Much more explained in the link above.
  • SmartCopyPaste-II-3.0 - Powerful copy paste and clipboard list features using a log file. Select, filter, and search from your clipboard list. Paste URL or local videos directly to mpv. Copy URL or currently playing video in mpv player then paste to access at a later time. Paste to access previously copied times of same video. Much more explained in the link above.
  • sopcast - Adds support for sop:// urls.
  • sosc - An OSC supplement for OSC replacements. Provides the idle message and script messages from the original OSC.
  • speed - adjusted timings - Recalculates osd-msg3 timecodes with speed != 1
  • speed-transition-Audio - Changes playback speed based on volume thresholds.
  • speed-transition - Increases playback speed if a subtitle will not be displayed soon. Resumes normal speed just before the subtitle shows up.
  • speed - Changing speed based on regex of filename/path.
  • speed - Always show current playback speed on the OSD
  • spotify - Add current playing title to an user defined Spotify playlist.
  • stats - Display some statistics about the currently played file on-screen.
  • stopCache - stops the demuxer from downloading more if it is already past --end
  • streamcache - Provides for more network-glitch-robust caching of live streams by adjusting replay speed.
  • sub_export - fork, updated. Extract selected subtitles from .mkv file.
  • sub-bilingual - Generate bilingual subtitles.
  • sub-bookmarks - Save current position and subtitles in .txt file.
  • sub-cut - Extract a part of the video as audio or video with subtitles.
  • sub-export - original, outdated
  • sub-pause - Automatically pause just before the end of each subtitle line. Also allows replaying the currently active line.
  • sub-playback - Add interactive move, i.e. automatically pause at the end of the fragment with option to continue playback or replay it again with or without subtitles.
  • sub-replay - Replay previous sentence.
  • sub-search - Search for phrase in subtitles and skip to it.
  • sub-sentences - Generate subtitles with sentences.
  • sub-skip - Automatically skip parts of a video that don't contain any subtitles. Does so by either fast-forwarding or seeking.
  • sub-transition - Speed up playback when no subtitles are visible.
  • sub-voracious - Reading and listening practice.
  • sub - Select subtitle by id via input box (Windows)
  • subit - Yet another script for downloading subtitles using subliminal. Supports better customization of options, such as easy language selection, authentication for providers that need it, and support for URLs.
  • subs2srs - Automatically add new card in Anki with audio, picture and text.
  • subselect Tk - Download subtitles with a GUI - select the one you want and automatically load them up in mpv. Supports searching for arbitrary names and different subtitle languages. Works on Windows and Linux, possibly macOS.
  • subtitle-search - Script to search for a phrase inside an active .srt subtitle. Displays matched lines in OSD list, takes sub-delay into account and allows searching for Unicode text in utf8 subtitle files.
  • time - Shows the current time or the time at which playback will end.
  • timer - Allows the user to set a starting time and an ending time and see the time elapsed between those points with millisecond precision.
  • toggle-redshift-on-play - kill-restart-version. Based on the above one, this one also re-enables redshift when pausing and disables it again when unpausing. The alternative version achieves the same by killing and restarting redshift (more consistent).
  • total_playtime - Shows total playtime of current playlist.
  • track-list - Interractive track-list menu.
  • trakt-mpv - Connects trakt.tv with mpv and automatically scrobbles movies/shows. (Python is also needed for this script to function). trakt-mpv fork that lets you add episodes to your Trakt watched history instead of checking in
  • tree-profiles - Automatically apply profiles to certain directories or files.
  • misc - Cycle audio and subtitle tracks, include only languages you know
  • misc - Execute Lua code from input.conf
  • misc - Jump to a random position in the playlist
  • misc - Load or append files/URLs from clipboard
  • misc - Navigate in playlist to next/previous/first/last file
  • misc - Restart mpv restoring the properties path, time-pos, pause and volume
  • misc - Show detailed media info on screen
  • misc - When seeking display position and duration like so: 70:00 / 80:00
  • history - Writes date, time, playtime and filename to a log file: 10.09.2022 19:50 3 D:\Samples\Big Buck Bunny.mkv