Skip to content

Instantly share code, notes, and snippets.

@ihatem
Last active November 20, 2019 16:43
Show Gist options
  • Save ihatem/4c65bd7fa90e4813b008de04048f84d2 to your computer and use it in GitHub Desktop.
Save ihatem/4c65bd7fa90e4813b008de04048f84d2 to your computer and use it in GitHub Desktop.
Convert FLAC to M4A with cover and metadata conservation with FFMPEG.
#!/bin/bash
# for m in *.flac; do ffmpeg -nostdin -i "$m" -c:a alac -c:v copy "${m%.*}.m4a"; done
for m in *.flac; do ffmpeg -i "$m" -c:a alac -c:v copy "${m%.flac}.m4a"; done
@ihatem
Copy link
Author

ihatem commented Aug 6, 2019

@ihatem
Copy link
Author

ihatem commented Sep 3, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment