Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 10 lines (6 sloc) 0.235 kb
8b2ab9d japh woldrich make_flac: make converting stuff from youtube to flac easier
authored
1 #!/bin/sh
2
3 in="$1"
4 out=$( echo "$in" | perl -pe 's{[.](?:mp4|flv)$}{.flac}' )
5
6 printf "Original file is \e[1m%s\e[m\n" $in
7 printf "FLAC file is \e[33m%s\e[m\n" $out
8
9 ffmpeg -i "$in" -f flac "$out" && printf "\e[34;1mDone!\e[m\n"
Something went wrong with that request. Please try again.