FreeBSD desktop recording - Programming On Unix

Users browsing this thread: 1 Guest(s)
zygotb
Long time nixers
I have often wanted to record my desktop session, but not rely on the "RecordMyDesktop" type applications to do so:
I had a similar script which worked in Xubuntu and Fedora, but those same scripts don't work in FBSD.

So, I found te following in the FreeBSD Forums which works for capturing my desktop sessions in .avi format.

Code:
ffmpeg -f oss -i /dev/dsp0.0 -f x11grab -r 24 -s `xrandr --prop 2> /dev/null | awk '/\*/ {print $1}'` -i :0.0 output.avi

You'll need to have ffmpeg installed, along with xrandr.
There's probably a better way to do this, but a stand-alone camera kinds of makes a PC obsolete?
LOL

(Don't mind me... I'm drunk!)
Not very exciting, but I was able to record my desktop, much in the way I used to in Fedora.
http://youtu.be/ORN5pJ8DxnQ
Someone doesn't appreciate my php generated image!
jobss
Long time nixers
I must eventually put that to use. Maybe I'll change the 24 frames to 60 and record some game footage. And I must say that the script does not seem to cause lag, as you see in other unix posts on Youtube.
The world is quaking from our Linux Thoughts!