MPV:mac下的视频播放器
brew install mpv --with-bundle
brew linkapps mpv
还可以看bilibili
~/.config/mpv/mpv.conf
(其中涉及到硬解码,字幕选择,字幕转码等设置项,依赖enca,需要homebrew安装enca)
#for intel HD4000 above(硬解码)
vo=opengl-hq:icc-profile-auto
#osd message, you can press o to display the osd message
osd-status-msg="${time-pos/full} / ${length/full} (${percent-pos}%)"
#makes the player window stay on top of other windows
ontop=yes
#always save the current playback position on quit
save-position-on-quit=yes
#adjust the initial window size to 50%
geometry=50%
#for network play
cache=8192
#choose the default subtitle to chinese(选择默认显示的字幕为中文)
slang=zh,chi
#for GB2312 GBK BIG5 charset, use enca convert them to utf8(将非utf8编码的字幕转换成utf8,一招解决所有乱码问题,依赖enca)
sub-codepage=enca:zh:utf8