Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Commit

Permalink
Version: 1.0.12
Browse files Browse the repository at this point in the history
  • Loading branch information
hl2guide authored May 7, 2023
1 parent cca8b52 commit fb7b052
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 9 deletions.
10 changes: 10 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
16 changes: 12 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -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 ⚠️

Expand All @@ -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
Expand Down
60 changes: 55 additions & 5 deletions mpv_v3/mpv.conf
Original file line number Diff line number Diff line change
@@ -1,27 +1,28 @@

# 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
term-osd-bar=yes # displays a progress bar on the terminal

# ===== 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 =====
Expand Down Expand Up @@ -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

0 comments on commit fb7b052

Please sign in to comment.