[Libav-user] Mix audio with video sample API calls
george at nsup.org
Tue Jul 12 15:16:21 CEST 2016
Le quintidi 25 messidor, an CCXXIV, Josef Vosyka a écrit :
> I'm successfully using libavcodec.a in my project for video encoding.
> Now I need to add audio track to existing video.
> It works great from command line using this:
> ffmpeg -i raw_sequence.mp4 -i voices_1.cif -c copy -map 0:v:0
> -map 1:a:0 -shortest out.mp4
> I can not find how to achieve this same thing by making API calls.
The API calls allow to read inputs and write outputs. Anything in between is
the responsibility of your application.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: Digital signature
More information about the Libav-user