use the transcode_aac.c example for audio. You need to FIFO buffer samples most of the times. With little modification you can adapt that example to read from mic instead of file.
Marcelo 2017-03-21 10:46 GMT+01:00 Prakash Rokade <[email protected]>: > I have gone through the examples and using that i am able write video > frames to h264,wmv and avi. > But i having a problem to a audio frames to aac,wmav and mp3. > > Is there any example that will encoding the live sources. > > On 21 March 2017 at 13:11, Carl Eugen Hoyos <[email protected]> wrote: > >> 2017-03-21 8:17 GMT+01:00 Prakash Rokade <[email protected]>: >> >> > I am new at Ffmpeg, >> >> Did you look at the examples in doc/examples? >> >> > I am trying to develop screen recording application using Ffmpeg in C++. >> >> I fear all examples are C, not C++. >> >> Carl Eugen >> _______________________________________________ >> Libav-user mailing list >> [email protected] >> http://ffmpeg.org/mailman/listinfo/libav-user >> > > > _______________________________________________ > Libav-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/libav-user > >
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
