[FFmpeg-trac] #10239(undetermined:new): zlib: rgb24 file fails do decode when width is not multiple of 4

FFmpeg trac at avcodec.org
Wed Mar 8 19:21:52 EET 2023


#10239: zlib: rgb24 file fails do decode when width is not multiple of 4
-------------------------------------+-------------------------------------
             Reporter:  ami_stuff    |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 attached file decodes correctly in VirtualDub + avizlib codec

 the output should be identical to:

 https://trac.ffmpeg.org/raw-
 attachment/ticket/10235/mszh_306_306_rgb24_nocompress.avi


 {{{
 ./ffmpeg -i zlib_306_306_rgb24.avi -y out.avi
 ffmpeg version N-109867-g5247dab6b1 Copyright (c) 2000-2023 the FFmpeg
 developers
   built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
   configuration:
   libavutil      58.  1.100 / 58.  1.100
   libavcodec     60.  2.100 / 60.  2.100
   libavformat    60.  2.100 / 60.  2.100
   libavdevice    60.  0.100 / 60.  0.100
   libavfilter     9.  1.100 /  9.  1.100
   libswscale      7.  0.100 /  7.  0.100
   libswresample   4.  9.100 /  4.  9.100
 Input #0, avi, from 'zlib_306_306_rgb24.avi':
   Metadata:
     software        : Lavf60.2.100
   Duration: 00:00:00.33, start: 0.000000, bitrate: 37668 kb/s
   Stream #0:0: Video: zlib (ZLIB / 0x42494C5A), bgr24, 306x306, 23.97 fps,
 23.97 tbr, 23.97 tbn
 Stream mapping:
   Stream #0:0 -> #0:0 (zlib (native) -> mpeg4 (native))
 Press [q] to stop, [?] for help
 [zlib @ 0x55a51668b8c0] Inflate error: -5
 Error while decoding stream #0:0: Unknown error occurred
 [zlib @ 0x55a5166d3840] Inflate error: -5
 [zlib @ 0x55a51671b880] Inflate error: -5
 [zlib @ 0x55a5167638c0] Inflate error: -5
 [zlib @ 0x55a5167ab900] Inflate error: -5
 [zlib @ 0x55a5167f3940] Inflate error: -5
 Error while decoding stream #0:0: Unknown error occurred
     Last message repeated 4 times
 [zlib @ 0x55a51683b980] Inflate error: -5
 Error while decoding stream #0:0: Unknown error occurred
 [zlib @ 0x55a5168839c0] Inflate error: -5
 Error while decoding stream #0:0: Unknown error occurred
 Output #0, avi, to 'out.avi':
   Metadata:
     software        : Lavf60.2.100
     ISFT            : Lavf60.2.100
   Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 306x306, q=2-31,
 200 kb/s, 23.97 fps, 23.97 tbn
     Metadata:
       encoder         : Lavc60.2.100 mpeg4
     Side data:
       cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A
 frame=    0 fps=0.0 q=0.0 size=       0kB time=-577014:32:22.77 bitrate=
 -0.0kbframe=    0 fps=0.0 q=0.0 Lsize=       6kB time=-577014:32:22.77
 bitrate=N/A speed=N/A
 video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: unknown
 Output file is empty, nothing was encoded (check -ss / -t / -frames
 parameters if used)
 Conversion failed!
 }}}
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10239>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list