How can I increase volume for HD mp4 files with ffmpeg?

1

1

I am converting videos using FFmpeg on Linux. Videos are 1080p at first and I convert 1080p to h264 720p and 360p. Also if videos are 360p I`m converting them to h264 360p. The problem is when converting happens from 1080p to lower formats the sound is really really quiet while 360p to h264 360p are fine and you can hear them without problems on laptop.

I thought SoX might be useful for this, but I was only able to make it work with .wav audio files and not the .mp4 videos that I need.

I could do it ffmpeg -vol option, but there could be noise, while I read that SoX calculates the maximum value so there would not be any side effects.

What is the best way to do this?

Treat

Posted 2013-03-10T15:02:10.853

Reputation: 86

The SoX website says it works with MPEG (.mp4) using FFmpeg.

– sondra.kinsey – 2018-10-05T16:08:20.620

Can you post the ffmpeg command and its result, to help you? – d33pika – 2013-03-11T06:56:11.137

If you can just copy the audio data (-acodec copy) then there should be no difference between input and output audio, unless you have audio level metadata that you are not copying (EBU R128 or ReplayGain). – mark4o – 2013-03-11T21:57:53.603

The problem is in the input files.Have you ever downloded a HD movie? They are almost always much much quiter then standard quality. – Treat – 2013-03-12T21:14:25.143

No answers