<div dir="ltr"><div dir="ltr">Den ons. 26. aug. 2020 kl. 23.02 skrev Jesper Taxbøl <<a href="mailto:jesper@taxboel.dk">jesper@taxboel.dk</a>>:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div>Den ons. 26. aug. 2020 kl. 22.35 skrev Carl Eugen Hoyos <<a href="mailto:ceffmpeg@gmail.com" target="_blank">ceffmpeg@gmail.com</a>>:<br>><br>> Am Mi., 26. Aug. 2020 um 22:01 Uhr schrieb Jesper Taxbøl <<a href="mailto:jesper@taxboel.dk" target="_blank">jesper@taxboel.dk</a>>:<br>> ><br>> > I am struggling to make AAC encoding work with libav.<br>><br>> (Your email is practically unreadable.)<br>><br>> Contrary to mp3, there is no "raw" aac, you have to choose a muxer<br>> like adts or mov.<br>> (This is not 100% accurate, but like most other software, FFmpeg<br>> does not support reading raw aac, faad might work.)<br>><br>> Carl Eugen<br>> _______________________________________________<br>> Libav-user mailing list<br>> <a href="mailto:Libav-user@ffmpeg.org" target="_blank">Libav-user@ffmpeg.org</a><br>> <a href="https://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">https://ffmpeg.org/mailman/listinfo/libav-user</a><br>><br>> To unsubscribe, visit link above, or email<br>> <a href="mailto:libav-user-request@ffmpeg.org" target="_blank">libav-user-request@ffmpeg.org</a> with subject "unsubscribe".<br><br></div></div><div><br></div><div>I am sorry about the confusion of my writing.<br><br>It seems I have understood some packetization wrong. Perhaps you can help me understand. <div><br></div><div>When I run<br><br>ffmpeg -i someaudiofile.mp3 -t 3 out.aac<br><br><div>I was under the impression that the output would be raw aac without using a muxer? </div><div><br></div><div>How do I identify the muxer used in this case?</div><div><br></div><div>I basically want to mimic that command from my C++ program.</div><div><br></div><div><br>Kind regards<br><br>Jesper<br></div></div></div></div>
</blockquote></div><div><br></div><div><br></div><div>Through search I found a patch that I could draw some inspiration from.<div><br></div><div><a href="https://patchwork.ffmpeg.org/project/ffmpeg/patch/20170329234301.6182-1-p4olo_prete@yahoo.it/">https://patchwork.ffmpeg.org/project/ffmpeg/patch/20170329234301.6182-1-p4olo_prete@yahoo.it/</a><br></div><div><br></div><div>Now the repo is updated with an ADTS muxer and the output can be played with ffplay.</div></div><div><br></div><div><a href="https://github.com/taxfromdk/audio_encode_test/blob/master/encode_audio.cpp">https://github.com/taxfromdk/audio_encode_test/blob/master/encode_audio.cpp</a><br></div><div><br></div><div>Thank you for the hints.</div><div><br></div><div>Jesper</div><div><br></div></div>