[FFmpeg-user] ffmpeg AAC with no global headers is currently not supported.

Mohammed Sha mohammed.sha at vvdntech.in
Thu Jul 12 07:54:32 EEST 2018


Hi ALL,

While streaming test aac audio using ffmpeg, Not able to get audio at the
client side, while checking this may be because " AAC with no global
headers is currently not supported." as per the link given below.

https://ffmpeg.org/pipermail/ffmpeg-devel/2008-March/050846.html

Tried with the fix as explained in the link then also same issue.

 ./ffmpeg -re -i ~/Downloads/test_audio.aac -acodec copy -vn -ac 2 -ar
44100 -flags +global_header -f rtsp rtsp://
shafi:shafi at 192.168.1.135:1935/live/myStream
ffmpeg version 4.0.1 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.10) 20160609
  configuration: --pkg-config-flags=--static --enable-gpl --enable-libass
--enable-libfdk-aac --enable-libfreetype --enable-libmp3lame
--enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264
--enable-libx265 --enable-nonfree --enable-openssl
  libavutil      56. 14.100 / 56. 14.100
  libavcodec     58. 18.100 / 58. 18.100
  libavformat    58. 12.100 / 58. 12.100
  libavdevice    58.  3.100 / 58.  3.100
  libavfilter     7. 16.100 /  7. 16.100
  libswscale      5.  1.100 /  5.  1.100
  libswresample   3.  1.100 /  3.  1.100
  libpostproc    55.  1.100 / 55.  1.100
[aac @ 0x2192980] Estimating duration from bitrate, this may be inaccurate
Input #0, aac, from '/home/vkchlt0199/Downloads/test_audio.aac':
  Duration: 00:08:47.25, bitrate: 81 kb/s
    Stream #0:0: Audio: aac (LC), 16000 Hz, mono, fltp, 81 kb/s
*[rtsp @ 0x7ffd4ffe7a90] AAC with no global headers is currently not
supported.*
Output #0, rtsp, to 'rtsp://shafi:shafi@192.168.1.135:1935/live/myStream':
  Metadata:
    encoder         : Lavf58.12.100
    Stream #0:0: Audio: aac (LC), 16000 Hz, mono, fltp, 81 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
size=N/A time=00:00:08.25 bitrate=N/A speed=1.02x
video:0kB audio:83kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: unknown

Couldsomeone guide me on this


More information about the ffmpeg-user mailing list