LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Low volume in videos (https://www.linuxquestions.org/questions/linux-software-2/low-volume-in-videos-4175459721/)

fakie_flip 04-26-2013 06:42 PM

Low volume in videos
 
I have some videos that the audio volume is too low to hear from a tablet even with the volume maxed. It's not a problem with the tablet itself. It can play other music and videos loud enough.

I have the videos on my computer running Linux. Is there anything I can do to them to make the volume louder?

Sigg3.net 04-27-2013 09:07 AM

If the volume on these files is low on other PCs as well, then you'll need to amplify the audio (using a program like audacity), remove the amplified noise, and use e.g. ffmpeg to create an avi file without volume, then bond it with the new, amplified wav file you made in audacity.
Ffmpeg is beautiful; http://linux.die.net/man/1/ffmpeg

Not ideal, but it can raise the volume.

If this only happens on youtube(?) for all youtube videos, it could be a hardware decoding error given that the graphics card is nvidia. Disable hardware decoding of youtube videos by right-clicking a youtube vid and de-select hardware encoding.

Other than that, need more info:)

business_kid 04-27-2013 11:36 AM

Even if it's maxed on the system, it probably isn't maxed in alsamixer. I run 'sudo alsamixer' and just up the master & pcm until you can hear properly. You can leave alsamixer open. To undo, close aslamixer and run 'alsactl restore'

That usually produces playable volume.

teckk 04-27-2013 04:03 PM

What player are you using?
Code:

mplayer -af volnorm file.avi
Code:

mplayer -af help
Or re-encode example
Double the volume of an audio file, output to .mp3
Code:

ffmpeg -i stuff.aac -vn -vol 512 -c:a libmp3lame -b:v 128k stuff.mp3


All times are GMT -5. The time now is 10:33 PM.