Batch-Konvertierung von AIFF in WAV

Ich habe ein paar Dutzend AIF-Dateien, die ich in WAV konvertieren muss. Ich habe einige konvertiert, indem ich sie in Audacity geöffnet und in WAV exportiert habe, aber das ist sehr langsam. Ich möchte sie alle im Batch konvertieren. Gibt es eine Möglichkeit, dies unter OS X zu tun?

Author: slhck, 2013-12-13

2 answers

Wenn Sie sich für eine Shell-Lösung entscheiden möchten, können Sie dies mit ffmpeg tun.

  • Option 1: herunterladen ffmpeg und extrahieren Sie die ausführbare Datei ffmpeg. Kopieren Sie es in ein Verzeichnis, das sich in Ihrem ausführbaren Pfad befindet, z. B. /usr/bin.

    sudo cp ~/Downloads/ffmpeg /usr/bin/ffmpeg
    sudo chmod +x /usr/bin/ffmpeg
    
  • Option 2: Verwenden Sie Homebrew und brew install ffmpeg.

Führen Sie nun im Ordner mit den AIF-Dateien Folgendes aus:

for f in *.aiff; do ffmpeg -i "$f" "${f%.aiff}.wav"; done
 12
Author: slhck,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/techietown.info/template/agent.layouts/content.php on line 61
2018-01-17 07:43:34

, die Sie sollten in der Lage sein, um die Konvertierung zwischen den beiden Formaten, die mit iTunes statt manuell etwas zu schreiben yourself:

1.Open iTunes Preferences. 
Windows: Choose Edit > Preferences. 
Mac: Choose iTunes > Preferences.
2.Click the General button, then click the Importing Settings… button in the lower section of the window.
3.From the Import Using pop-up menu, choose the encoding format that you want to convert the song to, then click OK to save the settings.
4.Select one or more songs in your library, then from the File > Create New Version menu, choose one of the following (the menu item changes to show what's selected in your Importing preferences): 
Create MP3 version
Create AAC version
Create AIFF version
Create WAV version
Create Apple Lossless version

Quelle: http://support.apple.com/kb/ht1550

 0
Author: root,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/techietown.info/template/agent.layouts/content.php on line 61
2013-12-13 13:40:02