Re: [GtkGLExt] capturing video clips



In OpenGL, you can capture individual frames to image files using
glReadPixels, then use ffmpeg to encode the frames to an .mpg file.  I
think ffmpeg likes the input files to be JPEG, so if you have a
sequence of .png files, for instance, you can batch convert them with
ImageMagick:

mogrify -format jpg *.png

ffmpeg -i input_image%03.jpg output_movie.mpg


On Sat, Feb 23, 2008 at 1:11 PM,  <z pekar gmail com> wrote:
> Hi,
>  is there a way to capture a video clip from gkt's drawable using
>  gtkglext (or anything else)?
>  thank you in advance
>  _______________________________________________
>  gtkglext-list mailing list
>  gtkglext-list gnome org
>  http://mail.gnome.org/mailman/listinfo/gtkglext-list
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]