process of sync the videos and photos