2
2
I use Zeranoe build of FFmpeg. It converts mp3 files into m4a files just fine, as far as the audio stream is concerned, but I can't figure out a way to keep the songs album cover jpeg, which ffmpeg for some reason recognizes as
Stream #0:1: Video: mjpeg, yuvj420p, 200x200 [SAR 120:120 DAR 1:1]
included into the output.m4a
file. When I use the following command line:
ffmpeg.exe -i 09.mp3 -map 0 -codec:a libvo_aacenc -ab 320k -ar 44100 -ac 2 -codec:v copy output.m4a
I get the no tag, codec not currently in the container
error. And yet, when I run ffprobe with a .m4a
file ctreated by iTunes, there it is:
Stream #0:1: Video: mjpeg, yuvj420p, 350x350 [SAR 72:72 DAR 1:1]
So, is there a way to copy the songs cover as well with ffmpeg conversion?
1
Please note that, according to FFmpeg wiki, libvo_aacenc is the worst AAC encoder(and even the worst audio encoder). Do NOT use libvo_aacenc in any circumstances. Instead, use libfdk_aac if possible (FFmpeg with libfdk_aac library is unredistributable, you have to build FFmpeg with libfdk_aac by yourself, ), libfaac is also acceptable if encoding with high bitrate.
– Meow – 2014-10-13T13:22:24.330