gonzoua / AudioBookBinder

GUI and command-line utility for converting audiobooks to m4b format
http://bluezbox.com/abb.html
229 stars 48 forks source link

Volume normalisation #27

Open tim-gp opened 4 years ago

tim-gp commented 4 years ago

Hi, great app thank you.

Could you consider normalising files as they're bound? I currently use ffmpeg for this:

ffmpeg -i "$filename" -af loudnorm=I=-16:dual_mono:TP=-1.5:LRA=11:print_format=summary -f null - &> levels
ffmpeg -i "$filename" -af loudnorm=I=-16:TP=-1.5:LRA=11:measured_I=$I:measured_TP=$TP:measured_LRA=$LRA:measured_thresh=$THRESH:offset=-0.7:linear=true:print_format=summary "${filename%\.*}.m4a"