optimize video test