[FFmpeg-devel] Decoding issue with AAC SBR from flv

Thomas Jammet jammetthomas at gmail.com
Tue May 16 17:11:08 EEST 2017


Hi,

I think to have found a regression into ffmpeg 3.x versions.

When I try to play the file in attachment it gives inaudible output and a
lot of errors from ffplay (see example below). I have tested it with ffmpeg
3.3.git and stable release 3.2.3 on Linux and Windows and it gives the same
result.

Though if I play it from ffmpeg version 2.8 the output is playing fine (but
there are 2 errors in the logs).

For information the file is extracted from a live stream. I think that the
problem comes from the fact that the first packet is not a "key frame" or
something like this so the decoder cannot handle it.

My command is just :
*ffplay aac_decoding_error.flv*

And here are the error logs :
[aac @ 0x9fb08820] channel element 0.3 is not allocated
[aac @ 0x9fb08820] channel element 0.14 is not allocated
[aac @ 0x9fb08820] Input buffer exhausted before END element found
    Last message repeated 1 times
[aac @ 0x9fb08820] channel element 2.10 is not allocated
[aac @ 0x9fb08820] Input buffer exhausted before END element found
[aac @ 0x9fb08820] Sample rate index in program config element does not
match the sample rate index configured by the container.
[aac @ 0x9fb08820] decode_pce: Input buffer exhausted before END element
found
[aac @ 0x9fb08820] Input buffer exhausted before END element found
[aac @ 0x9fb08820] Sample rate index in program config element does not
match the sample rate index configured by the container.
[aac @ 0x9fb08820] decode_pce: Input buffer exhausted before END element
found
[aac @ 0x9fb08820] Multiple frames in a packet.
[aac @ 0x9fb08820] decode_pce: Input buffer exhausted before END element
found
[aac @ 0x9fb08820] Input buffer exhausted before END element found
[aac @ 0x9fb08820] channel element 1.12 is not allocated
[aac @ 0x9fb08820] Input buffer exhausted before END element found
[aac @ 0x9fb08820] channel element 3.14 is not allocated
[aac @ 0x9fb08820] channel element 0.3 is not allocated
[aac @ 0x9fb08820] skip_data_stream_element: Input buffer exhausted before
END element found
[aac @ 0x9fb08820] Input buffer exhausted before END element found
[aac @ 0x9fb08820] channel element 0.7 is not allocated
[aac @ 0x9fb08820] Input buffer exhausted before END element found
...

Can someone help me for this problem?

Regards

*--*

*Thomas JAMMET*
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aac_decoding_error.flv
Type: video/x-flv
Size: 90363 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170516/2b6a79cb/attachment.flv>


More information about the ffmpeg-devel mailing list