How to lightweight and contour video