<div dir="ltr"><div>Hello,</div><div>I am implementing a program using the libav API and this is one of my requirements:</div><div>I need to merge two input streams, one from an mp4 file (video only) and the other from an mp3 file (audio only). The output of this procedure is an mp4 file with the video and the audio from the input files. <br></div><div>My plan Is to create an output file, and then add two streams to it, then start reading the streams from the input files and copying the frames into the output streams. <br></div><div><br></div><div>I wonder if there is any source code example with a similar implementation or any kind of reference I could use? Thanks. <br></div><div><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>--<br>  Gustav Gonzalez<br>  <a href="mailto:xtingray@gmail.com" target="_blank">xtingray@gmail.com</a><br><br></div></div></div></div></div>