Opened 3 years ago

Last modified 3 years ago

#8337 open defect

MPEG-4 ALS: Overread 8 when decoding

Reported by: Erik Jensen Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: als
Cc: erikjensen_ffmpeg@rkjnsn.net Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

(note: this may be a dupe of #5943, but in my case occurs with a regular 16-bit stereo file.)

Summary of the bug:
File encoded using the mp4alsRM23 reference encoder decodes properly using the reference decoder, but results in the following error when decoding with FFmpeg:

[als @ 0x555cf2fb15c0] Overread 8

How to reproduce:

% ffmpeg -i mpeg4-als-overread-8.mp4 -f hash -
ffmpeg version N-95568-g1054752c56
  built with gcc 8.3.0 (Gentoo 8.3.0-r1 p1.1)

Expected output:

SHA256=db0ab7107554cf6f2ea372ec523dd7e906b0f6f00b2c9b4998c8f5f4a1cf8e1f

Actual output:

[als @ 0x555cf2fb15c0] Overread 8
[als @ 0x555cf2fb15c0] Reading frame data failed. Skipping RA unit.
[out_0_0 @ 0x555cf2fffe80] EOF on sink link out_0_0:default.
SHA256=3b12b6e81c46f3a123f2f7a4239bccb591b0d1268ed457f5156cc1c2406ff672

Attached are the log from the above command (decode.log) and the output of ffmpeg -v 9 -loglevel 99 -i mpeg4-als-overread-8.mp4 (verbose.log). I'll be uploading mpeg4-als-overread-8.mp4 to upload.ffmpeg.org shortly.

Attachments (2)

decode.log (3.9 KB ) - added by Erik Jensen 3 years ago.
Log from ffmpeg -i mpeg4-als-overread-8.mp4 -f hash -
verbose-info.log (7.8 KB ) - added by Erik Jensen 3 years ago.
Log from ffmpeg -v 9 -loglevel 99 -i mpeg4-als-overread-8.mp4

Download all attachments as: .zip

Change History (6)

by Erik Jensen, 3 years ago

Attachment: decode.log added

Log from ffmpeg -i mpeg4-als-overread-8.mp4 -f hash -

by Erik Jensen, 3 years ago

Attachment: verbose-info.log added

Log from ffmpeg -v 9 -loglevel 99 -i mpeg4-als-overread-8.mp4

comment:1 by Erik Jensen, 3 years ago

Cc: erikjensen_ffmpeg@rkjnsn.net added

Hmm.. my ftp connection to upload.ffmpeg.org seems to be timing out at the moment. Is there a better way to get you the sample? Otherwise, I'll try again, later.

comment:2 by Carl Eugen Hoyos, 3 years ago

Upload your sample to a file hoster of your choice and post the link here.

comment:4 by Carl Eugen Hoyos, 3 years ago

Reproduced by developer: set
Status: newopen
Note: See TracTickets for help on using tickets.