How do I set up mpv to save screencaps as .pngs instead of .jpgs?
I don't use mpv but you can always hit the print screen button on your key board, open up MS Paint, and ctrl+ v to get a .png screen grab of anything on your screen. It's a bit annoying for me because I have two TVs hooked to my computer but I just easily crop the image to cut out the second monitor.
>>60139
Yeah, I could just use Cmd+Shift+3 (I'm on Mac) for a print screen, but it's nice to have to press just one key and not have to worry about subtitles or anything getting in the way.
Go to your mpv configuration file (it's .config/mpv/mpv.conf under your home directory on Linux and Mac, and %appdata%\mpv\mpv.conf on Windows) and add the following lines:
screenshot-format=png
screenshot-high-bit-depth=no
The latter keeps the PNGs in 24-bit true color instead of higher depths that may result from 10-/12-bit videos, which is not what you might want.
You can also change the directory where screenshots are saved and how they are called. For example,
screenshot-template=%F-shot%n
will name them by their filename and a number.
Here's the link to the documentation:
https://mpv.io/manual/master/#screenshot
https://mpv.io/manual/master/#files
>>60277
You're a lifesaver, anon. Have a cute loli as my thanks.