Patent ID: 8244107

Claim:
A data processing apparatus capable of writing and/or reading program data from or to a plurality of types of storage media, comprising: a receiving section configured to receive an external broadcast signal concerning program data; a determination section configured to determine a type of a storage medium having been loaded; a recording processing section configured to record program data obtained from the signal onto the storage medium, via one of the processes of: a stream recording process, in which the program data is neither decoded nor encoded; and an encode recording process, in which the program data is at least encoded; a selection section configured to select one of the stream recording process and the encode recording process in accordance with the type of the storage medium; a data rate detector configured to detect a transmission rate of the external broadcast signal of the program data, wherein the transmission rate may fluctuate; a calculation section configured to calculate, in accordance with the selected recording process, a remaining duration for which it is possible to perform recording on the storage medium by selecting one of: a first remaining amount calculation process that calculates the remaining duration based on a remaining capacity of the storage medium and on the fluctuating transmission rate of the program data detected by the data rate detector; and a second remaining amount calculation process that calculates the remaining duration based on a fluctuating encoding rate; and a display section configured to display the calculated remaining duration; wherein the storage media are differentiated in type depending on recording capacity; the receiving section receives one of the signals of an external broadcast digital signal and an external broadcast analog signal; the recording processing section selects the encode recording process for any storage medium having a recording capacity equal to or less than a predetermined reference capacity; and the calculation section selects a second remaining amount calculation process.