Patent ID: 7417667

Claim:
An imaging device comprising: an image capturing unit; a first imaging control unit that has the image capturing unit execute moving picture imaging; a movie picture file creation unit that creates a moving picture file based on moving picture data acquired through the moving picture imaging by the first imaging control unit; a first recording control unit that records in a memory the moving picture file created by the moving picture file creation unit; a recording instruction unit that instructs to record a still picture; a still picture acquisition unit that acquires, when recording of a still picture is instructed by the recording instruction unit while the first imaging control unit is executing moving picture imaging and the first recording control unit is recording the moving picture file in the memory, still picture data at the timing instructed; a still picture file creation unit that creates a still picture file based on the still picture data acquired by the still picture acquisition unit; a second recording control unit that records in a memory the still picture file created by the still picture file creation unit; a third recording control unit that records in the memory the still picture data acquired by the still picture acquisition unit as index picture data of the moving picture file recorded in the memory by the first recording control unit in addition to the still picture file created by the still picture file creation unit and recorded in the memory by the second recording control unit; and a judging unit that judges whether the recording instruction unit has given an instruction for still picture imaging during execution of the moving picture imaging by the first imaging control unit, wherein; the third recording control unit records in the memory head picture data of moving picture data in the moving picture file that is recorded in the memory by the first recording control unit as index picture data of the moving picture file, when the judging unit judges that still picture imagining has not been instructed.