Last active
January 4, 2024 14:49
-
-
Save joeynotjoe/a8b5ff659419763cbaa81d501b9f6618 to your computer and use it in GitHub Desktop.
MacOS mpv basic config files, specifically for taking screenshots
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This screenshot method will simply display the timestamp, take a screenshot of it, and then tell you it took a screenshot. | |
| s show-text '${time-pos}';screenshot window;show-text "Screenshot Saved\n${screenshot-directory}/${filename/no-ext} · ${playback-time}.${screenshot-format}" "2500" | |
| # Quit MPV but retain watch position | |
| q quit-watch-later |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ############# | |
| # OSD / OSC # | |
| ############# | |
| # osd-level=2 | |
| osd-duration=500 | |
| osd-status-msg='${time-pos}' | |
| # osd-font='Monospace' | |
| osd-font-size=40 | |
| osd-color='#EEFFFFFF' | |
| osd-border-color='#CC000000' | |
| # osd-shadow-offset=1 | |
| osd-bar-align-y=0 | |
| osd-border-size=2 | |
| osd-bar-h=2 | |
| osd-bar-w=50 | |
| ############### | |
| # SCREENSHOTS # | |
| ############### | |
| screenshot-directory=~/Pictures | |
| screenshot-template='%F · %03n · %wH.%wM.%wS' | |
| screenshot-format=jpg | |
| screenshot-tag-colorspace=yes | |
| screenshot-sw=no | |
| # screenshot-jpeg-quality=8 | |
| # screenshot-jxl-distance=0.1 | |
| # screenshot-jxl-effort=9 | |
| # screenshot-png-compression=7 | |
| ################################## | |
| # PLAYBACK PROFILES AND SETTINGS # | |
| ################################## | |
| # profile=opengl-hq | |
| # vo=libmpv | |
| # hwdec=auto | |
| window-maximized | |
| ########################## | |
| # BEST SCALING ALGORITHM # | |
| ########################## | |
| # scale=ewa_lanczossharp | |
| # cscale=ewa_lanczossharp | |
| ############################## | |
| # INTERPOLATION AND SAMPLING # | |
| ############################## | |
| # video-sync=display-resample | |
| # interpolation | |
| # tscale=oversample |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Excellent, @blackace72!