You can record the screen activity by using the application
recordmydesktop which is available on most GNU/Linux distributions:

Read the section feed_icecast2_using_command_line above, basically
you’ll replace the file-source there with:

[Terminal] > recordmydesktop -width 320 -height 240 --on-the-fly-
encoding | ...

A more robust solution would make use of named-pipes:

# create a "named-pipe"
cd /tmp
mkfifo test.ogv

# send everything from the named-pipe to the Collider
cat /tmp/test.ogv | oggfwd localhost 8000 hackme /myDesktop.ogg &
# feed the pipe "test.ogv" (recordmydesktop automatically adds ".ogv")
recordmydesktop --overwrite --fps 15 --no-sound --on-the-fly-encoding -
o test

-- 
l...@iitd - http://tinyurl.com/ycueutm

Reply via email to