Recording the screen (terminal) on Ubuntu 14.04 server

Kevin Wilson wkevils at gmail.com
Fri Oct 28 06:24:02 UTC 2016


Hi,
Is there a way to Record the screen (in fact, it is console) to video
clip on Ububtu 14.04 server ?

This is a server, I don't have Xwindows on it. And I want to record
the commands + responses I see on screen into
video, for a demo. I tried with building ffmpeg from sources, and when I run
ffmpeg -video_size 1024x768 -framerate 25 -f x11grab -i :0.0+100,200
-f alsa -ac 2 -i hw:0 output.mkv
I get:
ffmpeg version 3.2 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.9.2 (Ubuntu 4.9.2-10ubuntu13)
  configuration: --disable-yasm
  libavutil      55. 34.100 / 55. 34.100
  libavcodec     57. 64.100 / 57. 64.100
  libavformat    57. 56.100 / 57. 56.100
  libavdevice    57.  1.100 / 57.  1.100
  libavfilter     6. 65.100 /  6. 65.100
  libswscale      4.  2.100 /  4.  2.100
  libswresample   2.  3.100 /  2.  3.100
Unknown input format: 'x11grab'


I had built ffmpeg thus:
./configure  --enable-x11grab --enable-gpl  --disable-yasm
And I am following this website (though it talks about desktop, not a server):
https://trac.ffmpeg.org/wiki/Capture/Desktop

So my questions are:

1) Is there a different tool for that on Ubuntu 14.04 ?
2) Is there a solution to this Unknown input format: 'x11grab'  ?

Regards,
Kevin




More information about the ubuntu-users mailing list