#11215(avcodec:new): xHE-AAC support is incomplete
#11215: xHE-AAC support is incomplete -------------------------------------+------------------------------------- Reporter: Artem S. | Type: defect Tashkinov | Status: new | Priority: important Component: avcodec | Version: git- | master Keywords: xHE-AAC | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- 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 }}} -- Ticket URL: <https://trac.ffmpeg.org/ticket/11215> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#11215: xHE-AAC support is incomplete: AAC USAC Mps212 is not implemented -------------------------------------+------------------------------------- Reporter: Artem S. | Owner: (none) Tashkinov | Type: defect | Status: new Priority: important | Component: avcodec Version: git-master | Resolution: Keywords: xHE-AAC | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by Artem S. Tashkinov): * summary: xHE-AAC support is incomplete => xHE-AAC support is incomplete: AAC USAC Mps212 is not implemented -- Ticket URL: <https://trac.ffmpeg.org/ticket/11215#comment:1> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#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 | -------------------------------------+------------------------------------- Changes (by Artem S. Tashkinov): * owner: (none) => dev@… * status: new => open -- Ticket URL: <https://trac.ffmpeg.org/ticket/11215#comment:2> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#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
#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 }}}
Assigning to Lynne if that's OK. :-)
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 }}} A few more xHE-AAC streams: https://www.hiresaudio.online/max-radio- society/ Assigning to Lynne if that's OK. :-) -- -- Ticket URL: <https://trac.ffmpeg.org/ticket/11215#comment:4> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#11215: xHE-AAC support is incomplete: AAC USAC Mps212 is not implemented -------------------------------------+------------------------------------- Reporter: Artem S. | Owner: dev@… Tashkinov | Type: defect | Status: open Priority: normal | Component: avcodec Version: git-master | Resolution: Keywords: xHE-AAC | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 1 | -------------------------------------+------------------------------------- Changes (by Lynne): * analyzed: 0 => 1 * priority: important => normal * reproduced: 0 => 1 Comment: Mps212 is MPEG-H surround, not xHE-AAC. It's not part of the base spec. Not really a priority right now. The MPEG-H spec is a different dimension of cursed. -- Ticket URL: <https://trac.ffmpeg.org/ticket/11215#comment:5> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#11215: xHE-AAC support is incomplete: AAC USAC Mps212 is not implemented -------------------------------------+------------------------------------- Reporter: Artem S. | Owner: dev@… Tashkinov | Type: defect | Status: open Priority: normal | Component: avcodec Version: git-master | Resolution: Keywords: xHE-AAC | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 1 | -------------------------------------+------------------------------------- Comment (by Artem S. Tashkinov): Got it, but then why ffmpeg 6.1.2 is able to decode this stream while ffmpeg 7.1 fails? Looks like an unintended regression to me :-) -- Ticket URL: <https://trac.ffmpeg.org/ticket/11215#comment:6> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#11215: xHE-AAC support is incomplete: AAC USAC Mps212 is not implemented -------------------------------------+------------------------------------- Reporter: Artem S. | Owner: dev@… Tashkinov | Type: defect | Status: open Priority: normal | Component: avcodec Version: git-master | Resolution: Keywords: xHE-AAC | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 1 | -------------------------------------+------------------------------------- Comment (by Lynne): It was a coincidence. xHE-AAC uses the same scalefactor coding as regular AAC, which could be mistaken by a very robust AAC decoder as valid, and result in a semi-horrible sounding output, as the per-band volume levels would be similar. Decoding codecs with clearly incompatible decoders is not and has not been supported. -- Ticket URL: <https://trac.ffmpeg.org/ticket/11215#comment:7> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#11215: AAC USAC Mps212 support -------------------------------------+------------------------------------- Reporter: Artem S. | Owner: dev@… Tashkinov | Type: defect | Status: open Priority: normal | Component: avcodec Version: git-master | Resolution: Keywords: xHE-AAC | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 1 | -------------------------------------+------------------------------------- Changes (by Artem S. Tashkinov): * summary: xHE-AAC support is incomplete: AAC USAC Mps212 is not implemented => AAC USAC Mps212 support -- Ticket URL: <https://trac.ffmpeg.org/ticket/11215#comment:8> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
participants (1)
-
FFmpeg