Page 1 of 1

Recording gameplay on Linux

PostPosted: Sun Jul 28, 2013 10:49 pm
by Diego Cerdán
If your system is running on Linux you can easily record the gameplay using this command:

ffmpeg -f x11grab -r 25 -s 840x480 -i :0.0+420,265 -vcodec libx264 -preset ultrafast ANGRY_BIRDS_GAMEPLAY.mkv

Just change the origin coordinates (420,265) to match you screen resolution.

:D

Re: Recording gameplay on Linux

PostPosted: Sun Jul 28, 2013 11:15 pm
by Jochen
Thanks :)

Show us your best shots Diego!

Re: Recording gameplay on Linux

PostPosted: Sun Jul 28, 2013 11:22 pm
by Jochen
By the way, our server runs under Windows and we are recording shots by taking sequences of screenshots directly from Chrome. Then we don't even have to have the windows open or at a certain screen location.

But I guess your method is faster and interferes less with Chrome. Do you know something like this for windows?

Re: Recording gameplay on Linux

PostPosted: Sun Jul 28, 2013 11:48 pm
by Diego Cerdán
I used this guide [ http://bit.ly/ffmpeg_record_desktop ] to elaborate the command.

There is some instructions to record a Windows desktop but you can not select the exact screen area to record.


I can't test it but my best guess would be:

ffmpeg -f dshow -i video="UScreenCapture" -r 25 -vcodec libx264 -preset ultrafast ANGRY_BIRDS_GAMEPLAY.mkv