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?
The SoX website says it works with MPEG (.mp4) using FFmpeg.
– sondra.kinsey – 2018-10-05T16:08:20.620See also decrease volume of existing audio stream in a video ffmpeg and Increase mean volume of a video/audio file
– sondra.kinsey – 2018-10-05T16:15:39.467Can 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.603The 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