A method for video encoding a sequence of frames, comprising: receiving a sequence of frames depicting a moving object, the sequence comprising a first frame corresponding to a first time point, a second frame corresponding to a second, later, time point, and one or more intermediate frames (404, 406, 408, 410) corresponding to one or more time points being intermediate to the first and the second time point; predicting a movement of the moving object in the sequence of frames between the first time point and the second time point; defining, on basis of the predicted movement of the moving object, a region of interest in the frames which covers the moving object during its entire predicted movement between the first time point and the second time point, wherein the region of interest does not vary between the frames; and encoding the first frame in the region of interest and the one or more intermediate frames (404, 406, 408, 410) in a subset of the region of interest using a common constant encoding quality pattern defining which encoding quality to use in which portion of the region of interest, wherein, for a particular intermediate frame, the subset of the region of interest covers the object during its entire predicted movement between the time point corresponding to the particular intermediate image frame and the second time point characterized in that for a first intermediate frame, the subset of the region of interest is determined by removing a portion from the region of interest, and for each intermediate frame (406, 408, 410) subsequent to the first intermediate frame, the subset of the region of interest is determined by removing a portion from the subset used when encoding the preceding intermediate frame. receiving a sequence of frames depicting a moving object, the sequence comprising a first frame corresponding to a first time point, a second frame corresponding to a second, later, time point, and one or more intermediate frames (404, 406, 408, 410) corresponding to one or more time points being intermediate to the first and the second time point; predicting a movement of the moving object in the sequence of frames between the first time point and the second time point; defining, on basis of the predicted movement of the moving object, a region of interest in the frames which covers the moving object during its entire predicted movement between the first time point and the second time point, wherein the region of interest does not vary between the frames; and encoding the first frame in the region of interest and the one or more intermediate frames (404, 406, 408, 410) in a subset of the region of interest using a common constant encoding quality pattern defining which encoding quality to use in which portion of the region of interest, wherein, for a particular intermediate frame, the subset of the region of interest covers the object during its entire predicted movement between the time point corresponding to the particular intermediate image frame and the second time point characterized in that for a first intermediate frame, the subset of the region of interest is determined by removing a portion from the region of interest, and for each intermediate frame (406, 408, 410) subsequent to the first intermediate frame, the subset of the region of interest is determined by removing a portion from the subset used when encoding the preceding intermediate frame.