Archive for July, 2012

Announce: Release of pyShotDetect

Announce: Release of pyShotDetect

I have released some Python code for auto-detecting transitions in video files.  If you have a “.dv” video file comprising a number of different scenes (or, technically, shots) these shots can be automatically detected by pyShotDetect, depending on threshold parameters that are set interactively.  Once you are happy with the detection, pyShotDetect will write a metadata file (an old style Kino file) which demarcates each shot.  This file can subsequently be edited in Kino (eg to extract each shot).

It is particularly effective on fade to/through black transitions and cuts.

Load a file:

The high ridges show shot changes which have been auto detected (sensitivity can be changed by adjusting a threshold).  The spike in the middle shows a fade through black transition.  Right click and chose fade to black here automatically detects the start and finish of the transition:

The transition itself is  not exported (red triangle), but this can be changed if you want to keep a record of the transitions themselves.  You don’t have to do each individually, there is an option to have pyShotDetect just find all fade to black transitions for you automatically.

The code is written in Python, and has openCV, Tkinter and matplotlib as dependencies. Licensed under GPLv3

Pick it up at Sourceforge.

Originally posted at

Flash Marketing -1

This is the second time this week someone has told me that I should install Flash so that I can view their website.  Why on earth would you deliberately design a website that can’t be viewed (at all) without a third party plug in?

I quote:

Welcome to the Strathfield Plaza

Blog Stats

  • 273,967 hits

OSWALD Newsletter

If you would like to receive OSWALD, a weekly open source news digest please send an email to oswald (with the subject "subscribe") at