Skip to content

Instantly share code, notes, and snippets.

@nathansearles
Created February 18, 2021 18:28
Show Gist options
  • Save nathansearles/9d63ea9be2da03e8830212d9207cdcff to your computer and use it in GitHub Desktop.
Save nathansearles/9d63ea9be2da03e8830212d9207cdcff to your computer and use it in GitHub Desktop.
FFmpeg output mp3 audio for web
ffmpeg -i 'source.mp3' -codec:a libmp3lame -ss 0 -to 16 -af "afade=t=in:st=0:d=3,afade=t=out:st=13:d=3" -map_metadata -1 -b:a 50k 'output.mp3'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment