[FFmpeg-trac] #11199(avcodec:new): Unusual GIF decoding failure (display OK in browser)

FFmpeg trac at avcodec.org
Fri Sep 20 20:28:10 EEST 2024


#11199: Unusual GIF decoding failure (display OK in browser)
-------------------------------------+-------------------------------------
             Reporter:               |                     Type:  defect
  MasterQuestionable                 |
               Status:  new          |                 Priority:  normal
            Component:  avcodec      |                  Version:  git-
                                     |  master
             Keywords:  gif          |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 ͏    "Error submitting packet to decoder: Invalid data found when
 processing input"
 ͏    When: `ffmpeg -i "DecFail.gif" "x.gif"`

 ͏    [https://ffmpeg.org/ffmpeg.html#Stream-copy ͏"-c copy"] no error; but
 doesn't fix the image.

 ͏    Extra:
 [[
 {{{
 > exiftool -U -ee3 -g3:5:2 -api "RequestAll=0" -api "ByteUnit=Binary"
 "DecFail.gif"
 ---- ExifTool ----
 ExifTool Version Number         : 12.96
 Error                           : File format error
 ---- System:Other ----
 File Name                       : DecFail.gif
 Directory                       : .
 File Size                       : 8.0 KiB
 File Permissions                : -rw-rw-rw-
 ---- System:Time ----
 File Modification Date/Time     : 2024:09:17 05:02:38+00:00
 File Access Date/Time           : 2024:09:17 05:02:38+00:00
 File Creation Date/Time         : 2024:09:17 05:02:38+00:00
 ---- GIF:Other ----
 File Type                       : GIF
 File Type Extension             : gif
 MIME Type                       : image/gif
 ---- GIF:Image ----
 GIF Version                     : 89a
 Transparent Color               : 0
 Frame Count                     : 2
 Duration                        : 0.07 s
 ---- GIF-ScreenDescriptor:Image ----
 Image Width                     : 96
 Image Height                    : 96
 Has Color Map                   : Yes
 Color Resolution Depth          : 8
 Bits Per Pixel                  : 8
 Background Color                : 0
 ---- GIF-Animation:Image ----
 Animation Iterations            : Infinite
 ---- Composite:Image ----
 Image Size                      : 96x96
 Megapixels                      : 0.009

 > exiftool "-*=" "-CommonIFD0=" "DecFail.gif" -o "x.gif"
 Error: Format error in file - DecFail.gif
     0 image files updated
     1 files weren't updated due to errors
 }}}
 ]]
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11199>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list