1. An apparatus comprising: a processing circuitry configured to, in order to generate a composite image: identify, in a frame of a video stream captured by a camera, a motion characteristic associated with moving objects in a scene while the camera captured a sliding window of the video stream; and for a plurality of frames in the sliding window, control a weight of blending of the frame based on the identified motion characteristic to enable the composite image to be generated according to the controlled weights of blending of the plurality of frames in the sliding window.