[FFmpeg-trac] #11215(avcodec:open): xHE-AAC support is incomplete: AAC USAC Mps212 is not implemented

FFmpeg trac at avcodec.org
Mon Sep 30 15:28:48 EEST 2024


#11215: xHE-AAC support is incomplete: AAC USAC Mps212 is not implemented
-------------------------------------+-------------------------------------
             Reporter:  Artem S.     |                    Owner:  dev@…
  Tashkinov                          |
                 Type:  defect       |                   Status:  open
             Priority:  important    |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  xHE-AAC      |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Description changed by Artem S. Tashkinov:

Old description:

> Here's a live xHE-AAC radio station:
>
> https://www.maxradio.ca/UHD/MaxRadio/48k/Max.m3u8
>
> It actually worked with ffmpeg 6.1.2 albeit audio quality was horrible.
>
> ffmpeg 7.1 just bails out:
> {{{
> Error decoding audio.
> [ffmpeg/audio] aac: AAC USAC Mps212 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.
> }}}
>
> ffmpeg 7.1 also fails to mux it:
> {{{
> Input #0, hls, from 'https://www.maxradio.ca/UHD/MaxRadio/48k/Max.m3u8':
>   Duration: N/A, start: 4164154.700045, bitrate: 48 kb/s
>   Program 0
>     Metadata:
>       variant_bitrate : 0
>   Stream #0:0(und): Audio: aac (xHE-AAC) (mp4a / 0x6134706D), 44100 Hz,
> stereo, fltp, 48 kb/s (default)
>       Metadata:
>         variant_bitrate : 0
>         compatible_brands: isomiso6hlsfmp42
>         handler_name    : StreamS Encoder
>         vendor_id       : [0][0][0][0]
>         major_brand     : mp42
>         minor_version   : 0
>         creation_time   : 2024-08-13T07:32:00.000000Z
> Stream mapping:
>   Stream #0:0 -> #0:0 (copy)
> [adts @ 0x11498300] MPEG-4 AOT 42 is not allowed in ADTS
> [out#0/mpegts @ 0x1076a9c0] Could not write header (incorrect codec
> parameters ?): Invalid data found when processing input
> Conversion failed!
>

> ERROR: ffmpeg exited with code 183
> }}}

New description:

 Here's a live xHE-AAC radio station:

 https://www.maxradio.ca/UHD/MaxRadio/48k/Max.m3u8

 It actually worked with ffmpeg 6.1.2 albeit audio quality was horrible.

 ffmpeg 7.1 just bails out:
 {{{
 Error decoding audio.
 [ffmpeg/audio] aac: AAC USAC Mps212 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.
 }}}

 ffmpeg 7.1 also fails to mux it:
 {{{
 Input #0, hls, from 'https://www.maxradio.ca/UHD/MaxRadio/48k/Max.m3u8':
   Duration: N/A, start: 4164154.700045, bitrate: 48 kb/s
   Program 0
     Metadata:
       variant_bitrate : 0
   Stream #0:0(und): Audio: aac (xHE-AAC) (mp4a / 0x6134706D), 44100 Hz,
 stereo, fltp, 48 kb/s (default)
       Metadata:
         variant_bitrate : 0
         compatible_brands: isomiso6hlsfmp42
         handler_name    : StreamS Encoder
         vendor_id       : [0][0][0][0]
         major_brand     : mp42
         minor_version   : 0
         creation_time   : 2024-08-13T07:32:00.000000Z
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
 [adts @ 0x11498300] MPEG-4 AOT 42 is not allowed in ADTS
 [out#0/mpegts @ 0x1076a9c0] Could not write header (incorrect codec
 parameters ?): Invalid data found when processing input
 Conversion failed!


 ERROR: ffmpeg exited with code 183
 }}}

 Assigning to Lynne if that's OK. :-)

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


More information about the FFmpeg-trac mailing list