[FFmpeg-trac] #4591(avformat:new): attachments mjpeg are discovered wrongly as video stream and therefore h264 encoding is broken

FFmpeg trac at avcodec.org
Thu Feb 10 12:41:05 EET 2022


#4591: attachments mjpeg are discovered wrongly as video stream and therefore h264
encoding is broken
-------------------------------------+-------------------------------------
             Reporter:  TheoMeister  |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:  mkv          |               Blocked By:
  regression                         |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by mitar):

 Is there some workaround? I cannot believe that after all these years,
 running:

 {{{
 ffmpeg -i input.ogg -map 0 -c copy output.ogg
 }}}

 does not produce a copy of the input if the file contains covers (tested
 with both MJPEG and PNG covers). I have tried to run this on some ogg
 files to fix minor muxing issues, but then it failed on covers. Can I
 change this command line to get a full copy of everything (metadata,
 streams, etc.)?
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/4591#comment:9>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list