Video Contact Sheet *NIX

vcs for short.

Updates are posted at my main site, see http://outlyer.net/etiq/projects/vcs/.

This is a bash script meant to create video contact sheets (previews) of videos. Any video supported by mplayer and ffmpeg can be used. A note of warning: Unlike most similar tools it, by default, makes screenshots the same size as the video, see below for details on how to change this.

Take a look at the documentation and/or use the –help and –fullhelp options to learn how to use it.

Notes

  • Using -i or -n with values that lead to the same number of vidcaps doesn't necessarily yield exactly the same vidcaps, you'll have to play with them for best results.
    • Example: With a video that lasts for 22min 14secs, -n 6 will create the six vidcaps:
      3:22, 6:44, 10:04, 13:28, 16:50 and 20:12, while -i 3m will create 3:00, 6:00, 9:00, 12:00, 15:00 and 18:00.
      As you can see, -n distributes the vidcaps all over the video while -i N starts at N and goes in increments of it up to the end.
  • You can set the aspect ratio of the video with -a. It is only required for anamorphic material and discouraged for the rest.
    It can take either a floating point number (like 1.33 or 1.778) or a fraction (like 4/3 or 16/9). The latter is slightly preferable.

By using configuration files and/or command line options the default behaviour can be tweaked to your needs, this are the defaults, followed by a link with the explanation on how to change it:

  • Captures are made every 5 minutes. See Usage.
  • Captures are the same size as the input video. See Size and aspect ratio.
  • Captures are arranged in 2 columns (if there's more than one capture). See Number of columns.

Samples with varied options:
5x4 grid Black contact sheet 5x4 grid, no padding Complete contact sheet Command: vcs -E0 -S 2 -S 4m38 -i 1m 169_heavyrain_om_ps3_051906_hd.avi Command: $ vcs -n6 -H 540  mariposaHD.S01E05.1080p.en.wmv Filmstrip-mode sample White contact sheet

More samples can be found in the documentation pages, e.g. in: Samples, Example configuration, Setting Contact Sheet Colours.

  • Getting stuck on first frame
    • This happening is a sign that the decoder (FFmpeg or MPlayer) has problems dealing with the input file. Interrupt with CTRL+C and re-run with -O stderr=/dev/stderr to display decoder errors. It might be due to unsupported codecs or broken files, there's little more you can do, except trying with the other decoder (-M to use MPlayer, -F to use FFmpeg, which is the default).
  • Getting gray frames
    • This is a decoder error (either due to a broken file or some codec bug). Again little to be done other than switching decoders.

Remember this is a (neverending) work in progress, please report any bugs you encounter, either through e-mail or the bug tracker.

See roadmap.

VCS Ruby rewrite by Thomas: Reuses part of VCS' code to produce the same style of contact sheets.

Other similar tools available for POSIX/UNIX-like systems:

These are the changes of some interest to end users, since the last full version.
Additionally a selection of changes for all versions and the full changelog (gzipped version) are available. (Contributors are listed there too.)

1.13.2 (Published May 18th 2014)

  • Fix for sheets with MPlayer as capturer containing one extra capture

Announcement post

1.13.1 (Published February 26th 2014)

  • Minor bugfixes

Announcement post

1.13 (Published March 8th 2013)

  • Blank frame avoidance
  • Automatic profile loading from configuration
  • New 'compact' profile
  • Bugfix: FreeBSD support restored
  • Other fixes

Announcement post


© 2007, 2008, 2009, 2010, 2011, 2013, 2014 Toni Corvera <outlyer at gmail.com>

All dates/times in this page are UTC.