Skip to content Skip to sidebar Skip to footer

Changing Audio Volume Using Ffmpeg Android Error

I am using FFmpeg and I need to change the volume of the Audio. This is the command that should change the volume of the audio : ffmpeg -i input.wav -filter:a 'volume=1.5' output.

Solution 1:

FFmpeg does NOT perform in-place editing. Input file has to be separate from output file. Also, -i expects an argument (input filename) which should follow next. -y forces overwrites and you can put it first.

So,

{ "-y -i " , pcmtowavTempFile.toString(),  "-af", "volume=5", pcmtoSOMEOTHERTempFile.toString()};

Post a Comment for "Changing Audio Volume Using Ffmpeg Android Error"