I create a local video file (.mp4) by adding a logo to an existing video with the following code:
logo_path = os.path.join(MEDIA_ROOT, \'logo.png\')