test script for video capturing