If everything works fine, you’re going to see something like the following in mpv output: AO: 48000Hz stereo 2ch spdif-ac3
#Dts sound wiki full
The full list of formats can be found in mpv(1) manpage. Tick off all that your connected device supports (usually all).įinally, you have to enable S/PDIF passthrough (the same option is used for HDMI) in mpv, via ~/.config/mpv/mpv.conf: audio-spdif=ac3,dts,eac3 If you’re using pavucontrol, the relevant checkboxes can be found on Output Devices tab, hidden under Advanced. Then, you need to enable support for additional output formats. Of course, this implies that you’ll no longer be able to output surround PCM sound via HDMI but if you’re going to enable compressed audio output anyway, it doesn’t matter. This could be a bit confusing but it actually enables you to transfer compressed surround sound. If you’re using HDMI, the first prerequisite is to set the PulseAudio’s configuration profile to digital stereo (found on Configuration tab of pavucontrol).
![dts sound wiki dts sound wiki](https://img.youtube.com/vi/XXNi2WAC_PA/hqdefault.jpg)
Rather than having mpv decode them just to have ALSA compress them again (naturally with a quality loss), why not pass the encoded audio through to the output? When playing movies, you’ll often find that the audio tracks are encoded using one of the formats supported by S/PDIF or HDMI.
![dts sound wiki dts sound wiki](https://static.wikia.nocookie.net/logo-timeline/images/3/33/Vs191219-012.png)
It’s rather unlikely that you’ll be playing uncompressed audio these days. In this post, I’d like to shortly explore our options for making a PulseAudio-enabled Linux system output compressed 5.1 over S/PDIF or HDMI (apparently both are treated the same from ALSA/PulseAudio perspective).Įnabling S/PDIF / HDMI passthrough in mpv HDMI supports more audio formats, including DTS-HD MA and TrueHD. Fortunately, additional audio channels work when compressed input is used.
#Dts sound wiki tv
In particular, my TV seems to only support stereo PCM input, and ignores additional channels when passed 5.1 audio. However, not all hardware actually supports that. HDMI 1.2 technically supports up to 8 channels of PCM audio, 2.0 up to 32 channels. S/PDIF hardware usually supports MPEG, AC3 and DTS formats. However, in order to support more than two audio channels, the transmitted sound needs to be compressed. The modern versions of the interface have sufficient bandwidth for up to 192 kHz sampling rate and up to 24 bit audio depth. However, it isn’t always as simple as it sounds.įor a start, S/PDIF is a pretty antiquated interface originally designed to carry stereo PCM audio.
#Dts sound wiki Pc
When the PC is connected to a TV, a pretty logical setup is to carry the sound via HDMI to the TV, and from there via S/PDIF or HDMI ARC to a 5.1 amplifier.
![dts sound wiki dts sound wiki](https://img.youtube.com/vi/kZ0UEc9_Ofw/hqdefault.jpg)
These outputs are either S/PDIF (coaxial or optical) or HDMI. While PCs still usually provide a full set of analog jacks capable of outputting a 5.1 audio, other modern hardware (such as TVs) is usually limited to digital audio outputs (and sometimes analog outputs limited to stereo sound).