Screencap for linux

Random firing

Random firing

Ascalonian Squire

Join Date: Aug 2011

D/A

Hi, I'm looking for a decent screen capture program for linux, specifically debian.
  • xvidcap can't even maintain 15fps, but it writes in the metadata that the video is at 24fps and then when you playback it goes too fast. It also can't record audio.
  • vlc just shows a default green picture when viewing screen:// and there doesn't seem to be anyone else with this problem.
  • recordmydesktop won't record sound (But I've heard that it can be made to do so) and it cuts off the video (A known bug that no-one seems willing to fix)
  • ffmpeg produces a corrupted file, and I don't want to just switch versions as I'm sure there are some programs here dependent on it.

This is aggrivated by the fact I'm on debian to get better audio in games.

Unfortunately, debian desktop packages suck - I had to use an ubuntu gtk-recordmydesktop package just to test it because for years now debian's version's "Advanced options" button does squat.

Does anyone know any "hidden gems" of the linux screencap world?

I got video working, apparently ffmpeg doesn't like huffyuv...
Code:
ffmpeg -f alsa -ac 2 -i hw:0,0 -f x11grab -r 25 -s hd1080 -i :0.0 -vcodec libx264 -vpre lossless_ultrafast -threads 0 -sameq out.avi
Audio is still down, looks like a missing mp3 codec, I'll get back to you...

Edit for all who want this: The above should work fine, it doesn't on mine because debian doesn't come packaged with snd-aloop kernel module, other distros probably have it. The above line should work.

For pulseaudio users just replace "alsa -ac 2 -i hw:0,0" with "pulse -ac 2"