Skip to content

Instantly share code, notes, and snippets.

@hyjk2000
Last active April 6, 2018 17:08
Show Gist options
  • Select an option

  • Save hyjk2000/8b11e179a5d0a40aa1e65a15b6d092bc to your computer and use it in GitHub Desktop.

Select an option

Save hyjk2000/8b11e179a5d0a40aa1e65a15b6d092bc to your computer and use it in GitHub Desktop.
My mpv configuration including profiles for playing on HDTV and Home Theater Amplifier
@echo off
mpv --profile=theater %1
profile=gpu-hq
alang=chi,eng
slang=chi,eng
sub-auto=fuzzy
sub-font="sans-serif"
hwdec=auto
autofit-larger=100%
hidpi-window-scale
quiet
[tv]
profile-desc="Play on HDTV"
fs
fs-screen=0
[theater]
profile-desc="Play on HDTV with Receiver"
profile=tv
audio-device=DEVICE # Find out available devices with `mpv --audio-device=help`
audio-spdif=dts-hd,ac3,eac3,truehd # Comment out if receiver cannot decode
audio-channels=7.1,5.1,stereo
ad-lavc-downmix=no
audio-exclusive=yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment