move video code to src/base/video