Skip to content

Boosting volume - library vs. ffmpeg #1923

Answered by pschatzmann
alfons12 asked this question in Q&A
Discussion options

You must be logged in to vote

Not sure what ffmpeg is doing exactly: but setting allow_boost to true is using the linear volume control so if you are setting a volume of 2.0 all the samples are multiplied by 2.0 (and clipped if they exheed the valid range).

So, you will need to know the effective input volume range to avoid the distortions caused by the clipping!
This could be determined with a VolumeMeter ...

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pschatzmann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants