ffmpegaacmpeg-4m4a

FFmpeg, how to embed cover art (image) to .m4a


Is there any way to embed cover art to m4a files?

This one works well for mp3 but doesn't work for m4a

ffmpeg -i tests/in.m4a -i cover.jpg -map 0:0 -map 1:0 -acodec copy \
  -id3v2_version 3 tests/out.m4a

Solution

  • FFmpeg has an open issue on this functionality. In the meantime, covers can be added with the TagEditor project. To add:

    tageditor -s cover=ju.jpg --max-padding 100000 -f ki.m4a
    

    To remove:

    tageditor -s cover= --max-padding 100000 -f ki.m4a