init video capturing