optimize video workflow