Option --gain=6.0 distorted the sound

This forum is about all development around libVLC.
sanmool
Blank Cone
Blank Cone
Posts: 20
Joined: 02 Apr 2023 12:01

Option --gain=6.0 distorted the sound

Postby sanmool » 08 May 2023 23:45

In older version, setting --gain=6.0 boosted the volume to 600% without distortion.
In recent version of libvlc, --gain=6.0 distorted the sound while --gain<1.0 is OK.

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

Re: Option --gain=6.0 distorted the sound

Postby Rémi Denis-Courmont » 09 May 2023 10:31

Gains above 1 have always been potentially subject to saturation depending on source format and output. Gain is meant to compensate for source recording at too low volume, not for general amplification.

And besides there are no supported means to control gain via LIBVLC so you're on your own.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 3 guests