Convert AAC-Files to MP3 preserving ID3-tags

Took me not long, but before I forget how to do it:

find . -name "*.m4a" -exec ffmpeg -i "{}" -acodec libmp3lame -ab 196k -map_meta_data 0:0 "{}.mp3" \;

newer versions of ffmpeg seem to use -map_metadata 0.

Your post must include a link to this post.

How does this work?
Write a response on your own website and include a link to this post. Then submit your response’s URL here. Your response may appear here after moderation. To update or remove it, edit or delete your original post and submit the same URL again. Learn more about Webmentions.