Skip to content

Instantly share code, notes, and snippets.

@psenough
Created June 23, 2017 02:00
Show Gist options
  • Save psenough/98414e81326e8f56273a97b565eab116 to your computer and use it in GitHub Desktop.
Save psenough/98414e81326e8f56273a97b565eab116 to your computer and use it in GitHub Desktop.
convert a file to wav format of 44100khz using ffmpeg
#!/bin/bash
ffmpeg -i "$1" -vn -ar 44100 -ac 2 -f wav "44100_${1}.wav"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment