Skip to content

Instantly share code, notes, and snippets.

@yenliangl
Created March 12, 2012 05:39
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save yenliangl/2020073 to your computer and use it in GitHub Desktop.
Save yenliangl/2020073 to your computer and use it in GitHub Desktop.
Convert flac to Alac (Apple Lossless Audio Codec)
# convert flac files in current directory to Apple loss-less codec.
function flac2alac {
for f in *.flac; do
ffmpeg -i "$f" -acodec alac "${f%.flac}.m4a"
#-map_meta_data $f:${f%.flac}.m4a;
done
}
@xiangshuii
Copy link

I recommend Avdshare Audio Converter whch can  convert FLAC to Apple ALAC, or convert between audio formats.

@syuilo
Copy link

syuilo commented Aug 15, 2017

Hey @xiangshuii, This place is not a place to promote products.

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