MPV:mac下的視頻播放器
brew install mpv --with-bundle
brew linkapps mpv
還可以看bilibili
~/.config/mpv/mpv.conf
(其中涉及到硬解碼胁镐,字幕選擇诸衔,字幕轉(zhuǎn)碼等設(shè)置項(xiàng),依賴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(選擇默認(rèn)顯示的字幕為中文)
slang=zh,chi
#for GB2312 GBK BIG5 charset, use enca convert them to utf8(將非utf8編碼的字幕轉(zhuǎn)換成utf8磁餐,一招解決所有亂碼問題阿弃,依賴enca)
sub-codepage=enca:zh:utf8