[Libav-user] How to keep AVFrame data after codec close
Eric Beuque
eric.beuque at gmail.com
Thu Dec 5 14:02:52 CET 2013
On Thu, Dec 5, 2013 at 1:45 PM, Hendrik Leppkes <h.leppkes at gmail.com> wrote:
> On Thu, Dec 5, 2013 at 1:33 PM, Eric Beuque <eric.beuque at gmail.com> wrote:
> >
> > Thank you for your answer, i saw that av_frame_ref/av_frame_unref is
> > avaliable in FFMpeg 2.0, but i'm using 1.1.2, and I don't find any way to
> > use reference couting in this version. Is this feature available in 1.1.x
> > throught some others functions?
> >
> >
>
> No, reference counting is a new feature in 2.0
> You could implement it yourself by providing a custom get_buffer
> implementation, but it requires a lot of plumbing code. Consider
> upgrading to 2.0? :)
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
Cannot upgrade to 2.0 API until it is included in linux distribution
repositories by default like Debian stable. If no other solution, I will
deal with buffer copy.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20131205/a1af8774/attachment.html>
More information about the Libav-user
mailing list