Skip to content

Instantly share code, notes, and snippets.

@chrisyip
Last active August 25, 2016 04:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisyip/f536e306c4541dc4f0f82059a3938605 to your computer and use it in GitHub Desktop.
Save chrisyip/f536e306c4541dc4f0f82059a3938605 to your computer and use it in GitHub Desktop.
# video playback
vo=opengl-hq:icc-profile-auto
autofit-larger=95%x90%
autofit-smaller=30%x30%
# tries to automatically enable hardware decoding
hwdec=auto
# osd message, you can press o to display the osd message
osd-bar-align-y=0.9
osd-bar-h=1.2
osd-border-size=1
osd-duration=2000
osd-font='PingFangSC-Regular'
# player window
ontop=yes
no-border
# cache size
cache=8192
use-filedir-conf=yes
# subtitle
sub-auto=fuzzy
sub-text-font='PingFangSC-Regular'
# language
alang=en,eng,zh,cmn,chi,zho
slang=cmn,chi,zho,zh,eng,en
# convert non-utf8 chinese subtitle file to utf8
# brew install enca
subcp=enca:zh:cp936
# program behaviors
save-position-on-quit
ytdl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment