video capture mock with thread