ffmped convert audio loss of code example
Example 1: ffmpeg m4a to mp3
ffmpeg -i input.m4a -c:a libmp3lame -q:a 8 output.mp3
Example 2: ffmpeg change audio codec from m4a to mp3
ffmpeg -i "$f" -codec:v copy -codec:a libmp3lame -q:a 2 newfiles/"${f%.m4a}.mp3";