support GRAMI graph type
tweaked usage
added video frame sample period option. i.e. take every nth frame