<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi ByteLee,<br><br>i've read ffmpeg-0.10\doc\examples\decoding_encoding.c. Its having audio_encode_example() using avcodec_encode_audio() (which is deprecated). <br><br>Can someone provide audio_encode_example() using new API of avcodec_encode_audio2()?<br><br>Regards,<br>abhishek<br><br>--- On <b>Wed, 29/2/12, ByteLee <i><bytegm@gmail.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: ByteLee <bytegm@gmail.com><br>Subject: Re: [FFmpeg-devel] [Libav-user] audio_encode_example<br>To: "This list is about using libavcodec, libavformat, libavutil, libavdevice and libavfilter." <libav-user@ffmpeg.org><br>Cc: ffmpeg-devel@ffmpeg.org<br>Date: Wednesday, 29 February, 2012, 1:42 PM<br><br><div class="plainMail">Do you read the source code of ffmpeg, I remember
that there is some code about avcodec_encode_audio2()<br><br>-- <br>ByteLee<br><br><br>On Wednesday, February 29, 2012 at 4:10 PM, Abhishek Ballaney wrote:<br><br>> Hi all,<br>> <br>> Can someone provide me audio_encode_example() with new API of avcodec_encode_audio2()?<br>> <br>> Regards,<br>> abhishek<br>> _______________________________________________<br>> Libav-user mailing list<br>> <a ymailto="mailto:Libav-user@ffmpeg.org" href="/mc/compose?to=Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a> (mailto:<a ymailto="mailto:Libav-user@ffmpeg.org" href="/mc/compose?to=Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a>)<br>> <a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br><br>_______________________________________________<br>ffmpeg-devel mailing list<br><a ymailto="mailto:ffmpeg-devel@ffmpeg.org"
href="/mc/compose?to=ffmpeg-devel@ffmpeg.org">ffmpeg-devel@ffmpeg.org</a><br><a href="http://ffmpeg.org/mailman/listinfo/ffmpeg-devel" target="_blank">http://ffmpeg.org/mailman/listinfo/ffmpeg-devel</a><br></div></blockquote></td></tr></table>