LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Canno't record fullscreen games (https://www.linuxquestions.org/questions/slackware-14/cannot-record-fullscreen-games-4175458393/)

Gumboherpy 04-16-2013 09:20 PM

Canno't record fullscreen games
 
I want to record myself recording World of Padman through Desura, I use ffmpeg through the commandline to record my desktop, this is the command I use.

Code:

ffmpeg -f x11grab -s `xdpyinfo | grep 'dimensions:'|awk '{print $2}'` -r 25 -i :0.0 -sameq output.mkv
But when I launch the game it stops and I get this error.

Code:

X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  139 (MIT-SHM)
  Minor opcode of failed request:  4 (X_ShmGetImage)
  Serial number of failed request:  269
  Current serial number in output stream:  269

Any ideas as to what is going on?

Richard Cranium 04-16-2013 09:26 PM

What does the command
Code:

grep SHM /var/log/Xorg.0.log
give you?

If you don't see
Code:

Initializing built-in extension MIT-SHM
then that's part of the problem.

Gumboherpy 04-16-2013 09:29 PM

Quote:

Originally Posted by Richard Cranium (Post 4932829)
What does the command
Code:

grep SHM /var/log/Xorg.0.log
give you?

If you don't see
Code:

Initializing built-in extension MIT-SHM
then that's part of the problem.

Code:

grep SHM /var/log/Xorg.0.log
[    55.623] (II) Initializing built-in extension MIT-SHM

IT shows up.

D1ver 04-16-2013 09:57 PM

It's definitely possible. I had a script once upon a time where I could record my desktop playing SCII in wine and stream it to justin.tv.

I have lost the script but it was made after fiddling with the suggestions in these threads..
http://ubuntuforums.org/showthread.php?t=1933346
http://community.justin.tv/forums/showthread.php?t=7479
http://ubuntuforums.org/showthread.php?t=1953527

Gumboherpy 04-17-2013 10:18 AM

Found a work around. I use glc which is the fraps for linux, it records games very well.


All times are GMT -5. The time now is 06:29 AM.