<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><span class=""><br>
> Oh i didn't know that, so I need to add the adts<br>
> headers to it?<br>
<br>
</span>I meant: I suspect FFmpeg will not recognize your<br>
input if it is raw aac.<br>
If it does, I am probably wrong (or your input is not<br>
raw aac).<br>
<br></blockquote><div><br></div><div>I tried adding an adts header to the packets and got this warning:</div><div><br></div>







<div>"Malformed AAC bitstream detected: use the audio bitstream filter 'aac_adtstoasc' to fix it ('-bsf:a aac_adtstoasc' option with ffmpeg) "</div></div></div></div>