<div dir="ltr">Hi All,<div><br><div>I am facing below error can any one please reply how can I solve this issue ?</div><div><br></div><div> more samples than frame size (avcodec_encode_audio2) samples 1024 frame_size 512</div><div> nb_samples (1024) != frame_size (512) (avcodec_encode_audio2)</div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 24, 2016 at 10:59 AM, Venkat Rao <span dir="ltr"><<a href="mailto:battula97@gmail.com" target="_blank">battula97@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div>Hi ,</div><div><br> This is Venkat, I am new bee working with this open source codec. I need help on this libav transcoding.<br> I
 need to develop audio Transcoder which takes input as a audio raw file 
and and will get information externally like parameters: what type of 
codec, bit rate, number of channels etc. and I need to convert this raw 
file to mp3 or wav format.<br><br>I am using example code 
"transcoding.c" file. which convert same codec form. I modified this 
code for taking raw file and converting to mp3, then facing issue like 
"[libmp3lame @ 0x620be0] more samples than frame size 
(avcodec_encode_audio2)".<br><br>Please help me on this, help me how can I improve my code to support raw input and convert to mp3 format. Thanks :)<span><font color="#888888"><br></font></span></div></div></div><div><br>Regards,<br>Venkatarao.<br><br></div>
</div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><br>Regards,<br>Venkatarao.<br>Mobile Number: 9739391297.<br></div>
</div>