<div class="gmail_quote">On Fri, Jan 27, 2012 at 1:40 PM, Csillag Kristof <span dir="ltr"><<a href="mailto:csillag.kristof@gmail.com">csillag.kristof@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi there,<br>
<br>
I am interested in using ffmpeg in a very non-standard way.<br>
<br>
There is an application that is currently displaying images to an X11 display.<br>
I would like to modify application, so that the pictures are not displayed via X,<br>
but fed into ffmpeg, and encoded as frames of a H264 video stream instead.<br>
<br></blockquote><br></div>You should look at the ffmpeg example files here: <a href="http://www.ffmpeg.org/doxygen/trunk/decoding__encoding_8c-source.html">http://www.ffmpeg.org/doxygen/trunk/decoding__encoding_8c-source.html</a> as well as in ffmpeg.c and ffplay.c. They show how to pass single frames to ffmpeg for encoding.<br>

<br>Matt<br>