I've a m4a file with cover attached using mp4art; however Youtube doesn't support m4a. Supported formats - https://support.google.com/youtube/troubleshooter/2888402?visit_id=637603848977966877-3323728279&hl=en-GB&rd=1
Thus I need to convert m4a with cover image to mp4.
Using brew's ffmpeg didnt help
$ brew install ffmpeg $ ffmpeg -i input.m4a output.mp4 [mp4 @ 0x7fbb6100de00] Could not find tag for codec h264 in stream #0, codec not currently supported in container Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument Error initializing output stream 0:1 -- [aac @ 0x7fbb60015c00] Qavg: nan Conversion failed!