Modern Extended is a small collection of user scripts and tools that aims to give an easy and simple installation/customization process for mpv beginners.
This osc is a fork of ModernF that extendeds the script and enhances the experince.
MpvGalleryView to display playlists (shortcut g
)
With Anime4K watch peak cinema with upscaling in real time (Ctrl+0-6
, artifacting in gif is from video capture software, it looks much cleaner in player I swear 😭)
Found a great clip you would like to use? MpvSlicingCopy will allow you to crop it out in a matter of seconds (shortcut c
)
extended-09.mp4
Modern Extended
will run without these but some functionalities will be disabled
- ffmpeg for slicing video
- yt-dlp.exe for streaming from youtube url's
- MPV Standalone (optional) ThumbFast will not work properly if you are on mpv.net without this (Refrence)
Make sure to add all dependencies to Environment Variables Path
Youtube Tutorial - How to Watch Anime in 4K
Make sure to remove any conflicting osc scripts
Copy all files from this repository into your mpv config directory
Linux ~/.config/mpv/
Windows %APPDATA%/mpv/
If you are using Mpv.net or another version of mpv you need to find the correct directory name
Mpv.net
Linux ~/.config/mpv.net/
Windows %APPDATA%/mpv.net/
Download the appropriate Anime4k shaders for your system and extract ONLY the shaders
folder to your mpv config directory
For input.conf
and mpv.conf
copy the text content of these files from the download and add them to the bottom of their respective files in the mpv config directory
For example your mpv.conf
in you mpv config directory should look similar to this:
# disable the default osc when using a custom one
osc=no
border=no
loop-playlist=inf
# path to yt-dlp.exe, download from https://github.com/yt-dlp/yt-dlp/releases
# script-opts=ytdl_hook-ytdl_path="C:\path\to\yt-dlp.exe"
# allow mpv to load youtube playlist links
ytdl-raw-options=yes-playlist=
# Optimized shaders for lower-end GPU: Mode A (Fast)
glsl-shaders="~~/shaders/Anime4K_Clamp_Highlights.glsl:~~/shaders/Anime4K_Restore_CNN_M.glsl:~~/shaders/Anime4K_Upscale_CNN_x2_M.glsl:~~/shaders/Anime4K_AutoDownscalePre_x2.glsl:~~/shaders/Anime4K_AutoDownscalePre_x4.glsl:~~/shaders/Anime4K_Upscale_CNN_x2_S.glsl"
and you're all done!
The osc comes with a new Layout extended
which provides new options:
- Toggle Video Button, save on resources when listening to a podcast or youtube music by turning off the video stream
- Toggle Loop Button, easily toggle between looping playlist, single file or no loop
- Toggle Shuffle Button, shuffle your playlist
- Toggle Playlist Button, displays your playlist
Also generally improved the user experince by customizing the style and patching some unexpected behaviours to be more user friendly
- Info Button (right click) will now display Active Key Bindings indefinetly until toggled off, allowing user to read without being on a timer
- fixed random empty folders being generated by SlicingCopy
- fixed PlaylistView not generating the thumbnails directory on windows, and added support for generating the directory on other versions of mpv (e.g. mpv.net)
- removed some inputs that can be confusing like scrolling the seek bar accidentally when trying to change the volume
- created a super responsive design that's compatable with any screen size.
also many more tweaks and little configurations here and there than I can mention.
feel free to explore the configurations files in scripts-opts
, input.conf
and mpv.conf
, all options from the default scripts remain.
Shortcuts can be managed in input.conf
, this can be done by uncommenting some of the commands, or you can add your own custom commands with the following format
Key command # description
# example
Ctrl+s screenshot window # take a screenshot of the window with OSD and subtitles
Mpv.net has many shortcuts setup by default and I added some customizations to them, Some of the most notable shortcuts are:
Right Arrow
skip forword 3 secondsLeft Arrow
skip backword 3 secondsUp Arrow
volume up 2Down Arrow
volume down 2.
go to next frame,
go to previous frameSpace
toggle play/pauseLeft Click
toggle play/pauseRight Click
open context menu (mpv.net)Double Left Click
toggle fullscreenb
toggle window borderc
cut video clipm
toggle mutel
toggle loop fileCtrl+l
toggle loop playlist]
step video speed up 0.1[
step video speed down 0.1Ctrl+0-6
switch anime4k profileCtrl+0 == off
For a full list of active key bindings you can Right Click on Info Button
on the bottom right of the player to display list of all key bindings (navigate with arrow keys up/down):