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.
Linux
macOS
Windows
Cross-platform
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)
coreaudio
Native macOS audio output using AudioUnits and the CoreAudio sound server. Automatically redirects to coreaudio_exclusive for compressed formats.coreaudio_exclusive
Native macOS audio using direct device access in exclusive mode, bypassing the sound server.avfoundation
Native macOS audio using AVSampleBufferAudioRenderer in AVFoundation. Supports spatial audio.Enabling spatial audio may hang playback if mpv is not started from an app bundle.
wasapi
Audio output to the Windows Audio Session API.WASAPI supports exclusive mode for lower latency:dsound (DirectSound)
Available on older Windows systems.null
Produces no audio output but maintains video playback timing. Useful for benchmarking.sdl
SDL 2.0+ audio output. Works on any platform supported by SDL 2.0. For compatibility with environments where other drivers are unavailable.
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