How to merge audio to video through FFMpeg C API
<p>How to merge audio with video through FFMpeg C library. </p>

<p>I have tried <a href="https://ffmpeg.org/doxygen/trunk/muxing_8c-source.html" rel="nofollow noreferrer">muxing.c</a> In this example, audio is created every video frame. But I wanna merge with one full mp3 or wav some other audio format.</p>

<p>And how to encode the audio file (.mp3) while encoding video from images. I encode image to video using <a href="https://ffmpeg.org/doxygen/trunk/muxing_8c-source.html" rel="nofollow noreferrer">muxing.c</a>.</p>