I had similar issue sometime back. I matched the number of sample to that of codec context. I have used buffering scheme and which still working for me, so I didn't explore any other option. I used intermediate buffer to keep the remaining samples and pass them to encoder when number of sample equals that of codec context.
Thanks Pradeep -- View this message in context: http://libav-users.943685.n4.nabble.com/Libav-user-of-audio-samples-calculated-vs-codec-context-tp4657632p4657677.html Sent from the libav-users mailing list archive at Nabble.com. _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
