This might be useful: https://ffmpeg.org/pipermail/ffmpeg-devel/2014-November/165014.html
On Thu, 19 Jan 2017, at 12:20 AM, Norman Wiersch wrote: > Hello, > > I'm trying to extend the AForge.NET Library (AForge.Video.FFMPEG) with > a method which takes frames as input, > puts them togehter to a video stream and writes the video data into a > MemoryStream. There is a class > (VideoFileWriter) wich almost does the same, the only difference is, > that the data is written to a file. > This is done by calling avio_open, writing frames via > av_interleaved_write_frame and closing everything when finished. > > The Question now is: is there something similiar like avio_open, which > writes encoded data into a buffer > instead of a file? I tried it by using avio_open_dyn_buf and closing > via avio_close_dyn_buf right after writing > a frame and reopining, but this does not work (as already described in > https://trac.ffmpeg.org/ticket/520). > > > Kind regards, > Norman > _________________________________________________ > Libav-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/libav-user
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
