[Libav-user] Encoding Frames to stream

Victor dMdB ffmpeg at eml.cc
Fri Jan 20 05:18:00 EET 2017


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

> Libav-user at ffmpeg.org

> http://ffmpeg.org/mailman/listinfo/libav-user


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20170120/19866663/attachment.html>


More information about the Libav-user mailing list