I have a flac source file with an embedded cover art, and what to convert it into an mka while retaining the cover art. The problem being that matroska requires cover arts to be attached. I can extract the original cover using
ffmpeg -i target.flac -vcodec copy cover.jpg
and later add it to the mka using -attach
. My question is, whether there is any way not to load the attached data from a file, but instead from the first command (as stream) and do this inline.