a method of encoding digital video data corresponding to a sequence of input video frames is disclosed . the input video frames are encoded into a sequence of output video frames . the method comprises encoding a first input video frame in a first encoder instance using intra - frame encoding to produce a first intra - frame , decoding the first intra - frame to produce a first decoded frame , encoding the first decoded frame in a second encoder instance to produce a first output video frame . a digital video encoding system is also disclosed , as well as a camera comprising such a system , and a computer program product for performing the method .