Patent ID: 8687942

Claim:
A data processing apparatus which divides stream data into portions, comprising: a dividing candidate position obtaining section which obtains a first dividing candidate position of the stream data based on a capacity of a record medium; an evaluation value calculating section which calculates an evaluation value, f(x), at the first dividing candidate position of the stream data based on at least an evaluation function, f, which is defined at least by f â¡ ( x ) = { 1 / ( 1 + n â¡ ( x ) ) , when â¢ â¢ x â¢ â¢ does â¢ â¢ not â¢ â¢ specify â¢ â¢ a â¢ â¢ chapter â¢ â¢ boundary 1 / ( 2 + n â¡ ( x ) ) , when â¢ â¢ x â¢ â¢ specifies â¢ â¢ a â¢ â¢ chapter â¢ â¢ boundary , in which x is the first dividing candidate position and n(x) specifies a number of face images detected at the first dividing candidate position; a comparing section which compares the evaluation value calculated by the evaluation value calculating section with a predetermined threshold value; a controlling section which decides a dividing position of the stream data based on a compared result of the comparing section, wherein, the controlling section causes the dividing candidate position obtaining section to obtain a second dividing candidate position that precedes the first dividing candidate position when the compared result of the comparing section denotes that the evaluation value at the first dividing candidate position does not exceed the predetermined threshold value, and the controlling section decides the dividing position of the stream data based on the first dividing candidate position when the evaluation value at the first dividing candidate position is equal to or exceeds the predetermined threshold value.