[Libav-user] Problems with Buffers
Robert Grasböck
robert.grasboeck at gmail.com
Mon May 9 15:17:15 CEST 2011
Hi!
I tried it with an additional
avcodec_flush_buffers(pCodecCtx);
and with only avcodec_close(), same effect :(
I wonder how I can free this strange buffers.
Valgrind isn't complaining after closing the app, so that buffers are freed
correctly.
I wrote a test app which plays 10 videos with 800x600 and the needed buffer
is about 100MB, when I watch with pmap.
After closing all videos the buffer is still 100MB
Does some static buffer exists somewhere?
2011/5/9 Kirill Gavrilov <gavr.mail at gmail.com>
> I play lots of different videos, an every different video makes the
>> allocated buffer bigger.
>>
> I don't know but in my code also called
> avcodec_flush_buffers(pCodecCtx);
> time to time when needed. But I think avcodec_close() should do that too...
> -----------------------------------------------
> Kirill Gavrilov,
> Software designer.
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
>
--
Ing. Robert Grasböck
Leopoldauer Straße 12/27
1210 Wien
E-Mail: robert.grasboeck at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20110509/539e648b/attachment.html>
More information about the Libav-user
mailing list