[Libav-user] Encoding Frames to stream
ffmpeg at eml.cc
Fri Jan 20 05:18:00 EET 2017
This might be useful:
On Thu, 19 Jan 2017, at 12:20 AM, Norman Wiersch wrote:
> 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
> Kind regards,
> Libav-user mailing list
> Libav-user at ffmpeg.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user