With Recent version,
ffmpeg -i in.mp3 -i test.png -map 0:0 -map 1:0 -c copy -id3v2_version 3 -metadata:s:v title="Album cover" -metadata:s:v comment="Cover (front)" out.mp3
Use -map
to associate input stream to the output
Use -c copy
to directly demux/remux
The -id3v2_version 3
is what is missing in your command line. Note that that wil write an IDV2.3 but you can ask for a 2.4 (-id3v2_version 4
)
with the -id3v2_version 3
option the -metadata
option will be well interpreted
Note: the metadata comment is case-sensitive.