More tests.
Refactor subprocess calls for videos.