xvideo_capture
A simple tool for building movies, videos or animations from continuous
screen captures in X11.
This project is in its beginnings, but I believe it should be very simple
to implement. This webpage describes my ideas. Feel free to assist or
send your comments or ideas.
I plan on just making it as a command line tool. (But maybe a GUI interface
(I know that's redundant) will come later.)
Options
- display (X display to grab from)
- root (whole screen)
- id (select a window by its resource id)
- name (select a window by its WM_NAME property)
- no borders
- colormap (use screen's first colormap or window's colormap)
- rate of screen captures (such as 29 per second)
Image capture
Maybe directly using X programming library such as Xlib's XGetImage().
Is this a good idea? Does anyone have any
ideas or good X11 references for doing screen captures?
(Any examples?)
Or maybe continuously use an outside utility to grab screenshots.
Some utilities I am (or will be testing) include:
xwd, import (image magick), xv, ksnapshot, xwpick and gimp.
I think it would be better to just write the screen capture code
and then integrate a video encoder (that way it doesn't
have to do extra image conversion/processing steps).
Video encoding
I am currently testing the Berkeley mpeg_encoder. But I may consider
another encoder (or format such as AVI).
Does anyone know where I can find
some documentation and examples beyond included with the mpeg_encoder
source?
Should I look into a AVI encoder or another encoder? And if so, where can
I find AVI encoders or other encoders?
Last updated:
Sat Sep 9 03:13:53 PDT 2000