Skip to main content
Audio output drivers are interfaces to different audio output facilities. mpv auto-selects the best available driver, but you can override it with --ao.
Pass a comma-separated priority list to fall back automatically:
Run mpv --ao=help to list all compiled-in audio output drivers sorted by autoprobe order.
The default audio output driver is subject to change and must not be relied upon. Specify the driver explicitly if a particular AO is required.

Platform drivers

alsa

ALSA audio output driver.
To get multichannel/surround audio, use --audio-channels=auto. The default auto-safe explicitly rejects multichannel output because ALSA has no way to detect supported channel layouts.

pulse (PulseAudio)

pipewire

jack (JACK Audio Connection Kit)

Audio channel layout

Control the output channel layout with --audio-channels:

ReplayGain / volume normalization

Adjust volume based on ReplayGain metadata stored in the file:
Additional ReplayGain options:

Compressed audio passthrough (S/PDIF / HDMI)

Pass compressed audio formats directly to a receiver via S/PDIF or HDMI:
Supported codecs: ac3, dts, dts-hd, eac3, truehd.
HDMI supports uncompressed multichannel PCM, and mpv supports lossless DTS-HD decoding via FFmpeg’s DCA decoder. Passthrough is rarely necessary on modern systems.

Exclusive output mode

Lock the audio device so only mpv can use it (lower latency, no mixing):
Supported by wasapi, coreaudio, pipewire, and audiounit.

Selecting a specific audio device