# Disables all core updates. Added by SiteGround Autoupdate: define( 'WP_AUTO_UPDATE_CORE', false ); How To Boost Volume in an AVI File (Karmic) | Don's Roost

How To Boost Volume in an AVI File (Karmic) 2

In the good old days of Jaunty, Ubuntu had an asound.conf file that could be patched to increase the range of audio volume. This is no longer supported in Karmic. Instead, the PulseAudio volume control allows up to a 50% increase over the norm. Unfortunately, depending on how the .avi file was created, this may not be enough. One solution (there may be others) is to transcode the file into another, boosting the audio volume in the process. This article will provide instructions on how to do it with the transcode utility. It may also be possible to do it with mencoder or avidemux. I am uncertain of the syntax for those and if one of my readers does, please comment on it.

Transcode is available in the standard repositories. Install it from the command line (sudo apt-get install transcode) or use Synaptic. Here is the syntax of the command:

transcode -i input.avi – P 1 -s <desired gain> -N 0x55 -o output.avi

Let’s clarify this a little. Input.avi and output.avi are the names of your input and output files. If your input name contains spaces you should rename it to something without spaces. Otherwise you will have to use the “escape” character “\” for the command to parse correctly. For example “My Rip.avi” would be entered as “My\ Rip.avi”. This gets messy, so just rename the file.

0x55 is telling transcode that you want the output sound to be mp3 encoded. You can have other encodings if you so desire. Read the manual by entering man transcode on a command line for further information.

<desired gain> requires a little knowledge about decibels. Decibels follow a logarithmic scale. To double your volume you would enter a value of 3. A value of 6 would quadruple the volume. A value of 2 would result in an increase of about 60% Stay with low values, A value to high could damage your speakers, and sound distortion is likely. Replace <desired gain> with a value of your choosing.

That’s it for now. Let’s hope Ubuntu finally gets sound right in Lucid.

2 thoughts on “How To Boost Volume in an AVI File (Karmic)

  1. Reply Random dude Mar 23,2014 4:35 am

    Worked a charm thank you!
    -s 3 (double volume – was just what I needed).
    -s 6 (was strong volume but too much hiss)

    transcode -i input.avi -P 1 -s 3 -N 0x55 -o output.avi

    -P/–passthrough flag pass-through flag (0=off|1=V|2=A|3=A+V) [0]
    -s/–audio_scale g[,c,f,r] scale volume by gain[,center,front,rear]
    -N/–export_codec format export audio codec [mp3]

  2. Reply robertdiligente Apr 11,2014 1:53 am

    i use a software called idealshare videogo to increase audio volume which can increase audio volume of all popular audio formats like increase MP3 volume, increase WAV volume, increase WMA volume, or increase sound volume in AC3, FLAC, M4A, VOC, QCP, AMR, AWB, OGG, CAF, AIFF, RA, AU, APE, and etc
    it also boost the sound volume from video files like increase MP4 volume, increase AVI volume, boost the sound volume from other video formats including WMV, MOV, MPG, FLV, 3GP, VOB, MKV, ASF, RMVB, AVCHD, MXF, DV, and etc

Leave a Reply