Patent ID: 8447159

Claim:
A stream recording apparatus comprising: a reception unit configured to receive a transport stream containing transport stream packets which each include a program clock reference or a presentation time stamp or some combination thereof; a first storage unit configured to store the transport stream; an analysis unit configured to analyze the program clock references and the presentation time stamps, the analysis unit further configured to determine whether each transport stream packet includes a program clock reference; a counter configured to count a system time clock on the basis of a program clock reference; a calculation unit configured to calculate a reproduction time corresponding to a presentation time stamp when the analysis unit determines that the transport stream packet does not include a program clock reference and when the presentation time stamp is on a same timebase with reference to a system time clock obtained upon reception of a transport stream packet having the presentation time stamp, and not to calculate the reproduction time corresponding to the presentation time stamp when the analysis unit determines that the transport stream packet does not include a program clock reference and when the presentation time stamp is on a different timebase with reference to the system time clock; and a second storage unit configured to store the reproduction time in correspondence with the presentation time stamp when the reproduction time is calculated.