[FFmpeg-trac] #10506(avformat:new): FFmpeg fails to decode MKV attachment without an extra step of -dump_attachment

FFmpeg trac at avcodec.org
Sun Aug 20 09:11:49 EEST 2023


#10506: FFmpeg fails to decode MKV attachment without an extra step of
-dump_attachment
------------------------------------+------------------------------------
             Reporter:  Sun_Serega  |                    Owner:  (none)
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:  mkv         |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  1           |
------------------------------------+------------------------------------
Comment (by Sun_Serega):

 Replying to [comment:2 Sun_Serega]:

 I couldn't get the `-` (default pipe) to work with `-dump_attachment`, but
 now I tried `pipe:1` and it worked:
 {{{
 ffmpeg -dump_attachment:2 pipe:1 -i 0.mkv | ffmpeg -i - 0.png
 }}}
 (`:2` is a stream index)

 Still 2 commands, but at least, this is a better workaround than dumping
 the attachment to a file...
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10506#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list