[FFmpeg-user] is there patch to support aac LTP

qw applemax82 at 163.com
Thu May 28 10:35:30 EEST 2020


Hi,


I fail to decode some audio file via ffmpeg. And output is shown as below:


[aac @ 0x46c3880] Error decoding AAC frame header.
[aac @ 0x46c3880] More than one AAC RDB per ADTS frame is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[aac @ 0x46c3880] Multiple frames in a packet.
[aac @ 0x46c3880] Sample rate index in program config element does not match the sample rate index configured by the container.
[aac @ 0x46c3880] Inconsistent channel configuration.
[aac @ 0x46c3880] get_buffer() failed
[aac @ 0x46c3880] channel element 1.15 is not allocated
[aac @ 0x46c3880] channel element 3.15 is not allocated
[aac @ 0x46c3880] channel element 2.5 is not allocated
[aac @ 0x46c3880] Sample rate index in program config element does not match the sample rate index configured by the container.
[aac @ 0x46c3880] Inconsistent channel configuration.
[aac @ 0x46c3880] get_buffer() failed
[aac @ 0x46c3880] channel element 2.0 is not allocated
[aac @ 0x46c3880] Number of scalefactor bands in group (54) exceeds limit (40).
[aac @ 0x46c3880] Number of bands (31) exceeds limit (11).
[aac @ 0x46c3880] Reserved bit set.
[aac @ 0x46c3880] Number of bands (29) exceeds limit (4).
[aac @ 0x46c3880] channel element 1.6 is not allocated
[aac @ 0x46c3880] Number of bands (25) exceeds limit (5).
[aac @ 0x46c3880] Number of bands (8) exceeds limit (7).
[aac @ 0x46c3880] Prediction is not allowed in AAC-LC.
[aac @ 0x46c3880] channel element 3.5 is not allocated
[aac @ 0x46c3880] Dependent coupling is not supported together with LTP
    Last message repeated 3 times
[aac @ 0x46c3880] channel element 3.12 is not allocated
[aac @ 0x46c3880] channel element 1.0 is not allocated
[aac @ 0x46c3880] channel element 3.12 is not allocated
[aac @ 0x46c3880] Reserved bit set.
[aac @ 0x46c3880] Number of scalefactor bands in group (61) exceeds limit (40).
[aac @ 0x46c3880] Sample rate index in program config element does not match the sample rate index configured by the container.
[aac @ 0x46c3880] Inconsistent channel configuration.
[aac @ 0x46c3880] get_buffer() failed
[aac @ 0x46c3880] Dependent coupling is not supported together with LTP
    Last message repeated 11 times
[aac @ 0x46c3880] channel element 1.9 is not allocated
[aac @ 0x46c3880] channel element 2.0 is not allocated
[aac @ 0x46c3880] channel element 1.2 is not allocated
[aac @ 0x46c3880] Sample rate index in program config element does not match the sample rate index configured by the container.
[aac @ 0x46c3880] Inconsistent channel configuration.
[aac @ 0x46c3880] get_buffer() failed
[aac @ 0x46c3880] channel element 1.13 is not allocated
[aac @ 0x46c3880] channel element 3.12 is not allocated
[aac @ 0x46c3880] channel element 1.5 is not allocated
[aac @ 0x46c3880] channel element 3.12 is not allocated
[aac @ 0x46c3880] skip_data_stream_element: Input buffer exhausted before END element found
[aac @ 0x46c3880] Pulse tool not allowed in eight short sequence.
[aac @ 0x46c3880] Dependent coupling is not supported together with LTP
    Last message repeated 11 times
[aac @ 0x46c3880] channel element 3.4 is not allocated
[aac @ 0x46c3880] ms_present = 3 is reserved.
[aac @ 0x46c3880] channel element 1.13 is not allocated
[aac @ 0x46c3880] channel element 2.0 is not allocated
[aac @ 0x46c3880] channel element 3.3 is not allocated
[mpegts @ 0x46bebc0] decoding for stream 0 failed
[mpegts @ 0x46bebc0] Could not find codec parameters for stream 0 (Audio: aac (LTP) ([15][0][0][0] / 0x000F), 5.0, fltp, 254 kb/s): unspecified sample rate
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from 'audio_file.ts':
  Duration: 00:00:10.02, start: 1582.580000, bitrate: 2628 kb/s
  Program 1 
    Stream #0:0[0x101]: Audio: aac (LTP) ([15][0][0][0] / 0x000F), 5.0, fltp, 254 kb/s
    Stream #0:1[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1280x720, 30 fps, 30 tbr, 90k tbn, 60 tbc


Is there any patch to support LTP?


Thanks!


Regards


Andrew


More information about the ffmpeg-user mailing list