Opened 15 months ago

Closed 15 months ago

Last modified 15 months ago

#10178 closed defect (fixed)

wavarc: fix decoding of 16-bit compression level 0

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

decompresses correctly with wa32.exe

./ffmpeg -i 16_33_M_C0.WA -y out.wav
ffmpeg version N-109771-g93a9ee7afd Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
  configuration: 
  libavutil      57. 44.100 / 57. 44.100
  libavcodec     59. 63.100 / 59. 63.100
  libavformat    59. 38.100 / 59. 38.100
  libavdevice    59.  8.101 / 59.  8.101
  libavfilter     8. 56.100 /  8. 56.100
  libswscale      6.  8.112 /  6.  8.112
  libswresample   4.  9.100 /  4.  9.100
Input #0, wavarc, from '16_33_M_C0.WA':
  Duration: N/A, start: 0.000000, bitrate: N/A
  Stream #0:0: Audio: wavarc (0CPY / 0x59504330), 33333 Hz, mono, s16p
Stream mapping:
  Stream #0:0 -> #0:0 (wavarc (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, wav, to 'out.wav':
  Metadata:
    ISFT            : Lavf59.38.100
  Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 33333 Hz, mono, s16, 533 kb/s
    Metadata:
      encoder         : Lavc59.63.100 pcm_s16le
[wavarc @ 0x55d22115f700] get_buffer() failedspeed=   0x    
Error while decoding stream #0:0: Invalid data found when processing input
size=     651kB time=00:00:09.98 bitrate= 534.2kbits/s speed= 845x    
video:0kB audio:651kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.011700%

Attachments (1)

16_33_M_C0.WA (651.1 KB ) - added by ami_stuff 15 months ago.

Download all attachments as: .zip

Change History (3)

by ami_stuff, 15 months ago

Attachment: 16_33_M_C0.WA added

comment:1 by Elon Musk, 15 months ago

Resolution: fixed
Status: newclosed

comment:2 by ami_stuff, 15 months ago

the output is ok now, but there is still "get_buffer() failed" error message.

not sure if this is intended

./ffmpeg -i 16_33_M_C0.WA -f s16le -y 10.raw
ffmpeg version N-109772-gc56f5be678 Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
  configuration: 
  libavutil      57. 44.100 / 57. 44.100
  libavcodec     59. 63.100 / 59. 63.100
  libavformat    59. 38.100 / 59. 38.100
  libavdevice    59.  8.101 / 59.  8.101
  libavfilter     8. 56.100 /  8. 56.100
  libswscale      6.  8.112 /  6.  8.112
  libswresample   4.  9.100 /  4.  9.100
Input #0, wavarc, from '16_33_M_C0.WA':
  Duration: N/A, start: 0.000000, bitrate: N/A
  Stream #0:0: Audio: wavarc (0CPY / 0x59504330), 33333 Hz, mono, s16p
Stream mapping:
  Stream #0:0 -> #0:0 (wavarc (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, s16le, to '10.raw':
  Metadata:
    encoder         : Lavf59.38.100
  Stream #0:0: Audio: pcm_s16le, 33333 Hz, mono, s16, 533 kb/s
    Metadata:
      encoder         : Lavc59.63.100 pcm_s16le
[wavarc @ 0x55c6c44a0700] get_buffer() failedspeed=   0x    
Error while decoding stream #0:0: Invalid data found when processing input
size=     651kB time=00:00:09.98 bitrate= 534.2kbits/s speed= 572x    
video:0kB audio:651kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
Note: See TracTickets for help on using tickets.