1. A moving-image distributing apparatus for receiving moving-image data from a plurality of encoders that encodes captured moving image, and distributing the received moving-image data to a client terminal, the apparatus comprising: a moving-image-data acquiring unit that acquires, when a failure occurs in a further moving-image distributing apparatus other than the moving-image distributing apparatus, a plurality of moving-image data transmitted from the plurality of encoders to the further moving-image distributing apparatus; an imaging-target-information acquiring unit that acquires location information about an imaging target from a management server that manages the location information about the imaging target; a determining unit that determines an order of priority of encoders such that a priority of an encoder being closer to a location of the imaging target is higher than that of other encoders, based on the location information about the imaging target acquired and encoder location information about the plurality of encoders included in the moving-image data; and an encoder selecting unit that selects an encoder to take charge in place of the further moving-image distributing apparatus, based on the order of priority of encoders determined by the determining unit.