[SDL] Frame Write Via SDL

Gabriele Greco gabriele.greco at darts.it
Tue Mar 19 05:01:30 PDT 2013

> I have a piece of code which displays the YUV frames
> via SDL_DisplayYUVOverlay function. Is there any other SDL function so that
> I can write the content of the displayed video into the file on disk or
> should I do it by pure C code?
Since you talk about DisplayYUVOverlay I suppose you are talking about SDL

You can use SDL_WriteBMP(), at least if you disable YUV HW ACCEL,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20130319/a78c62aa/attachment-0009.htm>

More information about the SDL mailing list