camera: improve video recording