Recording gameplay on Linux

Please post and discuss here any good ideas you want to share with others

Recording gameplay on Linux

Postby Diego Cerdán » Sun Jul 28, 2013 10:49 pm

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
User avatar
Diego Cerdán
 
Posts: 19
Joined: Sat May 04, 2013 2:57 am
Location: Freiburg, Germany

Re: Recording gameplay on Linux

Postby Jochen » Sun Jul 28, 2013 11:15 pm

Thanks :)

Show us your best shots Diego!
User avatar
Jochen
 
Posts: 86
Joined: Tue Mar 19, 2013 10:36 pm
Location: Canberra, Australia

Re: Recording gameplay on Linux

Postby Jochen » Sun Jul 28, 2013 11:22 pm

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?
User avatar
Jochen
 
Posts: 86
Joined: Tue Mar 19, 2013 10:36 pm
Location: Canberra, Australia

Re: Recording gameplay on Linux

Postby Diego Cerdán » Sun Jul 28, 2013 11:48 pm

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
User avatar
Diego Cerdán
 
Posts: 19
Joined: Sat May 04, 2013 2:57 am
Location: Freiburg, Germany


Return to Tips & Tricks

Who is online

Users browsing this forum: No registered users and 1 guest

cron