Home:ALL Converter>How to merge audio to video through FFMpeg C API

How to merge audio to video through FFMpeg C API

Ask Time:2016-11-18T21:08:56         Author:Muthu GM

Json Formatter

How to merge audio with video through FFMpeg C library.

I have tried muxing.c In this example, audio is created every video frame. But I wanna merge with one full mp3 or wav some other audio format.

And how to encode the audio file (.mp3) while encoding video from images. I encode image to video using muxing.c.

Author:Muthu GM,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/40677951/how-to-merge-audio-to-video-through-ffmpeg-c-api
yy