Small video writing changes