Initial video convert function