Layered representation of a video shot with mosaicing