FFmpeg uses various filters to adjust the volume, including the loudnorm, command, and volume filter. It uses a “volume filter”, one of the commonly used filters to amplify the audio. You can set the audio level to an absolute value with the help of this filter by decreasing or increasing the audio level by certain factors.
You can use -filter, which is an option to apply the input file filter for audio streams.
The output audio volume is determined as below:
output_volume = volume * input_volume