Answers.Body: <p>I assume you're the same poster as at ffmpeg-user who posted <a href="http://ffmpeg.org/pipermail/ffmpeg-user/2018-July/040487.html" rel="nofollow noreferrer">this</a>.</p>
  
  <p><code>.aac</code> stores a raw bitstream and the demuxer has no facility to extract the stream parameters as extradata. So, you can try streaming like this,</p>
  
  <pre><code>./ffmpeg -re -i ~/Downloads/test_audio.aac -acodec copy -vn -rtpflags latm -f rtsp rtsp://shafi:shafi at 192.168.1.135:1935/live/myStream
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-07-12T16:32:18.770Z
Answers.LastActivityDate: 2018-07-12T16:32:18.770Z
Answers.UserDisplayName: Gyan
Body: <p>As per ffmpeg bitstream filter documentation, if we use  -bsf:a aac_adtstoasc  then the AAC stream from a raw ADTS AAC or an MPEG-TS container to MP4A-LATM.</p>
  
  <p><a href="https://ffmpeg.org/ffmpeg-bitstream-filters.html#aac_005fadtstoasc" rel="nofollow noreferrer">https://ffmpeg.org/ffmpeg-bitstream-filters.html#aac_005fadtstoasc</a></p>
  
  <p>But when i try below command the file is not getting converted or adding the bitstream filter</p>
  
  <p>./ffmpeg -i ~/Downloads/test_audio.aac -c:a copy  -bsf:a aac_adtstoasc aac_try_with_bsf.aac</p>
  
  <p>I have checked the output format with help fo mediainfo binary.</p>
  
  <p>Could someone help me to figure out the issue ?</p>
  
Tags: <ffmpeg><audio><codec>
Title: AAC with no global headers is currently not supported
UserDisplayName: shafi
ThreadText: # AAC with no global headers is currently not supported
  
  (Asked by: username_0 on 2018-07-12)
  
  As per ffmpeg bitstream filter documentation, if we use -bsf:a aac\_adtstoasc then the AAC stream from a raw ADTS AAC or an MPEG-TS container to MP4A-LATM.
  
  <https://ffmpeg.org/ffmpeg-bitstream-filters.html#aac_005fadtstoasc>
  
  But when i try below command the file is not getting converted or adding the bitstream filter
  
  ./ffmpeg -i ~/Downloads/test\_audio.aac -c:a copy -bsf:a aac\_adtstoasc aac\_try\_with\_bsf.aac
  
  I have checked the output format with help fo mediainfo binary.
  
  Could someone help me to figure out the issue ?
  
  **Tags:** ffmpeg, audio, codec
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-07-12. Score: 4 | Accepted answer
  
  I assume you're the same poster as at ffmpeg-user who posted [this](http://ffmpeg.org/pipermail/ffmpeg-user/2018-July/040487.html).
  
  `.aac` stores a raw bitstream and the demuxer has no facility to extract the stream parameters as extradata. So, you can try streaming like this,
  
  ```
  ./ffmpeg -re -i ~/Downloads/test_audio.aac -acodec copy -vn -rtpflags latm -f rtsp rtsp://username_0:username_0 at 192.168.1.135:1935/live/myStream
  
  ```
  
  
  ---
  
  