An image encoding device (100; 101; 102) comprising: an acquisition unit (1, 2, 3; 8; 10, 12, X) configured to acquire a moving image; a memory configured to store input images from the acquisition unit (1, 2, 3; 8; 10, 12, X) an encoding unit configured to encode the moving image, which is acquired by the acquisition unit (1, 2, 3; 8; 10, 12, X), into groups of pictures having a predetermined structure, in accordance with a predetermined encoding order and a predetermined encoding method; a reception unit configured to receive an instruction to start intermittent encoding of the moving image and an instruction to stop the intermittent encoding of the moving image; and an encoding control unit configured to: control operation of the acquisition unit (1, 2, 3; 8; 10, 12, X) and of the encoding unit in response to the instruction to start or stop intermittent encoding, and control the order in which the memory outputs images so that the encoding is carried out in a predetermined encoding order; wherein after receipt of the instruction to start intermittent encoding, the acquisition unit (1, 2, 3; 8; 10, 12, X) is controlled to intermittently acquire a moving image of one frame at a predetermined interval, the device being characterised in that: after receipt of the instruction to stop intermittent encoding, the acquisition unit (1, 2, 3; 8; 10, 12, X) is controlled to acquire an image of one frame immediately after the reception of the instruction, and the encoding unit is controlled to encode the acquired frames into a group of pictures having the predetermined structure, in accordance with the predetermined encoding order and the predetermined encoding method by repeatedly using the last frame, until the structure of the group of pictures including the last acquired frame is completed. an acquisition unit (1, 2, 3; 8; 10, 12, X) configured to acquire a moving image; a memory configured to store input images from the acquisition unit (1, 2, 3; 8; 10, 12, X) an encoding unit configured to encode the moving image, which is acquired by the acquisition unit (1, 2, 3; 8; 10, 12, X), into groups of pictures having a predetermined structure, in accordance with a predetermined encoding order and a predetermined encoding method; a reception unit configured to receive an instruction to start intermittent encoding of the moving image and an instruction to stop the intermittent encoding of the moving image; and an encoding control unit configured to: control operation of the acquisition unit (1, 2, 3; 8; 10, 12, X) and of the encoding unit in response to the instruction to start or stop intermittent encoding, and control the order in which the memory outputs images so that the encoding is carried out in a predetermined encoding order; control operation of the acquisition unit (1, 2, 3; 8; 10, 12, X) and of the encoding unit in response to the instruction to start or stop intermittent encoding, and control the order in which the memory outputs images so that the encoding is carried out in a predetermined encoding order; wherein after receipt of the instruction to start intermittent encoding, the acquisition unit (1, 2, 3; 8; 10, 12, X) is controlled to intermittently acquire a moving image of one frame at a predetermined interval, the device being characterised in that: after receipt of the instruction to stop intermittent encoding, the acquisition unit (1, 2, 3; 8; 10, 12, X) is controlled to acquire an image of one frame immediately after the reception of the instruction, and the encoding unit is controlled to encode the acquired frames into a group of pictures having the predetermined structure, in accordance with the predetermined encoding order and the predetermined encoding method by repeatedly using the last frame, until the structure of the group of pictures including the last acquired frame is completed. after receipt of the instruction to stop intermittent encoding, the acquisition unit (1, 2, 3; 8; 10, 12, X) is controlled to acquire an image of one frame immediately after the reception of the instruction, and the encoding unit is controlled to encode the acquired frames into a group of pictures having the predetermined structure, in accordance with the predetermined encoding order and the predetermined encoding method by repeatedly using the last frame, until the structure of the group of pictures including the last acquired frame is completed.