mpv.conf 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. ##############################
  2. # Global configuration file for mpv media player
  3. ##
  4. #
  5. ##############################
  6. # Documentation: https://mpv.io/manual/master/
  7. ##
  8. ##############################
  9. # Putting Command Line Options into the config file
  10. ##############################
  11. # option | Config file entry
  12. # --flag | flag
  13. # -opt val | opt=val
  14. # --opt=val | opt=val
  15. # -opt "has spaces" | opt="has spaces"
  16. ##############################
  17. # GUI
  18. ##
  19. no-border # no window title bar
  20. # set the initial window size of mpv
  21. # geometry=50%+10+10
  22. geometry=50%
  23. # Disable auto-loading of subtitles if they exist
  24. autoload-files=no
  25. # Force GPU accelerated video output by default
  26. # vo=gpu #DEPRECATED!!!
  27. vo=libmpv
  28. # Create a log file for printing diagnostic info about mpv launch and playback
  29. # log-file=~/logs/mpv/mpv.log
  30. # Enable hardware decoding for all codecs
  31. hwdec=videotoolbox
  32. # Keep mpv open after video finishes playing
  33. keep-open=yes
  34. # Resume playback position from last played position if video did not finish playing
  35. resume-playback
  36. save-position-on-quit
  37. # Bind a UNIX style socket to mpv so I can interact with mpv using a JSON IPC via a CLI
  38. ## NOTE: `ps aux` | grep mpv will not show the path to the socket in the cli args as it is defined within this configuration file
  39. # input-ipc-server=/Users/capin/ltmp/mpvsocket
  40. input-ipc-server=/tmp/mpvsocket
  41. ###
  42. # EXP
  43. #
  44. cache=yes