How to create a suitable video file