Added video support to trackMotion.py