A recording program which causes a computer to execute a recording method of dubbing stream data recorded in a record medium to another record medium, the recording method comprising the steps of:
- reproducing data from a first record medium fixedly used in a housing;
- recording data to a second record medium which is attachable and detachable;
- setting a dividing candidate position to stream data reproduced from the first record medium within a recordable data capacity of the second record medium and calculating an evaluation value at the dividing candidate position of the stream data based on an evaluation function;
- comparing the evaluation value calculated at the setting step with a predetermined threshold value;
- obtaining the dividing candidate position of the stream data in each predetermined unit;
- and
- deciding a dividing position of the stream data based on a compared result at the comparing step and controlling the reproducing step and the recoding step to dub the stream data recorded in the first record medium to the second record medium for a length corresponding to the dividing position,
- wherein the deciding step is performed by obtaining a second dividing candidate position earlier than the first dividing candidate position of the stream data at the deciding step when the compared result at the comparing step denotes that the evaluation value at the first dividing candidate position does not exceed the threshold value, and
- the deciding step is performed by deciding a dividing position of the stream data based on the first dividing candidate position when the evaluation value at the first dividing candidate position exceeds the threshold value.