Page 1 of 1

Streaming Xvfb screendump

Posted: 2012-10-22T04:34:20-07:00
by poul
I am running Xvfb(1X) on a RedHat system, and I need to be able to present the screen.
I remember a cool tool from the old days xwatchwin(1X) which allowed you to spy on an X-display.
animate can almost do this, although it gives me a lot of flickering...

Xvfb(1X) can use a file as framebuffer:

Code: Select all

Xvfb -fbdir /tmp/fbdir
The screen is now available in /tmp/fbdir/Xvfb_screen0 - X window dump image data (same as xwd(1X)/xuwd(1X) uses)
I really would like to convert this file to an (ongoing) mpeg stream (watchable in a browser), but I can't find the correct tool to achieve this...

anyone got an idea?

thanks

poul

Re: Streaming Xvfb screendump

Posted: 2012-12-04T17:33:40-07:00
by anthony
"import" command, or the x: input coder.

See IM examples, Image File Handling, X (input handling)
http://www.imagemagick.org/Usage/files/#x

You can specify the display to use using the DISPLAY environment variable.