[Libav-user] Buffer underflow while writing frame using av_interleaved_write_frame(...)

Dhiru Singh dhiruregister at gmail.com
Tue Jun 21 15:43:57 CEST 2011

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).

 Sometimes while writing the video frame, this message is displayed
" [mpeg @ 017D01A0] buffer underflow i=1 bufi=__ size= 768 "

While this problem does not arises when i am doing the same with .avi files
as input and output.

Please help me through.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20110621/e90a28bf/attachment.html>

More information about the Libav-user mailing list