#10235 closed defect (fixed)

mszh: rgb24 compressed - broken output when width is not multiple of 4

Reported by: ami_stuff Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

such files decodes just fine in VirtualDub + original VFW codec

the output from VirtualDub "File->Export->Raw video..." is the same for both attached files

./ffmpeg -i mszh_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 'mszh_306_306_rgb24.avi':
  Metadata:
    software        : Lavf60.2.100
  Duration: 00:00:00.33, start: 0.000000, bitrate: 52523 kb/s
  Stream #0:0: Video: mszh (MSZH / 0x485A534D), bgr24, 306x306, 23.97 fps, 23.97 tbr, 23.97 tbn
Stream mapping:
  Stream #0:0 -> #0:0 (mszh (native) -> mpeg4 (native))
Press [q] to stop, [?] for help
Output #0, avi, to 'out.avi':
  Metadata:
    software        : Lavf60.2.100
    ISFT            : Lavf60.2.100
  Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p(tv, progressive), 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=4.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   frame=    8 fps=0.0 q=5.6 Lsize=      62kB time=00:00:00.29 bitrate=1726.3kbits/s speed=6.53x    
video:56kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 10.294735%

Attachments (2)

mszh_306_306_rgb24.avi (2.1 MB ) - added by ami_stuff 21 months ago.
mszh_306_306_rgb24_nocompress.avi (2.2 MB ) - added by ami_stuff 21 months ago.

Change History (3)

by ami_stuff, 21 months ago

Attachment: mszh_306_306_rgb24.avi added

by ami_stuff, 21 months ago

comment:1 by Elon Musk, 14 months ago

Resolution: fixed
Status: newclosed

Decodes fine now

Note: See TracTickets for help on using tickets.