MPV PLAYER video settings 视频设置

##################
# video settings #
##################

# Start in fullscreen mode by default.
#fs=yes

# force starting with centered window
#geometry=50%:50%

# don't allow a new window to have a size larger than 90% of the screen size
#autofit-larger=90%x90%

# Do not close the window on exit.
#keep-open=yes

# Do not wait with showing the video window until it has loaded. (This will
# resize the window once video is loaded. Also always shows a window with
# audio.)
#force-window=immediate

# Disable the On Screen Controller (OSC).
#osc=no

# Keep the player window on top of all other windows.
#ontop=yes

# Specify fast video rendering preset (for --vo=<gpu|gpu-next> only)
# Recommended for mobile devices or older hardware with limited processing power
#profile=fast

# Specify high quality video rendering preset (for --vo=<gpu|gpu-next> only)
# Offers superior image fidelity and visual quality for an enhanced viewing
# experience on capable hardware
#profile=high-quality

# Force video to lock on the display's refresh rate, and change video and audio
# speed to some degree to ensure synchronous playback - can cause problems
# with some drivers and desktop environments.
#video-sync=display-resample

# Enable hardware decoding if available. Often, this does not work with all
# video outputs, but should work well with default settings on most systems.
# If performance or energy usage is an issue, forcing the vdpau or vaapi VOs
# may or may not help.
#hwdec=auto

##################
# audio settings #
##################

# Specify default audio device. You can list devices with: --audio-device=help
# The option takes the device string (the stuff between the '...').
#audio-device=alsa/default

# Do not filter audio to keep pitch when changing playback speed.
#audio-pitch-correction=no

# Output 5.1 audio natively, and upmix/downmix audio with a different format.
#audio-channels=5.1
# Disable any automatic remix, _if_ the audio output accepts the audio format.
# of the currently played file. See caveats mentioned in the manpage.
# (The default is "auto-safe", see manpage.)
#audio-channels=auto

##################
# other settings #
##################

# Pretend to be a web browser. Might fix playback with some streaming sites,
# but also will break with shoutcast streams.
#user-agent="Mozilla/5.0"

# cache settings
#
# Use a large seekable RAM cache even for local input.
#cache=yes
#
# Use extra large RAM cache (needs cache=yes to make it useful).
#demuxer-max-bytes=500M
#demuxer-max-back-bytes=100M
#
# Disable the behavior that the player will pause if the cache goes below a
# certain fill size.
#cache-pause=no
#
# Store cache payload on the hard disk instead of in RAM. (This may negatively
# impact performance unless used for slow input such as network.)
#cache-dir=~/.cache/
#cache-on-disk=yes

# Display English subtitles if available.
#slang=en

# Play Finnish audio if available, fall back to English otherwise.
#alang=fi,en

# Change subtitle encoding. For Arabic subtitles use 'cp1256'.
# If the file seems to be valid UTF-8, prefer UTF-8.
# (You can add '+' in front of the codepage to force it.)
#sub-codepage=cp1256

# You can also include other configuration files.
#include=/path/to/the/file/you/want/to/include

############
# Profiles #
############

# The options declared as part of profiles override global default settings,
# but only take effect when the profile is active.

# The following profile can be enabled on the command line with: --profile=eye-cancer

#[eye-cancer]
#sharpen=5

##################
#视频设置#
##################

#默认情况下以全屏模式启动。
#fs=yes

#从居中窗口开始的力
#geometry=50%:50%

#不允许新窗口的大小大于屏幕大小的90%
#autofit-larger=90%x90%

#出口时不要关上窗户。
#keep-open=yes

#不要等到视频窗口加载后才显示。(这将
#加载视频后调整窗口大小。还总是显示一个窗口
音频
#force-window=immediate

#禁用屏幕控制器(OSC)。
osc=no

#将播放器窗口放在所有其他窗口的顶部。
#ontop=yes

#指定快速视频渲染预设(仅适用于--vo=<gpu|gpu-next>)
#建议用于处理能力有限的移动设备或旧硬件
#profile=fast

#指定高质量视频渲染预设(仅适用于--vo=<gpu|gpu-next>)
#提供卓越的图像保真度和视觉质量,增强观看效果
#有能力的硬件经验
#profile=high-quality

#强制视频锁定显示器的刷新率,并更改视频和音频
#在一定程度上提高速度以确保同步播放-可能会造成问题
#带有一些驱动程序和桌面环境。
#video-sync=display-resample

#启用硬件解码(如果可用)。通常,这并不适用于所有人
#视频输出,但在大多数系统上应该可以很好地使用默认设置。
#如果性能或能源使用是一个问题,则强制vdpau或vaapi VO
#可能有帮助,也可能没有帮助。
#hwdec=auto

##################
#音频设置#
##################

#指定默认音频设备。您可以使用以下内容列出设备:--audio-device=help
#该选项采用设备字符串(介于“…”之间的内容)。
#audio-device=alsa/default

#更改播放速度时,不要过滤音频以保持音调。
#audio-pitch-correction=no

#以本机方式输出5.1音频,并以不同格式上混/下混音频。
#audio-channels=5.1
#禁用任何自动混音,_if_音频输出接受音频格式。
#当前播放的文件的。请参阅手册页中提到的注意事项。
#(默认值为“自动安全”,请参阅手册页。)
#audio-channels=auto

##################
#其他设置#
##################

#假装是网络浏览器。可能会修复一些流媒体网站的播放,
#但也将打破Shotcast流。
#user agent=“Mozilla/5.0”

#缓存设置
#
#即使对于本地输入,也要使用大的可查找RAM缓存。
#cache=yes
#
#使用超大的RAM缓存(需要缓存=是以使其有用)。
#demuxer-max-bytes=500M
#demuxer-max-back-bytes=100M
#
#如果缓存低于
# certain fill size.
#cache-pause=no
#
#将缓存有效负载存储在硬盘上,而不是RAM中。(这可能会产生负面影响
#影响性能,除非用于网络等慢速输入。)
#cache-dir=~/.cache/
#cache-on-disk=yes

#如果可用,显示英文字幕。
#slang=en

#播放芬兰语音频(如果可用),否则请返回英语。
#alang=fi,en

#更改字幕编码。阿拉伯语字幕使用“cp1256”。
#如果文件似乎是有效的UTF-8,请选择UTF-8。
#(您可以在代码页前面添加“+”以强制执行。)
#sub-codepage=cp1256

#您还可以包括其他配置文件。
#include=/path/to/file/you/wwant/to/include

############
#配置文件#
############

#声明为配置文件一部分的选项覆盖全局默认设置,
#但仅当简档处于活动状态时才生效。

#以下配置文件可以在命令行上使用启用:--profile=eye-cancer

#[眼睛]
#sharpen=5

posted @ 2024-04-24 09:04  suv789  阅读(65)  评论(0编辑  收藏  举报