Opened 20 months ago

Last modified 10 months ago

#10034 open defect

mscc: "Inflate error: -3"

Reported by: ami_stuff Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: msc
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

decodes correctly with the original codec

./ffmpeg -i mscc.avi out.avi
ffmpeg version N-109064-gc124981b79 Copyright (c) 2000-2022 the FFmpeg developers
  built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
  configuration: 
  libavutil      57. 42.100 / 57. 42.100
  libavcodec     59. 52.101 / 59. 52.101
  libavformat    59. 34.101 / 59. 34.101
  libavdevice    59.  8.101 / 59.  8.101
  libavfilter     8. 50.100 /  8. 50.100
  libswscale      6.  8.112 /  6.  8.112
  libswresample   4.  9.100 /  4.  9.100
Input #0, avi, from 'mscc.avi':
  Duration: 00:00:02.00, start: 0.000000, bitrate: 5384 kb/s
  Stream #0:0: Video: mscc (mscc / 0x6363736D), bgra, 320x240, 5300 kb/s, 15 fps, 15 tbr, 15 tbn
Stream mapping:
  Stream #0:0 -> #0:0 (mscc (native) -> mpeg4 (native))
Press [q] to stop, [?] for help
[mscc @ 0x55bafe6a7780] Inflate error: -3
Error while decoding stream #0:0: Unknown error occurred
[mscc @ 0x55bafe6a7780] Inflate error: -3
Error while decoding stream #0:0: Unknown error occurred
[mscc @ 0x55bafe6a7780] Inflate error: -3
Error while decoding stream #0:0: Unknown error occurred
[mscc @ 0x55bafe6a7780] Inflate error: -3
Error while decoding stream #0:0: Unknown error occurred
[mscc @ 0x55bafe6a7780] Inflate error: -3
Error while decoding stream #0:0: Unknown error occurred
[mscc @ 0x55bafe6a7780] Inflate error: -3
Error while decoding stream #0:0: Unknown error occurred
[mscc @ 0x55bafe6a7780] Inflate error: -3
Error while decoding stream #0:0: Unknown error occurred
[mscc @ 0x55bafe6a7780] Inflate error: -3
Error while decoding stream #0:0: Unknown error occurred
[mscc @ 0x55bafe6a7780] Inflate error: -3
Error while decoding stream #0:0: Unknown error occurred
[mscc @ 0x55bafe6a7780] Inflate error: -3
Error while decoding stream #0:0: Unknown error occurred
[mscc @ 0x55bafe6a7780] Inflate error: -3
Error while decoding stream #0:0: Unknown error occurred
[mscc @ 0x55bafe6a7780] Inflate error: -3
Error while decoding stream #0:0: Unknown error occurred
[mscc @ 0x55bafe6a7780] Inflate error: -3
Error while decoding stream #0:0: Unknown error occurred
[mscc @ 0x55bafe6a7780] Inflate error: -3
Error while decoding stream #0:0: Unknown error occurred
[mscc @ 0x55bafe6a7780] Inflate error: -3
Error while decoding stream #0:0: Unknown error occurred
[mscc @ 0x55bafe6a7780] Inflate error: -3
Error while decoding stream #0:0: Unknown error occurred
[mscc @ 0x55bafe6a7780] Inflate error: -3
Error while decoding stream #0:0: Unknown error occurred
[mscc @ 0x55bafe6a7780] Inflate error: -3
Error while decoding stream #0:0: Unknown error occurred
[mscc @ 0x55bafe6a7780] Inflate error: -3
Error while decoding stream #0:0: Unknown error occurred
[mscc @ 0x55bafe6a7780] Inflate error: -3
Error while decoding stream #0:0: Unknown error occurred
[mscc @ 0x55bafe6a7780] Inflate error: -3
Error while decoding stream #0:0: Unknown error occurred
[mscc @ 0x55bafe6a7780] Inflate error: -3
Error while decoding stream #0:0: Unknown error occurred
[mscc @ 0x55bafe6a7780] Inflate error: -3
Error while decoding stream #0:0: Unknown error occurred
[mscc @ 0x55bafe6a7780] Inflate error: -3
Error while decoding stream #0:0: Unknown error occurred
[mscc @ 0x55bafe6a7780] Inflate error: -3
Error while decoding stream #0:0: Unknown error occurred
[mscc @ 0x55bafe6a7780] Inflate error: -3
Error while decoding stream #0:0: Unknown error occurred
[mscc @ 0x55bafe6a7780] Inflate error: -3
Error while decoding stream #0:0: Unknown error occurred
[mscc @ 0x55bafe6a7780] Inflate error: -3
Error while decoding stream #0:0: Unknown error occurred
[mscc @ 0x55bafe6a7780] Inflate error: -3
Error while decoding stream #0:0: Unknown error occurred
[mscc @ 0x55bafe6a7780] Inflate error: -3
Error while decoding stream #0:0: Unknown error occurred
Output #0, avi, to 'out.avi':
  Metadata:
    ISFT            : Lavf59.34.101
  Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 320x240, q=2-31, 200 kb/s, 15 fps, 15 tbn
    Metadata:
      encoder         : Lavc59.52.101 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!

Attachments (1)

mscc.avi (1.3 MB ) - added by ami_stuff 20 months ago.

Download all attachments as: .zip

Change History (5)

by ami_stuff, 20 months ago

Attachment: mscc.avi added

comment:1 by Elon Musk, 20 months ago

Which original codec and how was encoded with what tool?

in reply to:  1 comment:2 by ami_stuff, 20 months ago

Replying to Elon Musk:

Which original codec

MSCC Version 1.1

2011 Mandsoft

mscc.dll

and how was encoded with what tool?

just converted input file to mscc with:

Demoshop 3.0.0

2011 Mandsoft

Last edited 20 months ago by ami_stuff (previous) (diff)

comment:3 by Carl Eugen Hoyos, 20 months ago

Component: undeterminedavcodec
Keywords: msc added
Reproduced by developer: set
Status: newopen
Version: unspecifiedgit-master

comment:4 by ami_stuff, 10 months ago

It looks like ffmpeg is able to decode files encoded with built-in codec into recording software "Mandsoft Screen Capture Codec Version 1.0" 2012, but not files encoded with "MSCC Version 1.1" 2011 vfw dll. Those two codecs seems not 100% compatible with each othere (most likely because of bugs introduced between codec versions).

Anyway "MSCC Version 1.1" dll which can correctly decode attached "mscc.avi" file (at least on 32-bit win) is in this package:

https://web.archive.org/web/20111011035824/https://www.mandsoft.com/download/DemoshopSetup.exe

Note: See TracTickets for help on using tickets.