prepare video db