diff --git a/HISTORY.md b/HISTORY.md index 23d9190..afc5a7a 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,4 +1,14 @@ +_Version 1.0.12 (May 2023)_: +- Made videos start fullscreen on the primary screen +- Made the video window stay open after video playback (allows for drag and drop of video files) +- Added profiles for some file extensions (animations and static images) +- Removed legacy MPV v2 config file + +_Version 1.0.10 (Feb 2023)_: +- Rewrote `mpv_v3\mpv.conf` and `mpv_v3\input.conf` (adapted from the repo [Argon-/mpv-config](https://github.com/Argon-/mpv-config)) +- Vastly improved terminal, OSD, audio, subtitle, playback and playlist settings + _Version 1.0.9 (Jan 2023)_: - Improved seeking - Improved autohide diff --git a/README.md b/README.md index 7d79d2b..3dc8947 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,23 @@ # better-mpv-config -- Version: 1.0.10 -- Last Updated (AEST): 2023-04-05 11:13:00PM +- Version: 1.0.12 +- Last Updated (AEST): 2023-05-07 11:54:35PM - Platform: Windows 11 (not tested on Apple or Linux at all) ## What's New -- Removed legacy config file +_Version 1.0.12 (May 2023)_: +- Made videos start fullscreen on the primary screen +- Made the video window stay open after video playback (allows for drag and drop of video files) +- Added profiles for some file extensions (animations and static images) +- Removed legacy MPV v2 config file _Version 1.0.10 (Feb 2023)_: - Rewrote `mpv_v3\mpv.conf` and `mpv_v3\input.conf` (adapted from the repo [Argon-/mpv-config](https://github.com/Argon-/mpv-config)) - Vastly improved terminal, OSD, audio, subtitle, playback and playlist settings +## Important Notes + ⚠️ Be sure to customize `mpv_v3\mpv.conf` and `mpv_v3\input.conf` manually, to make sure that the font and language are valid ⚠️ @@ -22,7 +28,9 @@ The defaults are: See [HISTORY.md](HISTORY.md) for the history of older versions. -- I've personally switched to MPV v3 since the Windows app and `updater.bat` has problems for v2 +📝 I suggest that you have a read of my __mpv.conf__ and alter it to your liking. 📝 + +- I've personally switched to MPV v3 since the Windows app and `updater.bat` has problems for MPV v2 - I've added a vastly better _mpv v3_ config file tested on [MPV v3 for Windows](https://sourceforge.net/projects/mpv-player-windows/files/64bit-v3/) ## Intro diff --git a/mpv_v3/mpv.conf b/mpv_v3/mpv.conf index 35ef43b..aa1da69 100644 --- a/mpv_v3/mpv.conf +++ b/mpv_v3/mpv.conf @@ -1,11 +1,12 @@ -# MPV v3 Config - version 1.0.10 +# MPV v3 Config - version 1.0.12 +# Last Edited: 2023-05-07 11:54:41PM # REF: https://github.com/Argon-/mpv-config/blob/master/mpv.conf # ===== Terminal ===== -cursor-autohide=200 # autohides the cursor after 200ms +cursor-autohide=100 # autohides the cursor after x ms cursor-autohide-fs-only=yes # don't autohide the cursor in window mode, only fullscreen msg-color=yes # color log messages on terminal msg-module=yes # prepend module name to log messages @@ -13,15 +14,15 @@ term-osd-bar=yes # displays a progress bar on the termina # ===== OSD ===== -osd-bar-align-y=-1 # progress bar y alignment (-1 top, 0 centered, 1 bottom) +osd-bar-align-y=-1 # progress bar y alignment (-1 top, 0 centered, 1 bottom) osd-bar-h=2 # height of osd bar as a fractional percentage of your screen height osd-bar-w=99 # width of " " " osd-border-color='#DD322640' # ARGB format osd-border-size=2 # size for osd text and progress bar osd-color='#FFFFFFFF' # ARGB format -osd-duration=2000 # hide the osd after x ms +osd-duration=1000 # hide the osd after x ms osd-font-size=32 -#osd-font='Arial' # sets a custom font (comment out line if font change is undesired) +#osd-font='Arial' # sets a custom font (comment out line if font change is undesired) osd-status-msg='${time-pos} / ${duration}${?percent-pos: (${percent-pos}%)}${?frame-drop-count:${!frame-drop-count==0: Dropped: ${frame-drop-count}}}\n${?chapter:Chapter: ${chapter}}' # ===== Seeking ===== @@ -83,3 +84,52 @@ force-seekable=yes # forces videos to be seekable hls-bitrate=max # uses max quality for HLS streams pause=yes # disables autoplay prefetch-playlist=yes # prefetches the playlist + +snap-window=yes + +# =========================================================================================================== + +# Version 1.0.12 Changes + +fullscreen=yes # Sets the video to start fullscreen +keep-open=yes # Don't terminate if the current file is the last playlist entry +priority=high # Makes PC prioritize MPV for allocating resources +screen=0 # Sets the video to appear on screen #1 +sub-back-color='#C0000000' # subtitle background color <==================== TESTING 07.05.2023! +vlang=en,eng # Sets the video language +vo=gpu-next # Sets the video out to an experimental video renderer based on libplacebo +window-maximized=yes # Starts the window in the maximized state + +# TESTING SHADERS - version 1.0.12 - 07.05.2023 +# May be included in a future release. Needs more testing! + +#[upscale-lowres] +#profile-desc=Upscales low resolution videos using upscaling shaders. +#profile-cond=height <= 1000 +# AMD (modal: switch depending on your GPU, if no discrete GPU then comment out four lines) +#glsl-shaders-append="shaders/CAS.glsl" # https://gist.github.com/agyild/bbb4e58298b2f86aa24da3032a0d2ee6 +#glsl-shaders-append="shaders/FSR.glsl" # https://gist.github.com/agyild/82219c545228d70c5604f865ce0b0ce5 +# NVidia (modal: switch depending on your GPU, if no discrete GPU then comment out four lines) +#glsl-shaders-append="shaders/NVScaler.glsl" # https://gist.github.com/agyild/7e8951915b2bf24526a9343d951db214 +#glsl-shaders-append="shaders/NVSharpen.glsl" # https://gist.github.com/agyild + +# File Extensions ====================== +# (Loops playback for suitable file formats) + +[extension.gif] +profile-desc=GIF +cache=no +no-pause +loop-file=yes +[extension.png] +profile-desc=PNG +video-aspect-override=no +loop-file=yes +[extension.jpg] +profile-desc=JPG +video-aspect-override=no +loop-file=yes +[extension.jpeg] +profile-desc=JPEG +profile=extension.jpg +loop-file=yes