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

Re: capturing X to video



on Wed, Nov 20, 2002, J?rg Johannes (liste_joerg@gmx.de) wrote:
> Hello Martin
> 
> >is it possible to capture all that's going on on my X server to video
> >somehow? I imagine it can't be hard thanks to X's modular
> >architecture. Does anyone have a pointer or so?
> >
> <no better ideas so far, so why not throw in this one...>
> There are various programs that can capture the X desktop (screenshot). 
> If you could use such a program in a script that makes a screenshot 
> every second (or longer or shorter), you could assemble these images to 
> a mpeg (or some other movie format, you might have followed the thread 
> about this topic the last few days).
> Note: I have not taken screenshots before, so sory I can't tell you what 
> screenshooter to use.

I'd suggest 'import' from imagemagick:

   while import -window root screenshot.$( date +'%Y-%m-%d.%H%M%S).png;
   do sleep 1; 
   done

Though that's not quite realtime capture.  I'd think a hardware device is
what you'd need for what you're describing, Martin.

Peace.

-- 
Karsten M. Self <kmself@ix.netcom.com>        http://kmself.home.netcom.com/
 What Part of "Gestalt" don't you understand?
   Moderator, Free Software Law Discussion mailing list:
     http://lists.alt.org/mailman/listinfo/fsl-discuss/

Attachment: pgpRMYAXDXwBm.pgp
Description: PGP signature


Reply to: