#11600: Ffprobe/Ffmpeg with libfdk-aac doesn't recognize AAC-HE(v2) livestreams -------------------------------------+------------------------------------- Reporter: Radu | Type: defect Motrescu | Status: new | Priority: normal Component: | Version: git- undetermined | master Keywords: AAC libfdk- | Blocked By: aac aac | Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Summary of the bug: How to reproduce: {{{ % ffprobe http://ais-edge78-181fm- dal03.cdnstream.com:7080/181-yachtrock_64k.aac ffprobe version N-119615-gf414038779 Copyright (c) 2007-2025 the FFmpeg developers built with gcc 14 (GCC) configuration: --enable-libfdk-aac --enable-nonfree --enable-gpl --disable-x86asm --enable-libmp3lame --enable-ffplay libavutil 60. 2.100 / 60. 2.100 libavcodec 62. 3.101 / 62. 3.101 libavformat 62. 0.102 / 62. 0.102 libavdevice 62. 0.100 / 62. 0.100 libavfilter 11. 0.100 / 11. 0.100 libswscale 9. 0.100 / 9. 0.100 libswresample 6. 0.100 / 6. 0.100 Input #0, aac, from 'http://ais-edge78-181fm- dal03.cdnstream.com:7080/181-yachtrock_64k.aac': Metadata: icy-br : 64 icy-name : 181.FM YACHT ROCK icy-private : 0 icy-pub : 1 icy-url : http://www.181.fm StreamTitle : Honey Drippers - Sea Of Love Duration: N/A, bitrate: 64 kb/s Stream #0:0: Audio: aac (LC), 44100 Hz, stereo, fltp, 64 kb/s }}}
After some digging, I found that commit `64bb91fd3b5a00a8849531c7e8dd207f2a626096` introduced this line of code: `avctx->profile = hdr.object_type - 1;` which forces the profile to always be set to 1 (AAC-LC). Commenting this line in any version past the commit mentioned above fixes the issue. Commits before the one mentioned above correctly identify the livestream as AAC-HE. It also affects the release 7.1.1. -- Ticket URL: <https://trac.ffmpeg.org/ticket/11600> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
_______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org https://ffmpeg.org/mailman/listinfo/ffmpeg-trac To unsubscribe, visit link above, or email ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".