1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-11 17:37:23 +00:00
mpv/etc/example.conf
wm4 58d196c07e video: different way to enable hardware decoding, add software fallback
Deprecate the hardware specific video codec entries (like ffh264vdpau).
Replace them with the --hwdec switch, which requests that a specific
hardware decoding API should be used. The codecs.conf entries will be
removed at a later time, but for now they are useful for testing and
compatibility.

Instead of --vc=ffh264vdpau, --hwdec=vdpau should be used.

Add a fallback if hardware decoding fails. Most hardware decoders
(including vdpau) support only a subset of h264, and having such a
fallback is supposed to enable a better user experience.
2013-01-13 17:39:32 +01:00

98 lines
2.3 KiB
Plaintext

#
# mpv configuration file
#
# Configuration files are read system-wide from /usr/local/etc/mpv.conf
# and per-user from ~/.mpv/config, where per-user settings override
# system-wide settings, all of which are overrriden by the command line.
#
# The configuration file settings are the same as the command line
# options without the preceding '--'.
#
# 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.
##################
# video settings #
##################
# Specify default video driver (see -vo help for a list).
#vo=vdpau
# Start in fullscreen mode by default.
#fs=yes
# force starting with centered window
#geometry=50%:50%
# Keep the player window on top of all other windows.
#ontop=yes
##################
# audio settings #
##################
# Specify default audio driver (see -ao help for a list).
#ao=alsa
# Disable softvol usage, and always use the system mixer if available.
#softvol=no
##################
# other settings #
##################
# Pretend to be Window Media Player.
# Fixes playback when playlist and media file use the same URL.
#user-agent=NSPlayer/4.1.0.3856
# Pretend to be Winamp
# Fixes playback of some NSV streams
#user-agent="Winamp NSV Player/5.12 (ultravox/2.0)"
# Drop frames to preserve audio/video sync.
#framedrop = yes
# cache settings
#
# Use 8MB input cache by default.
#cache = 8192
#
# Prefill 20% of the cache before starting playback.
#cache-min = 20.0
#
# Prefill 50% of the cache before restarting playback after the cache emptied.
#cache-seek-min = 50
# DVD: Display English subtitles if available.
#slang = en
# DVD: Play English audio tracks if available.
#alang = en
# Use this for a widescreen monitor, non-square pixels.
#monitoraspect=16:9
############
# Profiles #
############
# The options declared as part of profiles override global default settings,
# but only take effect when the profile is active.
#[vo.vdpau]
# Use hardware decoding (this might break playback of some h264 files)
#hwdec=vdpau
# Most video filters do not work with vdpau.
#vf-clr=yes
# You can also include other configuration files.
#include = /path/to/the/file/you/want/to/include