You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's no obvious way to toggle between png and jpg screenshots in the manual but you can do this easily with the cycle-values function so you don't have to keep changing screenshot-format in mpv.conf
If you mostly use jpg, do nothing. If you mostly use png, add screenshot-format=png to mpv.conf so you always default to png.
Pick a key that you can use to toggle between png and jpg screenshots. I personally use "c" but you can use anything you want.
Create or go to input.conf and enter the following line: c cycle-values screenshot-format jpg png where the "c" key will be your new toggle key and cycle-values cycles through screenshot formats jpg and png. Save and close input.conf
Open up mpv. Press the "c" key repeatedly. See how it now toggles between png and jpg as you need it?
You can now toggle between png and jpg screenshots with a single keystroke!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
There's no obvious way to toggle between png and jpg screenshots in the manual but you can do this easily with the
cycle-values
function so you don't have to keep changingscreenshot-format
in mpv.confscreenshot-format=png
to mpv.conf so you always default to png.c cycle-values screenshot-format jpg png
where the "c" key will be your new toggle key andcycle-values
cycles through screenshot formats jpg and png. Save and close input.confYou can now toggle between png and jpg screenshots with a single keystroke!
Beta Was this translation helpful? Give feedback.
All reactions