Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have recorded screencast video with GtkRecordMyDesktop, in ogg format. Microphone was wrongly placed and recorded sound is very quiet. Is there any way to increase sound loudness?

Update:

When I try to convert video with ffmpeg:

ffmpeg -i lecture3_2013.16.09.ogv -vol 1280 lecture3_2013.16.09-loud.ogv

sound becomes louder, but video quality becomes poor. I can cut sound off the video and convert it:

ffmpeg -i lecture3_2013.16.09.ogv -vn audio.ogg
ffmpeg -i audio.ogg -vol 1280 audio-loud.ogg

But when I merge it back into video:

ffmpeg -i lecture3_2013.16.09.ogv -i audio-loud.ogg  lecture3_2013.16.09-loud.ogv

Quality becomes poor again :(

SOLUTION:

ffmpeg -i lecture3_2013.16.09.ogv -vn audio.ogg
ffmpeg -i audio.ogg -vol 2048 audio-loud.ogg
ffmpeg -i lecture3_2013.16.09.ogv -vcodec copy -an lecture3_2013.16.09-nosound.ogv
ffmpeg -i lecture3_2013.16.09-nosound.ogv -i audio-loud.ogg -vcodec copy lecture3_2013.16.09-loud.ogv
share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

Probably the easiest way would be to increase the volume by transcoding the file with a tool like ffmpeg. ffmpeg has the -vol flag for that. A value of 700 may be appropriate in your case. ffmpeg also has the ability to just passthrough the video so you dont loose any quality by increasing the audio volume.

http://www.ffmpeg.org/

share|improve this answer
    
ffmpeg -i lecture3_2013.16.09.ogv -vol 512 -threads 4 loud-lecture3_2013.16.09.ogv Input file is 302mb, output file is 181mb. Sound became louder, but video quality became poor. What am I doing wrong? –  Selivanov Pavel Mar 16 '13 at 20:32
    
just specify to copy the video but I see you already found that out :) –  Professor FartSparkle Mar 18 '13 at 1:51
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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