<font class="Apple-style-span" face="'courier new', monospace">I am decoding a __.mpg file and then encoding every alternate frames to get a fast-forward effect, then writing the encoded packet using av_interleaved_write_frame((AVFormatContext *)oc,(AVPacket *)pkt). my output format is also same as input (i.e .mpg). </font><div>
<font class="Apple-style-span" face="'courier new', monospace"><br></font></div><div><font class="Apple-style-span" face="'courier new', monospace"> Sometimes while writing the video frame, this message is displayed </font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">" [mpeg @ 017D01A0] buffer underflow i=1 bufi=__ size= 768 "</font></div><div><font class="Apple-style-span" face="'courier new', monospace"><br>
</font></div><div><font class="Apple-style-span" face="'courier new', monospace">While this problem does not arises when i am doing the same with .avi files as input and output. </font></div><div><font class="Apple-style-span" face="'courier new', monospace"><br>
</font></div><div><font class="Apple-style-span" face="'courier new', monospace">Please help me through. </font></div><div><font class="Apple-style-span" face="'courier new', monospace"><br></font></div><div>
<font class="Apple-style-span" face="'courier new', monospace">Dhirendra</font></div>