screencast.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Fri, 13 Jul 2012 22:32:19 +0300
changeset 1334 9bf0d5a1f0cf
parent 916 f96040b5d018
child 1356 6760780a620b
permissions -rw-r--r--
Include common header with quick links.

.. -*- coding: utf-8; -*-
.. include:: HEADER.rst

============
 Screncast.
============
.. contents::

VLC.
====
::

  $ cvlc screen:// --screen-mouse-image cursor.png --screen-fps=12 \
    --screen-width=1680 --screen-height=1050 --no-sout-audio --sout \
    "#transcode{venc=theora,quality:10,scale=0.75,fps=12}:duplicate{dst=std{access=file,mux=ogg,dst=desktop.ogg}}}"

  $ cvlc screen:// --screen-fps=12 --screen-mouse-image=e:/home/.icon/cursor.png --no-sout-audio --sout \
    "#transcode{venc=x264,quality:100,scale=1,fps=12}:duplicate{dst=std{access=file,mux=mp4,dst=desktop.ogg}}}"

Available options:

  screen-caching <integer>
                Time in milliseconds.
  screen-fps <integer>
                Capture frames per second (0 default).
  screen-top <integer>
                The top edge coordinate of the subscreen.
  screen-left <integer>
                The left edge coordinate of the subscreen.
  screen-width <integer>
                The width of the subscreen.
  screen-height <integer>
                The height of the subscreen.
  screen-mouse-image <filename>
                Mouse pointer image to use.

Wink.
=====

Using Wink you can capture screenshots, add explanations boxes, buttons,
titles etc and generate a highly effective tutorial for your users.

  http://www.debugmode.com/wink/
                home page

vnc2flv.
========

In order to rrecord require VNC server running on host.

  http://www.unixuser.org/~euske/python/vnc2flv/index.html
                home page

ffmpeg.
=======
::

  $ ffmpeg -f x11grab -s cif -i :0.0 capture.mpg

Recordmydesktop.
================

Screenshort movies.
===================

ImageMagic and shell script.
----------------------------
::

  #!/bin/bash
  let iter=1
  while [ "$iter" -le "$stop" ]; do
    import $iter.png
    sleep 1
    let x+=1
  done

If you interesting in capturing specific window - by 'xwininfo' find,
intereesting your window id (hex value) and use command::

  import -window $windowid $iter.png

To quick view result run::

  $ cd $img_dir
  $ animate -delay 20 *.png
  ^C

To compound image together::

  $ convert -delay 20 *.png capture.mng  # license free, multi-image file format
  $ convert -delay 20 *.png capture.gif

You can add text to pictures before compound theirs::

  $ mogrify -fill yellow -draw 'Rectangle 10,10 150,30' -fill black -pointsize 14 \
     -draw 'text 15,25 "by http://example.com"' $iter.png

If screen capturing slow for you use MIFF file format.

Use root flag to capture all screen::

  $ import -window root $iter.png

  http://linuxdevcenter.com/pub/a/linux/2004/03/04/screen_capture_movies.html
                Making Screen-Capture Movies by Robert Bernier