LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-25-2014, 03:32 AM   #1
Steve W
Member
 
Registered: Mar 2007
Distribution: Linux Mint 18.1
Posts: 520

Rep: Reputation: 44
Adjusting audio gain in Avidemux


I see plenty of information on the web that concern using Avidemux to increase the volume of a video, if it's too quiet. It usually involves increasing the Gain value under 'Audio Filters' with either the Automatic or Manual options. But I can't get it to have any effect on my videos.

None of the information I have looked at so far gives details other than using Automatic, or selecting Manual and typing in a value. But no details as to the value to enter are given. If the Automatic option adjusts to "max -3dB", surely a minus number will make the sound softer?

The Manual option seems to have a limit of "+10" and won't go beyond this. But even with +10, there is no discernible difference to the sound volume in any video I've tried with it.

Has anyone successfully increased the volume in any of their videos using this method? And if so, how did they do it?

Thank you for any help you can give.
 
Old 02-25-2014, 07:35 AM   #2
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by Steve W View Post
I see plenty of information on the web that concern using Avidemux to increase the volume of a video, if it's too quiet. It usually involves increasing the Gain value under 'Audio Filters' with either the Automatic or Manual options. But I can't get it to have any effect on my videos.

None of the information I have looked at so far gives details other than using Automatic, or selecting Manual and typing in a value. But no details as to the value to enter are given.
maybe that's because this magic about dB figures is familiar to audio enthusiasts.

Quote:
Originally Posted by Steve W View Post
If the Automatic option adjusts to "max -3dB", surely a minus number will make the sound softer?
No. In automatic mode, this number is the desired maximum level. That is, Avidemux will scan the entire audio track for the loudest spot, and then apply a constant gain to the entire track so that this loudest part will reach the level you specified.
It is common in audio processing to define 0dB as the maximum level that a system can handle without distortion, and actual levels are usually negative (because the decibel is a logarithmic unit). Therefore -3dB allows for a safety margin.

Quote:
Originally Posted by Steve W View Post
The Manual option seems to have a limit of "+10" and won't go beyond this. But even with +10, there is no discernible difference to the sound volume in any video I've tried with it.
In manual gain mode, Avidemux works different: It applies the gain factor you enter directly to the audio track. And hey, +10dB is a lot - it means a factor of 10 (+3dB would be a factor of 2). Negative dB numbers result in an attenuation, so -3dB would mean to reduce the amplitudes by a factor of 2.

Quote:
Originally Posted by Steve W View Post
Has anyone successfully increased the volume in any of their videos using this method?
Yes, many times.

Quote:
Originally Posted by Steve W View Post
And if so, how did they do it?
Auto mode, and usually -3dB as the target level.

[X] Doc CPU

Last edited by Doc CPU; 02-25-2014 at 11:13 AM.
 
Old 02-25-2014, 11:26 AM   #3
Steve W
Member
 
Registered: Mar 2007
Distribution: Linux Mint 18.1
Posts: 520

Original Poster
Rep: Reputation: 44
The fact is, I apply this auto -3dB setting to a video clip that has a low sound level. Then I listen to it again. The volume level hasn't gone up at all. Is changing this setting meant to make the volume level go up?
 
Old 02-25-2014, 12:42 PM   #4
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by Steve W View Post
The fact is, I apply this auto -3dB setting to a video clip that has a low sound level. Then I listen to it again. The volume level hasn't gone up at all. Is changing this setting meant to make the volume level go up?
if it was very quiet before, the volume should in fact increase noticeably.

But the way you describe what you do, I'm a bit puzzled. It appears like you just open the video file in Avidemux, set these audio processing parameters, and save the video again. Then I wonder how you're able to set these parameters, because they're only available if you chose to transcode the audio track. In "copy" mode, which is the default after opening a video file, no such operation is applied.

So to help me understand what you do, please describe it precisely, step by step. I must have missed an important detail in your procedure.

[X] Doc CPU
 
Old 02-26-2014, 04:11 AM   #5
Steve W
Member
 
Registered: Mar 2007
Distribution: Linux Mint 18.1
Posts: 520

Original Poster
Rep: Reputation: 44
Having opened the file in Avidemux, I change the video format to MPEG-4 ASP (Xvid), because it's currently MP4. I then change the Audio to MP3 (lame), then click on Audio "Filters".

I change the Gain mode to Automatic. Click on OK, then Save. There's a bit of a pause before saving starts (presumably, as you said, Avidemux is scanning the audio in the whole file to get a level). But the resultant file has no noticeable difference in volume levels.

I even did manual and typed in "3.000". Still no change.
 
Old 02-26-2014, 05:34 AM   #6
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by Steve W View Post
Having opened the file in Avidemux, I change the video format to MPEG-4 ASP (Xvid), because it's currently MP4. I then change the Audio to MP3 (lame), then click on Audio "Filters".

I change the Gain mode to Automatic. Click on OK, then Save.
so you're doing this as part of an actual transcoding process. Okay, that's correct - and it's exactly what I do as well, only my original video material is usually MPEG2, but that doesn't matter.
Hmm. Weird.

Quote:
Originally Posted by Steve W View Post
There's a bit of a pause before saving starts (presumably, as you said, Avidemux is scanning the audio in the whole file to get a level).
Yes, exactly.

Quote:
Originally Posted by Steve W View Post
But the resultant file has no noticeable difference in volume levels.
I even did manual and typed in "3.000". Still no change.
Sorry, then I'm running out of ideas. Somebody else with a good one?

[X] Doc CPU
 
Old 02-03-2017, 06:10 PM   #7
gl1tch2gh0st
LQ Newbie
 
Registered: Feb 2017
Posts: 1

Rep: Reputation: Disabled
Wink Listen the output video

Sorry for necroposting, registered only for this topic, maybe will useful for newbies users.

Maybe you listen the input video and not output? There was same problem — I listened inside editor and not guessed listen from video file after save. Check it.
(and now I use Avidemux on Windows , there is no "icon for input\output videos" on panel, I think she as at Linux early... )
Attached Thumbnails
Click image for larger version

Name:	Avidemux input-output video.png
Views:	348
Size:	25.9 KB
ID:	24119  

Last edited by gl1tch2gh0st; 02-03-2017 at 06:24 PM. Reason: Add image
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Avidemux Dmbolf Linux - Software 2 03-09-2010 07:52 PM
Audio File volume/gain level issues jmikeneedham Ubuntu 3 04-29-2008 10:08 AM
No avidemux 2.4 ? nx5000 Debian 3 06-22-2007 09:19 AM
Adjusting the sound in avidemux ? memo007 Linux - Software 3 04-23-2007 07:25 AM
Help with Avidemux Garibaldi3489 Linux - Software 5 01-13-2005 08:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration