[Libav-user] Multiple avio_open_dyn_buf() / avio_close_dyn_buf() paired issue
info at denisgottardello.it
Wed Sep 28 22:06:23 CEST 2011
In data martedì 27 settembre 2011 22:54:15, env01 ha scritto:
> I have a system requirement for building an ffmpeg wrapper library that
> takes both audio and images as inputs and output an mp4 video buffer as
> output. The inputs are of unknown length since they are being captured in
> real time and could be going for hours. I have included below test code
> fragment that is working since I am able to play the output as an mp4
> However, it is not a practical solution since it would require a huge
> amount of memory especially when there are multiple users with hour’s long
> recordings. So I tried reducing the amount of dynamic memory being used
> by doing multiple avio_open_dyn_buf() / avio_close_dyn_bufz() paired.
> That appears to corrupt my output as I am no longer able to play the
> output as an mp4 file. Any suggestions?
Did you have found the solution?
Videosurveillance and home automation!
More information about the Libav-user