FreeBSD desktop recording - Printable Version +- nixers (https://nixers.net) +-- Forum: Development & Graphics (https://nixers.net/Forum-Development-Graphics) +--- Forum: Programming On Unix (https://nixers.net/Forum-Programming-On-Unix) +--- Thread: FreeBSD desktop recording (/Thread-FreeBSD-desktop-recording) |
FreeBSD desktop recording - zygotb - 13-02-2013 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 RE: FreeBSD desktop recording - jobss - 31-08-2013 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. |