[FFmpeg-trac] #10147(undetermined:new): Failed to process corrupted aac audio in 5.1

FFmpeg trac at avcodec.org
Mon Jan 23 22:57:49 EET 2023


#10147: Failed to process corrupted aac audio in 5.1
--------------------------------+----------------------------------------
             Reporter:  ivyabc  |                    Owner:  (none)
                 Type:  defect  |                   Status:  new
             Priority:  normal  |                Component:  undetermined
              Version:  5.1.2   |               Resolution:
             Keywords:          |               Blocked By:
             Blocking:          |  Reproduced by developer:  0
Analyzed by developer:  0       |
--------------------------------+----------------------------------------
Description changed by ivyabc:

Old description:

> Summary of the bug:
>
> ffmpeg 5.1.2 fails to skip corrupted aac audio and continue to process
> good data. git bisect points to this commit:
>
> https://github.com/FFmpeg/FFmpeg/commit/494760f971a41851630d7940abe914cd1115737e
>
> How to reproduce:
> {{{
> ffmpeg -i d04f47da-4a09-4a47-a56a-2d458b9a2c1b.m4a -f null /dev/null
>
> ffmpeg 5.0:
>
> The input file 17:51-23:46 is corrupted. ffmpeg prints error but can
> continue to process good data.
>
> ffmpeg 5.1:
>
> [auto_aresample_0 @ 0x56039de0dd40] [SWR @ 0x56039cb4a340] Rematrix is
> needed between 30 channels and stereo but there is not enough information
> to do it
> [auto_aresample_0 @ 0x56039de0dd40] Failed to configure output pad on
> auto_aresample_0
> Error reinitializing filters!
> Failed to inject frame into filter network: Invalid argument
> Error while processing the decoded data for stream #0:0
> Conversion failed!
>
> }}}
>
> ffmpeg -i d04f47da-4a09-4a47-a56a-2d458b9a2c1b.m4a -vn -c:a aac -b:a 128k
> -ac 2 audio.m4a
>
> Expected: 17:51-23:46 has no sound. Sound continues after 23:46.
> Actual: Fails at 17:51

New description:

 Summary of the bug:

 ffmpeg 5.1.2 fails to skip corrupted aac audio and continue to process
 good data. git bisect points to this commit:

 https://github.com/FFmpeg/FFmpeg/commit/494760f971a41851630d7940abe914cd1115737e

 The corrupted file is uploaded to streams.videolan.org

 How to reproduce:
 {{{
 ffmpeg -i d04f47da-4a09-4a47-a56a-2d458b9a2c1b.m4a -f null /dev/null

 ffmpeg 5.0:

 The input file 17:51-23:46 is corrupted. ffmpeg prints error but can
 continue to process good data.

 ffmpeg 5.1:

 [auto_aresample_0 @ 0x56039de0dd40] [SWR @ 0x56039cb4a340] Rematrix is
 needed between 30 channels and stereo but there is not enough information
 to do it
 [auto_aresample_0 @ 0x56039de0dd40] Failed to configure output pad on
 auto_aresample_0
 Error reinitializing filters!
 Failed to inject frame into filter network: Invalid argument
 Error while processing the decoded data for stream #0:0
 Conversion failed!

 }}}

 ffmpeg -i d04f47da-4a09-4a47-a56a-2d458b9a2c1b.m4a -vn -c:a aac -b:a 128k
 -ac 2 audio.m4a

 Expected: 17:51-23:46 has no sound. Sound continues after 23:46.
 Actual: Fails at 17:51

--
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10147#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list