<div dir="ltr">Hi,<div><br></div><div>Any thoughts on this?</div><div><br></div><div>The behaviour does not have to be without transcoding as with the command line example - the key thing is to be able to add an audio track to a video.</div><div><br></div><div>If I am asking in the wrong place, let me know...</div><div><br></div><div>Mick</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 8, 2014 at 11:18 PM, Mick O'Doherty <span dir="ltr"><<a href="mailto:anmiodoherty@gmail.com" target="_blank">anmiodoherty@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I have tried searching the archive for this list (using google - if there is a better way, please let me know) and could not find an answer to my question, so I will post it here.</div><div><br></div><div>I am trying to find some examples or guidelines that help show how to add an audio track to a video programatically using ffmpeg API's (i.e. the C API's not the command line).</div><div><br></div><div>I did this a few years ago using the command line approach wrapped in a script - the command, which worked fine, was:</div><div><br></div><div><div>fmpeg -y -i OriginalvideoFile.mp4 -vcodec copy -i Mp3AudioFile.mp3 -acodec copy resultVideoFile.mp4</div></div><div><br></div><div>I'd like to achieve the same thing but this time use the appropriate API calls from a C program.</div><div><br></div><div>Any pointers gratefully appreciated.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Mick</div></font></span></div>
</blockquote></div><br></div>