Logo
IT Dienstleistungen

AMR to MP3 covert script

Ever in need to convert the proprietary .amr audio format to a more cooperative file format like .mp3?

ffmpeg helps as it does most times:

#!/bin/bash
# convert .amr to mp3
while (($#)); do
        ffmpeg -i "$1" -ar 44100 "$1".mp3
        shift
done

The script works on every file given via parameter list. If you have a bunch of audio recorder files from your phone in one folder, amr2mp3 *.amr convert all files to mp3.


Seiten-Werkzeuge