Skip to content

Instantly share code, notes, and snippets.

@rewida17
Last active January 19, 2018 21:09
Show Gist options
  • Save rewida17/2f281df0de4cc80564b4964b50ab21e3 to your computer and use it in GitHub Desktop.
Save rewida17/2f281df0de4cc80564b4964b50ab21e3 to your computer and use it in GitHub Desktop.
My private config file for mpv using hardware acceleration on ThinkPad T60 (+youtube-dl)
#Configure for HW acceleration
#Put this stuff in ~/.config/mpv/mpv.conf
#My ThinkPad use Radeon X1400
#Add this in bashrc:
#export LIBVA_DRIVER_NAME=vdpau #
#export VDPAU_DRIVER=r600 # test first w/o this variable
#Use in Arch
--hwdec=vdpau
--vo=vdpau
--vd-lavc-fast
--vd-lavc-threads=0
--save-position-on-quit
--ytdl
--force-seekable=yes
--volume-max=600
#--ytdl-format=f22
#auto cenversion subtitle for OS codepage
Outdated syntax (removed in release 0.28)
#--sub-codepage=enca:pl:cp1250
#--sub-codepage=cp125:UTF8
#Enjoy ;)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment