I'm trying to extract attachments from an MKV file by following the documentation at http://ffmpeg.org/ffmpeg.html#Main-options
Direct quote from documentation:
To extract all attachments to files determined by the filename tag: ffmpeg -dump_attachment:t "" INPUT
The command I'm running on my computer is this:
ffmpeg -i test.mkv -dump_attachment:t "" INPUT
However I keep getting the following error:
[NULL @ 0x7f981182ae00] Unable to find a suitable output format for 'INPUT' INPUT: Invalid argument
How can I extract attachments from my test.mkv file? Am I misunderstanding what
INPUT is supposed to be?
ffmpeg -dump_attachment:t "" test.mkv
and FFmpeg prompts me with this:
File 'test.mkv' already exists. Overwrite ? [y/N].
y replaces test.mkv with a 0 byte file, and no attachments are extracted.
I installed ffmpeg via brew using the following command:
brew install ffmpeg --with-freetype --with-libass --with-tools