[FFmpeg-devel] How to write frames in a memory buffer, instead of a file?

RG Nur Rahmat rgnurrahmat
Thu Jan 17 15:15:46 CET 2008


Hi Cristiano,

How did you implement that?

On 16/01/2008, Cristiano Belloni <belloni at imavis.com> wrote:
>
> Hi to all,
>
> I'm using ffmpeg to encode H263 and MPEG4 videos.
>
> I take frames from a shared memory buffer, and encode them in a file,
> opening it with the url_fopen() function, and writing on it with
> av_write_frame() after the avcodec_encode_video() call.
>
> As I' m streaming rtp packets with live555, I'd like to know if it's
> possible to store in a memory buffer the frame I would write on the file
> with the av_write_frame() function I use now.
>
> And if it's possible, how do you do it? (which functions of the API do
> you use, and how?)
>
> Thanks to you all,
>
> Regards,
>
> Cristiano.
>
> --
> Belloni Cristiano
> Imavis Srl.
> www.imavis.com <http://www.imavis.com>
> belloni at imavis.com <mailto://belloni at imavis.com>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
>




More information about the ffmpeg-devel mailing list