FFMPEG attach file as metadata
问题 I have a set of images which I want to convert to a video using ffmpeg. The following command works perfectly fine: ffmpeg -y -i frames/%06d.png -c:v huffyuv -pix_fmt rgb24 testout.mkv I have some meta data in a binary file which I want to attach with the video. I tried doing the following, but it gives me an error: ffmpeg -y -i frames/%06d.png -c:v huffyuv -pix_fmt rgb24 -attach mybinaryfile -metadata:s:2 mimetype=application/octet-stream testout.mkv This is the error: [matroska @ 0x656460]