16-bit FLAC:If VLC outputs in 32 bits and the sound server outputs in 16 bits, does not the sound server risk to dither?

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.

Rémi Denis-Courmont
Developer
Developer
Posts: 15312
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: 16-bit FLAC:If VLC outputs in 32 bits and the sound server outputs in 16 bits, does not the sound server risk to dit

Postby Rémi Denis-Courmont » 22 Nov 2020 09:05

It's not specified what the sound server does, other than that it mixes all the application.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Kdmeizk
New Cone
New Cone
Posts: 8
Joined: 13 Nov 2016 16:23

Re: 16-bit FLAC:If VLC outputs in 32 bits and the sound server outputs in 16 bits, does not the sound server risk to dit

Postby Kdmeizk » 24 Nov 2020 15:21

For lowering the sample format, I believe that dithering is preferred to truncating. For example, PulseAudio does not seem to dither but PipeWire seems to dither.

Kdmeizk
New Cone
New Cone
Posts: 8
Joined: 13 Nov 2016 16:23

Re: 16-bit FLAC:If VLC outputs in 32 bits and the sound server outputs in 16 bits, does not the sound server risk to dit

Postby Kdmeizk » 03 Dec 2020 04:11

PipeWire will replace PulseAudio and so the 16-bit FLAC files will be dithered if PipeWire outputs in 16 bits since VLC outputs them in 32 bits whether the sound is modified (for example equalized) or not.

For the 16-bit PCM files, VLC outputs them in 16 bits and so will not be dithered by PipeWire.

Kdmeizk
New Cone
New Cone
Posts: 8
Joined: 13 Nov 2016 16:23

Re: 16-bit FLAC:If VLC outputs in 32 bits and the sound server outputs in 16 bits, does not the sound server risk to dit

Postby Kdmeizk » 15 Dec 2020 03:59

Why the 16-bit FLAC has not a similar behaviour to the 16-bit PCM? This would avoid any superfluous dithering.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 57 guests