diff --git a/dot_sh_functions b/dot_sh_functions index 84e1fb8..9a2d06e 100644 --- a/dot_sh_functions +++ b/dot_sh_functions @@ -211,3 +211,7 @@ m4atowav(){ local out="${1%.*}.wav" ffmpeg -i ${1} -f wav ${1%.*}.wav } +m4atomp3(){ + local out="${1%.*}.mp3" + ffmpeg -i ${1} -c:v copy -c:a libmp3lame -q:a 4 $out +}