Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # mpv configuration file
- #
- # https://github.com/mpv-player/mpv/blob/master/etc/example.conf
- # https://github.com/mpv-player/mpv/blob/master/etc/mpv.conf
- #
- # Configuration files are read system-wide from /usr/local/etc/mpv.conf
- # and per-user from ~/.config/mpv/mpv.conf, where per-user settings override
- # system-wide settings, all of which are overridden by the command line.
- #
- # Configuration file settings and the command line options use the same
- # underlying mechanisms. Most options can be put into the configuration file
- # by dropping the preceding '--'. See the man page for a complete list of
- # options.
- #
- # Lines starting with '#' are comments and are ignored.
- #
- # See the CONFIGURATION FILES section in the man page
- # for a detailed description of the syntax.
- #
- # Profiles should be placed at the bottom of the configuration file to ensure
- # that settings wanted as defaults are not restricted to specific profiles.
- #
- # Note that the commented example options usually do _not_ set the default
- # values. Calling mpv with --list-options is a nice way to see the default
- # values for most options.
- #######################
- # screenshot settings #
- #######################
- # --screenshot-high-bit-depth=<yes|no>
- # If possible, write screenshots with a bit depth similar to the source video (default: yes). This is
- # interesting in particular for PNG, as this sometimes triggers writing 16 bit PNGs with huge file sizes.
- screenshot-format=png
- screenshot-high-bit-depth=no
- screenshot-template="mpv-shot%n %p"
- screenshot-directory=F:\000Libraries\Pictures\
- #######
- # OSD #
- #######
- # This is for the old OSD
- # https://archive.rebeccablacktech.com/g/thread/57156197#p57158413
- # https://warosu.org/g/thread/57156197#p57158413
- # https://github.com/mpv-player/mpv/wiki/FAQ#i-want-the-old-osc-back
- script-opts=osc-layout=box,osc-seekbarstyle=slider,osc-deadzonesize=0,osc-scalewindowed=0.85,osc-scalefullscreen=0.85,osc-timems=yes
- ##################
- # audio settings #
- ##################
- # --ad-lavc-downmix=<yes|no>
- # Whether to request audio channel downmixing from the decoder (default: yes). Some decoders, like
- # AC-3, AAC and DTS, can remix audio on decoding. The requested number of output channels is set
- # with the --audio-channels option. Useful for playing surround audio on a stereo system.
- # ad-lavc-downmix=no # stereo
- # ad-lavc-downmix=yes # 5.1
- ad-lavc-downmix=no
- # --audio-normalize-downmix=<yes|no>
- # Enable/disable normalization if surround audio is downmixed to stereo (default: no). If this is disabled, downmix can cause clipping. If it's enabled, the output might be too silent. It depends on the source audio.
- # Technically, this changes the normalize suboption of the lavrresample audio filter, which performs the downmixing.
- # If downmix happens outside of mpv for some reason, this has no effect.
- # audio-normalize-downmix=yes
- # --audio-channels=<auto|number|layout>
- # Request a channel layout for audio output (default: stereo).
- # This will ask the AO to open a device with the given channel layout.
- # It's up to the AO to accept this layout, or to pick a fallback or to error out if the requested layout is not supported.
- # The --audio-channels option either takes a channel number or an explicit channel layout.
- # Channel numbers refer to default layouts, e.g. 2 channels refer to stereo, 6 refers to 5.1.
- # See --audio-channels=help output for defined default layouts.
- # This also lists speaker names, which can be used to express arbitrary channel layouts (e.g. fl-fr-lfe is 2.1).
- # --audio-channels=auto tries to play audio using the input file's channel layout.
- # There is no guarantee that the audio API handles this correctly.
- # See the HDMI warning below. (empty is an accepted obsolete alias for auto.)
- # This will also request the channel layout from the decoder.
- # If the decoder does not support the layout, it will fall back to its native channel layout.
- # (You can use --ad-lavc-downmix=no to make the decoder always output its native layout.)
- # Note that only some decoders support remixing audio.
- # Some that do include AC-3, AAC or DTS audio.
- # If the channel layout of the media file (i.e. the decoder) and the AO's channel layout don't match, mpv will attempt to insert a conversion filter.
- # audio-channels=stereo
- # audio-channels=5.1
- audio-channels=stereo
- # If you just want to force remixing to a certain output channel layout,
- # it is easier to use the format filter.
- # For example, mpv '--af=format=channels=5.1' '--audio-channels=5.1' would always force
- # remixing audio to 5.1 and output it like this.
- # af=format=channels=2.1
- # lavrresample[=option1:option2:...]
- # This filter uses libavresample (or libswresample, depending on the build) to change sample rate,
- # sample format, or channel layout of the audio stream.
- # This filter is automatically enabled if the audio output does not support the audio
- # configuration of the file being played.
- # It supports only the following sample formats: u8, s16, s32, float.
- # normalize=<yes|no|auto>
- # Whether to normalize when remixing channel layouts (default: auto).
- # auto uses the value set by --audio-normalize-downmix.
- # af=lavrresample=normalize=yes
- # af=format=channels=stereo
- # af=format=channels=5.1
- af=format=channels=stereo
- ##################
- # other settings #
- ##################
- # keep the player open when a file's end is reached
- keep-open
- # no autoplay
- pause
- #Looping images
- [extension.webm]
- loop-file=inf
- [extension.gif]
- loop-file=inf
- [extension.m4a]
- loop-file=inf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement