ffmpeg records black when recording a 3d game.
I'm using Sabayon Linux and trying to screencast me playing a video game (postal2). I am using ffmpeg and x11grab, however whenever I open the game, the only thing x11grab gets is a black screen. Anyone have any ideas how to fix this? The following is the command I used. (huffYUV doesn't seem to do anything to help me).
ffmpeg -f x11grab -i :0.0 -r 25 -vcodec huffyuv -sameq -threads 2 screne.avi
I also tried:
ffmpeg -f x11grab -i :0.0 -vcodec huffyuv -sameq -threads 2 screne.avi
My desktop uses XFree86. I record the audio using a separate ffmpeg command and using alsa.
This also fails using gtk-recordmydesktop (which has never worked for me).
Any ideas how to fix this?
Last edited by kev717; 09-16-2011 at 07:23 PM.
Reason: add info