chmod a+x make_caps.sh.make_caps.sh --help to get a short description of the program:
Usage: make_caps.sh [OPTIONS] <filename of the movie>
-o, --offset <start in seconds> Start capturing here (default: 0).
-e, --end <end in seconds> End capturing here (default: length of the movie). Specifying a negative ends capturing an movielength-value.
-i, --interval <time between screencaps> Interval between screencaps (default: 30).
-n, --number <number of screencaps> Specify how many screencaps should be taken. This overwrites -i.
-s, --scale <scale factor> Scale the screencaps by this factor (default: no scaling).
-c, --crop <crop-spec> Crop the images using Imagemagick. See Imagemagick (1) details.
-a, --autocrop Trim the picture's edges via an simple heuristic.
-p, --prefix <prefix> Prefix of the screencaps (default: ).
-x, --no-timestamps Don't write timestamps into the screencaps.
-f, --fontsize <fontsite in pixels> Default is 24.
-l, --columns <number of columns> Number of columns the final picture sheets should have (default: 4).
--pause Wait before composing the final picture. You may modify or delete some of the
screencaps before they are composed into the final image.
--dont-delete-caps Do not delete the screen captures afterwards.
-h, --help Print this message and exit.
-V, --version Print the version and exit.
make_caps.sh determines which frames are to be captured. For every frame, it
make_caps.sh --interval 20 movie.aviMake 24 screendumps from the first five minutes of the movie without creating timestamps. Shrink the screendumps to 50% of the original size:
make_caps.sh --number 24 --end 300 --scale 0.5 --no-timestamps movie.aviLet's assume our movie looks like this (x = 30 pixels, y = 20 pixels, width = 160 pixels and height = 120 pixels):

To crop the image accordingly, do this:
make_caps.sh --crop 160x120+30+20 movie.aviConsult this site for further information.
make_caps.sh -o 20 -e -42 -s 0.35 -f 16 -l 4 -n 24 mgs4_trailer.avi:
mplayer -xy FACTOR movie.avi to get a preview.-e now accepts negative values.--pause and --dont-delete-caps.--number.