Linkin' Linux
Posted: Fri Dec 16, 2011 9:54 pm
Well, For those who know, I'm making Defender, a descent clone. As part of managing this project I have to release videos every now and then on youtube to let people know I'm alive.
My first (and so far only) video was OK, but suffered from a low frame-rate due to my computer not having enough power to run teh game AND record the screen (even only part of if).
So what I tried today was getting my even worse computer (a laptop), hooking it up via ethernet and then "ssh"ing the main computer. Then I used the bad computer to do the recording, while the main computer played the game, in theory.....
What actually happened was that ran about the same (1 or 2 fps faster actually), but it still used a lot of the main computers processor just to record. The command I used to record was:
And because I ran that command from the sshed terminal it was still doing all the processing on the main computer.
Can anyone think of a better way of linking the two computers to further distribute the load, or just reduce the power necessary to record (currently sitting at a good 40% total CPU)?
My first (and so far only) video was OK, but suffered from a low frame-rate due to my computer not having enough power to run teh game AND record the screen (even only part of if).
So what I tried today was getting my even worse computer (a laptop), hooking it up via ethernet and then "ssh"ing the main computer. Then I used the bad computer to do the recording, while the main computer played the game, in theory.....
What actually happened was that ran about the same (1 or 2 fps faster actually), but it still used a lot of the main computers processor just to record. The command I used to record was:
Code: Select all
ffmpeg -f X11grab -vc avi -s vga -r 25 -sameq -i :0.0 ~/screenCapture.avi
Can anyone think of a better way of linking the two computers to further distribute the load, or just reduce the power necessary to record (currently sitting at a good 40% total CPU)?