Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This question already has an answer here:

I'm trying to normalize (and or compress) around 100 .ogg files which have audio level really too low.

I know that by hand I can use Audacity ... but that will be too much clicks! Instead I was looking for a tool which can be used in a small script (or with --recursive).

Just tried to look in man oggenc, man ffmpeg, with no success yet...


share|improve this question

marked as duplicate by karel, Eric Carvalho, Radu Rădeanu Jan 14 at 15:51

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Why did you include "compress" in your question? Could you add a couple of lines to your question or answer to clarify that? –  user25656 Aug 13 '13 at 2:12
And is there any significant quality degradation? –  user25656 Aug 13 '13 at 4:48
@vasa1: In my tests I found that compression would give better dynamic to the sound, mainly for those who are mainly low level and with one peak. I finally adjusted (with Audacity) the 3 files with those special peaks and run the normalization on all the files. Since the original file was really low, I added -a -15dBFS. With that option, I don't hear quality degradation. –  samb Aug 13 '13 at 6:39

2 Answers 2

up vote 4 down vote accepted

Finally, I've found the package normalize-audio which provides the tool normalize-ogg. So I just had to run :

for audio_file in *.ogg; do
    normalize-ogg $audio_file;
share|improve this answer

Vorbisgain will do the trick, the pendent of mp3gain

vorbisgain *.ogg
share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.