As far as I understand the following cmd allows me to increase the volume of an *.avi movie (with (lame) mp3 audio)
WITHOUT re-encoding the (embedded) audio track:
ffmpeg -i inputfile.avi -c copy -af "volume=50dB" -y outputfile.avi
After having applied the command to some sample movies I cannot hear any audio volume difference.
Even if I change the command to:
ffmpeg -i inputfile.avi -c copy -af "volume=3" -y outputfile.avi
(which means "make the volume 3 times (!) louder) no difference original vs.result is observable.
Whats wrong?
Peter
+ Reply to Thread
Results 1 to 8 of 8
-
-
Whats wrong?
-> since both audio and video should be copied, no audio and video compression modification takes place.
Only way to boost the volume on playback without reencoding the streams would be to change/add the a Replaygain flags (which are not supported by all players) and since ffmpeg does not support this, you would have to use another tools (mentioned in th link). -
Ok, thank you.
So that means the parameter
-af "volume=50dB"
is only effective when re-encoding audio track? -
Yes, audio (and video) filter settings will be ignored if you are not reencoding.
-
ffmpeg also would have demuxed and remuxed the file,..
If it's just, that you don't want to do it manually use in example QMP3Gain (https://sourceforge.net/projects/qmp3gain/)
Similar Threads
-
FFMPEG Audio Volume Command
By Johnbil in forum AudioReplies: 6Last Post: 3rd Dec 2013, 02:09 -
? normalizing audio volume using new ffmpeg options
By hydra3333 in forum AudioReplies: 6Last Post: 2nd Dec 2013, 22:08 -
the "-intra" command in ffmpeg.exe affects encoding "-vcodec copy" mode?
By marcorocchini in forum Newbie / General discussionsReplies: 1Last Post: 23rd Oct 2013, 15:53 -
AutoMKV hangs with message "first normalizing volume - WAIT" message :(
By Jackie78 in forum Video ConversionReplies: 1Last Post: 25th Dec 2011, 05:33 -
how we can implement "VirtualDub" or "FFmpeg" with my C# windows applicati
By dhemittal in forum ProgrammingReplies: 0Last Post: 8th Jun 2010, 07:17