Opened 16 months ago

Last modified 2 months ago

#5297 open defect

mpeg-4 als: "predictor order too large"

Reported by: ami_stuff Owned by: thilo.borgmann
Priority: important Component: avcodec
Version: git-master Keywords: als regression
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description (last modified by ami_stuff)

http://www.datafilehost.com/d/e51ea572

C:\>mp4alsRM23.exe -o1023 -MP4 pred.wav
C:\>ffmpeg -i pred.mp4 out.wav
ffmpeg version N-78758-g5156578 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.3.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-l
ibilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enab
le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --en
able-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --ena
ble-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --
enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-lib
x265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-d
ecklink --enable-zlib
  libavutil      55. 19.100 / 55. 19.100
  libavcodec     57. 27.100 / 57. 27.100
  libavformat    57. 26.100 / 57. 26.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 37.100 /  6. 37.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Guessed Channel Layout for  Input Stream #0.0 : stereo
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'pred.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42isom
    creation_time   : 2016-03-06 18:17:21
  Duration: 00:00:30.01, start: 0.000000, bitrate: 916 kb/s
    Stream #0:0(und): Audio: mp4als (mp4a / 0x6134706D), 44100 Hz, 2 channels, s
16, 916 kb/s (default)
    Metadata:
      creation_time   : 2016-03-06 18:17:21
Output #0, wav, to 'out.wav':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42isom
    ISFT            : Lavf57.26.100
    Stream #0:0(und): Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo
, s16, 1411 kb/s (default)
    Metadata:
      creation_time   : 2016-03-06 18:17:21
      encoder         : Lavc57.27.100 pcm_s16le
Stream mapping:
  Stream #0:0 -> #0:0 (mp4als (als) -> pcm_s16le (native))
Press [q] to stop, [?] for help
[output stream 0:0 @ 038f2740] 100 buffers queued in output stream 0:0, somethin
g may be wrong.
[als @ 038f7020] Predictor order too large.
[als @ 038f7020] Reading frame data failed. Skipping RA unit.
size=    5171kB time=00:00:30.01 bitrate=1411.2kbits/s speed=9.02x
video:0kB audio:5170kB subtitle:0kB other streams:0kB global headers:0kB muxing
overhead: 0.001473%

Change History (13)

comment:1 Changed 16 months ago by ami_stuff

  • Description modified (diff)

comment:2 Changed 16 months ago by cehoyos

  • Component changed from undetermined to avcodec
  • Keywords als regression added
  • Priority changed from normal to important
  • Reproduced by developer set
  • Status changed from new to open
  • Version changed from unspecified to git-master

Seems to be a regression since 18f94df8

comment:3 Changed 16 months ago by thilo.borgmann

  • Owner set to thilo.borgmann

comment:4 Changed 9 months ago by thilo.borgmann

I cannot download it from datafilehost anymore.
Please attach it to the ticket or send me a private mail with the sample.

comment:5 Changed 9 months ago by cehoyos

  • Cc thilo.borgmann added

comment:6 Changed 9 months ago by cehoyos

I'll try to fix the permissions later today, sorry!

comment:7 Changed 9 months ago by cehoyos

Should be fixed.

comment:8 Changed 9 months ago by thilo.borgmann

  • Cc thilo.borgmann removed

I'm already receiving mails for this ticket for being subscribed to the ML.

Found the sample, thanks!

Last edited 9 months ago by thilo.borgmann (previous) (diff)

comment:9 follow-up: Changed 3 months ago by rishsethia

i want to solve this issue !

comment:10 in reply to: ↑ 9 Changed 3 months ago by thilo.borgmann

You're welcome to post a corresponding patch to the ffmpeg-devel mailing list.

Last edited 3 months ago by thilo.borgmann (previous) (diff)

comment:11 Changed 2 months ago by rishsethia

The error is in the case where adaptive ordering is turned off !
But what I am wondering is :
Why can't the optimum predictor order (which is equal to max order in this case) be greater than the block length ?

comment:12 Changed 2 months ago by thilo.borgmann

This bug tracker is not meant to discuss codec details nor asking questions about these details.

It is meant for keeping track of the history of a bug report and possible solutions, workarounds and/or patches.

comment:13 Changed 2 months ago by rishsethia

But, I don't get any response via email !

Note: See TracTickets for help on using tickets.