Last active
November 20, 2019 16:43
-
-
Save ihatem/4c65bd7fa90e4813b008de04048f84d2 to your computer and use it in GitHub Desktop.
Convert FLAC to M4A with cover and metadata conservation with FFMPEG.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Stackoverflow answer: https://superuser.com/a/1468172/571881