Skip to content

Instantly share code, notes, and snippets.

Avatar

Damien martin-damien

View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am martin-damien on github.
  • I am martindamien (https://keybase.io/martindamien) on keybase.
  • I have a public key ASBw3XkqrOIYmUQEcct2he3tzWaMEW3IZqbfuuMGwKKZtgo

To claim this, I am signing this object:

@martin-damien
martin-damien / extract_audio.sh
Created Mar 30, 2017
Extract audio track from various type of files
View extract_audio.sh
for FILE in *.mp4;
do
echo -e "Processing video '\e[32m$FILE\e[0m'";
ffmpeg -i "${FILE}" -vn -acodec libvorbis -y "${FILE%.mp4}.ogg";
done
for FILE in *.webm;
do
echo -e "Processing video '\e[32m$FILE\e[0m'";
ffmpeg -i "${FILE}" -vn -acodec libvorbis -y "${FILE%.webm}.ogg";
You can’t perform that action at this time.