[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Capture (for video) what is displayed on the screen



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Camaleón <noelamac@gmail.com> writes:

> On Sun, 09 May 2010 17:53:05 +0200, Merciadri Luca wrote:
>
>> How can I capture (for a video) what is displayed on my screen during a
>> given amount of time? I do not want screenshots, but a video.
>> 
>> I am using GNOME w. k. 2.6.26-2-686-bigmem.
>
> Ffmpeg (command line tool) can achieve that:
>
> http://ffmpeg.org/ffmpeg-doc.html#SEC4
>
> With "-t" you specify the time interval for screen grabbing.
Nice, but

==
~$ ffmpeg -f x11grab -s cif -i :0.0 /tmp/out.mpg
FFmpeg version r11872+debian_0.svn20080206-18+lenny1, Copyright (c) 2000-2008 Fabrice Bellard, et al.
  configuration: --enable-gpl --enable-libfaad --enable-pp --enable-swscaler --enable-x11grab --prefix=/usr --enable-libgsm --enable-libtheora --enable-libvorbis --enable-pthreads --disable-strip --enable-libdc1394 --disable-armv5te --disable-armv6 --disable-altivec --disable-vis --enable-shared --disable-static
  libavutil version: 49.6.0
  libavcodec version: 51.50.0
  libavformat version: 52.7.0
  libavdevice version: 52.0.0
  built on Jan 28 2010 20:57:25, gcc: 4.3.2
[x11grab @ 0xb7f7fec8]device: :0.0 -> display: :0.0 x: 0 y: 0 width: 352 height: 288
[x11grab @ 0xb7f7fec8]AVParameters don't have video size and/or rate. Use -s and -r.
:0.0: I/O error occured
Usually that means that input file is truncated and/or corrupted.
==

==
$ ffmpeg -f x11grab -s cif -i :0.0+10,20 /tmp/out.mpg
FFmpeg version r11872+debian_0.svn20080206-18+lenny1, Copyright (c) 2000-2008 Fabrice Bellard, et al.
  configuration: --enable-gpl --enable-libfaad --enable-pp --enable-swscaler --enable-x11grab --prefix=/usr --enable-libgsm --enable-libtheora --enable-libvorbis --enable-pthreads --disable-strip --enable-libdc1394 --disable-armv5te --disable-armv6 --disable-altivec --disable-vis --enable-shared --disable-static
  libavutil version: 49.6.0
  libavcodec version: 51.50.0
  libavformat version: 52.7.0
  libavdevice version: 52.0.0
  built on Jan 28 2010 20:57:25, gcc: 4.3.2
[x11grab @ 0xb7eb7ec8]device: :0.0+10,20 -> display: :0.0 x: 10 y: 20 width: 352 height: 288
[x11grab @ 0xb7eb7ec8]AVParameters don't have video size and/or rate. Use -s and -r.
:0.0+10,20: I/O error occured
Usually that means that input file is truncated and/or corrupted.
==

> There also some nice GUI apps ("Istambul" or "gtk-recordmydesktop") that 
> can also help you with this task.
Istanbul looks nice, but I am obliged to choose `Record 3D' to
actually record something acceptable: if this option is unticked, the
video images' alternate between (black&white) and (color). Note the
`n' at the place of your `m'. Weird, once again!

- -- 
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
- -- 

The eyes are the window of the soul.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iEYEARECAAYFAkvm5tsACgkQM0LLzLt8MhyS1wCdE15maOMCQLMXTmZoZrD0Igws
1H0AnA6XUcqTWBgyJd1Swm7JNLzh5GQl
=H/Ik
-----END PGP SIGNATURE-----


Reply to: