* Read video duration and spread the snapshots throughout the video accordingly.
* Split out matching code into a separate method.