Opened 2 years ago

Last modified 6 months ago

#8411 new enhancement

Support USAC / xHE-AAC

Reported by: Carl Eugen Hoyos Owned by:
Priority: wish Component: avcodec
Version: git-master Keywords: aac
Cc: ccom@randomderp.com, andrew.david.strong@gmail.com Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

xHE-AAC is currently not supported by FFmpeg, a sample stream is http://stream.radioh.no:443/rh.x16

$ ffmpeg -i rh.x16 
ffmpeg version N-95955-g12bbfc4cca Copyright (c) 2000-2019 the FFmpeg developers
  built with clang version 8.0.1 (tags/RELEASE_801/final 366581)
  configuration: --cc=clang --enable-gpl --enable-gnutls --enable-libxml2 --enable-libx264 --enable-libx265 --enable-libvpx --enable-libaom
  libavutil      56. 36.101 / 56. 36.101
  libavcodec     58. 64.101 / 58. 64.101
  libavformat    58. 35.101 / 58. 35.101
  libavdevice    58.  9.101 / 58.  9.101
  libavfilter     7. 67.100 /  7. 67.100
  libswscale      5.  6.100 /  5.  6.100
  libswresample   3.  6.100 /  3.  6.100
  libpostproc    55.  6.100 / 55.  6.100
[aac_latm @ 0x3278800] Audio object type 42 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_latm @ 0x3278800] Audio object type 42 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_latm @ 0x3278800] Audio object type 42 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_latm @ 0x3278800] Audio object type 42 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.
[loas @ 0x3276e40] decoding for stream 0 failed
[loas @ 0x3276e40] Could not find codec parameters for stream 0 (Audio: aac_latm, 0 channels, fltp): unspecified sample rate
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, loas, from 'rh.x16':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Audio: aac_latm, 0 channels, fltp
At least one output file must be specified

Attachments (1)

rh.x16 (561.9 KB ) - added by Carl Eugen Hoyos 2 years ago.

Download all attachments as: .zip

Change History (9)

by Carl Eugen Hoyos, 2 years ago

Attachment: rh.x16 added

comment:1 by Carl Eugen Hoyos, 2 years ago

Priority: normalwish

comment:2 by andrew46, 20 months ago

If it adds any weight to this enhancement request for FFmpeg to support USAC / xHE-AAC there is now (as of early 2020) an Open Source encoder available:

exhale
https://gitlab.com/ecodis/exhale

This will doubtless result in more xHE-AAC sample files circulating in 'the wild' and a greater interest in encoding and decoding xHE-AAC (USAC) files...

comment:3 by Elon Musk, 20 months ago

I deeply doubt that.

comment:4 by Christopher Degawa, 18 months ago

Cc: ccom@randomderp.com added

comment:5 by andrew46, 18 months ago

Cc: andrew.david.strong@gmail.com added

comment:6 by Ajaja, 18 months ago

At least it makes sence to automaticaly switch to libfdk_aac decoder (if it's present) to decode xHE-AAC (USAC) now.

comment:8 by Ronak Patel, 6 months ago

Hi, is there any update on when this support would be made available?

Note: See TracTickets for help on using tickets.