Skip to content

Instantly share code, notes, and snippets.

@juliendargelos
Created June 1, 2021 13:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juliendargelos/c38eaba6a64bc3f5ea7d6241ac7ddb93 to your computer and use it in GitHub Desktop.
Save juliendargelos/c38eaba6a64bc3f5ea7d6241ac7ddb93 to your computer and use it in GitHub Desktop.
FFmpeg command that changes audio volume by factor or relative dB value.
ffmpeg -i input.mp3 -filter:a "volume=0.5" output.mp3
ffmpeg -i input.mp3 -filter:a "volume=5dB" output.mp3
ffmpeg -i input.mp3 -filter:a "volume=-5dB" output.mp3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment