(1) Field of the Invention
The present invention relates to a recording and reproduction apparatus that simultaneously records digital television signals in a recording medium and performs chasing reproduction, and to a reproduction method thereof.
(2) Description of the Related Art
Digital television broadcast recording and reproduction apparatuses have been developed for recording digital television broadcast in a medium such as a Hard Disk Drive (HDD), an SD memory card (Secure Digital Memory Card), and a DVD. This type of digital television broadcast recording and reproduction apparatuses record currently broadcasted streams in a medium, and reproduce the recorded contents later on, i.e. chasing reproduction (also called “time shift reproduction”).
With a recording medium with which reading and writing can be simultaneously carried out, the chasing reproduction allows recording of the currently broadcasted broadcast stream in the recording medium, simultaneously with reproduction of the broadcast stream recoded a predetermined time ago. In addition, when the broadcast stream is reproduced from the recording medium, a change in the reproduction speed allows the broadcast stream to catch up with the current broadcast. This reproduction method is called catch-up reproduction. Catch-up reproduction includes fast-forward reproduction, digest reproduction and others.
In the catch-up reproduction, the reproduction mode for the broadcast stream is switched to real-time reproduction (hereinafter referred to as “normal reproduction”) when the reproduction time of the broadcast stream catches up with the current broadcast time. According to Patent Reference 1, in the catch-up reproduction, a difference value between the reproduction time of a broadcast stream and the current broadcast time is calculated, and when the difference value reaches zero, it is judged that the reproduction time has caught up with the current broadcast time, and thus the reproduction mode is switched to the normal reproduction.
The HDD 2202 is a recording medium to which the TS obtained by the tuner 2201 can be written, while another TS in the HDD 2002 is read out to the decoding unit 2203.
The decoding unit 2203 decodes the TS read from the HDD 2202 via the reproduction data processing unit 2208.
The output unit 2204 displays a video decoded by the decoding unit 2203.
The broadcast time obtaining unit 2205 obtains, from the TS acquired from the tuner 2201, time information of a currently broadcasted stream (hereinafter referred to as “broadcast time information”).
The reproduction time obtaining unit 2206 obtains, from the TS read from the HDD 2202, time information of a currently reproduced broadcast stream (hereinafter referred to as “reproduction time information”).
The control unit 2207 controls the catch-up reproduction by sending, to the reproduction data processing unit 2208, a reproduction speed control signal based on the broadcast time information obtained from the broadcast time obtaining unit 2205 and the reproduction time information obtained from the reproduction time obtaining unit 2206.
The reproduction data processing unit 2208 selects TS data which is appropriate to be provided to the decoding unit 2203, based on the reproduction speed control signal received from the control unit 2207. More specifically, the reproduction data processing unit 2208 selects, based on the reproduction speed control signal received, whether to provide catch-up reproduction data or normal reproduction data to the decoding unit 2203.
Next, with reference to a flow chart of
First, the catch-up reproduction starts in response to an instruction from a viewer (S2301).
Next, the control unit 2207 obtains broadcast time information of a currently broadcasted stream from the broadcast time obtaining unit 2205, and reproduction time information of a currently reproduced stream from the reproduction time obtaining unit 2206 (S2302).
Then, the control unit 2207 calculates a difference value in time between the obtained broadcast time information and reproduction time information, and when the difference value is zero, sends a reproduction speed control signal to the reproduction data processing unit 2208, instructing to switch from the catch-up reproduction to the normal reproduction (Yes in S2303). When the difference value is not zero, the processing returns to the obtainment of updated broadcast time information and updated reproduction time information (No in S2303).
Lastly, upon reception of the instruction to switch from the catch-up reproduction to the normal reproduction, the reproduction data processing unit 2208 reads, from the HDD 2202, TS data for the normal reproduction, and switches the reproduction mode from the catch-up reproduction to the normal reproduction (52304).
[Patent Reference 1] Japanese Unexamined Patent Application Publication No. 2001-119671
However, the above described digital television broadcast recording and reproduction apparatus of the prior art entails two problems described below, for a transition in switching from the catch-up reproduction to the normal reproduction.
At first, with reference to
The figure shows a case of performing, as an example of catch-up reproduction, catch-up reproduction by outputting IDR (Instantaneous Decording Refresh) pictures at regular intervals, that is, digest reproduction. The digest reproduction here refers to reproduction performed by outputting only IDR pictures of a video in the MPEG-4 AVC format, for example. According to the operation regulations of the one-segment broadcasting scheme currently in use, the IDR pictures are inserted at a cycle of two to five seconds. Therefore, with the catch-up reproduction for consecutively reproducing IDR pictures, the video is displayed with reproduction time skipped at the intervals of two to five seconds.
At first, during a time period Y1, digest reproduction is performed. In the case of digest reproduction, the process for detecting that the time indicated by a PTS of a broadcast stream has caught up with the current broadcast time (process shown in the flow chart of
Next, a second problem to be solved by the present invention shall be described. The catch-up detection may result in false detection when a PTS of a broadcast stream cannot be correctly obtained due to, for example, a reception trouble or the like, or a stream temporarily dropped out. This problem shall be described with reference to
The present invention has been conceived in view of the problems described above, and has an object to provide a digital television broadcast recording and reproduction apparatus for eliminating the unnaturalness and abnormality in reproducing broadcast streams, at the time of switching from the catch-up reproduction to the normal reproduction, and for minimizing a time lag which arises at the switching process.
In order to solve the above described problems, the digital television broadcast recording and reproduction apparatus according to the present invention is a digital television broadcast recording and reproduction apparatus which has a readable and writable recording medium, and records and reproduces information of a digital television signal received, the apparatus comprising: a control unit configured to receive an instruction from a user concerning either normal reproduction or digest reproduction, and manage the received instruction, the normal reproduction being for real-time reproduction of the digital television signal, and the digest reproduction being for partial reproduction of the digital television signal recorded in the recording medium; a decoding unit configured to (i) in the normal reproduction, decode all pictures of coded data included in the digital television signal, and output the decoded data and time stamps each of which is associated with corresponding one of the decoded pictures, and (ii) in the digest reproduction, decode the pictures of the coded data at regular intervals, and output the decoded data and time stamps each of which is associated with corresponding one of the decoded pictures; and a catch-up detecting unit configured to perform a digest catch-up detection process of (i) calculating, for each of the time stamps outputted in the digest reproduction, a difference value between a time indicated by the time stamp and a time of a current broadcast, (ii) calculating, based on the calculated difference value, a catch-up time at which the digest reproduction catches up with the current broadcast, (iii) sending a digest reproduction pre-ending signal to the decoding unit when judging, based on the calculated catch-up time, that a time indicated by a time stamp of a next picture overtakes the catch-up time, and (iv) sending a catch-up signal to the control unit when the catch-up time matches the time of the current broadcast, wherein the decoding unit is configured to end the decoding for the digest reproduction when the digest reproduction pre-ending signal is received from the catch-up detecting unit during the digest reproduction, and the control unit is configured to, when the catch-up signal is received from the catch-up detecting unit, cause the decoding unit to start the normal reproduction by notifying the decoding unit that the digest reproduction is to be switched to the normal reproduction.
As a result, when the digest reproduction is selected and executed as chasing reproduction, an unnatural time period does not occur during which the reproduction pauses since the digest reproduction jumps the current broadcast, and thus the time lag for switching from the digest reproduction to the normal reproduction is minimized.
Here, it may be that the digital television broadcast recording and reproduction apparatus further comprises a remaining-amount monitoring unit configured to monitor a remaining amount of the digital television signal accumulated in the recording medium, and when the remaining amount becomes zero, send a no-remaining-amount signal to the catch-up detecting unit indicating that the remaining amount has become zero, wherein the control unit is configured to receive an instruction from the user concerning fast-forward reproduction for fast-forwarding the digital television signal, and manage the received instruction, the decoding unit is configured to, in the fast-forward reproduction, decode all the pictures of the coded data included in the digital television signal, and output the decoded data and time stamps each of which is associated with corresponding one of the decoded pictures, the catch-up detecting unit is further configured to, in the fast-forward reproduction, perform a fast-forward catch-up detection process of sending the catch-up signal to the control unit when the fast-forward reproduction catches up with the current broadcast, and the catch-up detecting unit is configured to start either the fast-forward catch-up detection process or the digest catch-up detection process when the no-remaining-amount signal is received from the remaining-amount monitoring unit.
As a result, there is no need to perform the catch-up detection on a picture-by-picture basis from the beginning of the chasing reproduction. In addition, the workload for the catch-up detection is reduced and thus power consumed by the apparatus can be reduced when the remaining amount in the recording medium becomes zero, that is, by performing the catch-up detection only on the frames remaining in the buffer of the demultiplexing unit.
Furthermore, it may be that the digital television broadcast recording and reproduction apparatus further comprises: an abnormal-decoding monitoring unit configured to detect abnormal decoding performed by the decoding unit; and a remaining-amount monitoring unit configured to monitor a remaining amount of the digital television signal accumulated in the recording medium, and when the remaining amount becomes zero, send a no-remaining-amount signal to the abnormal-decoding monitoring unit indicating that the remaining amount has become zero, wherein the control unit is configured to receive an instruction from the user concerning fast-forward reproduction for fast-forwarding the digital television signal, and manage the received instruction, the decoding unit is configured to, in the fast-forward reproduction, decode all the pictures of the coded data included in the digital television signal, and output the decoded data and time stamps each of which is associated with corresponding one of the decoded pictures, the catch-up detecting unit is configured to, in the fast-forward reproduction, perform a fast-forward catch-up detection process of sending the catch-up signal to the control unit when the fast-forward reproduction catches up with the current broadcast, the abnormal-decoding monitoring unit is configured to send a catch-up stop signal to the catch-up detecting unit when the no-remaining-amount signal is received from the remaining-amount monitoring unit and the abnormal decoding is detected, and the catch-up detecting unit is configured to stop either the fast-forward catch-up detection process or the digest catch-up detection process when the catch-up stop signal is received.
As a result, false detection in the catch-up detection process can be prevented. As a result of the prevention of false detection, it is possible to prevent output data from being frozen and prevent the normal reproduction from starting at an unexpected scene. In this case, the pictures remaining in the buffer of the demultiplexing unit are discarded. Nonetheless, this is because of a fail-safe based idea that rather than making false detection by continuing the catch-up detection process with a picture judged as being abnormal in the decoding process, it is preferred to stop the catch-up detection and switch to the current broadcast.
Preferably, the control unit is configured to receive an instruction from the user concerning fast-forward reproduction for fast-forwarding the digital television signal, and manage the received instruction, the decoding unit is configured to, in the fast-forward reproduction, decode all the pictures of the coded data included in the digital television signal, and output the decoded data and time stamps each of which is associated with corresponding one of the decoded pictures, and the catch-up detecting unit (i) includes a time counter that monotonically decreases a count value as time elapses, and (ii) is configured to initialize, at a start of the fast-forward reproduction, the time counter with a difference value between a time indicated by one of the time stamps outputted in the fast-forward reproduction and the time of the current broadcast, and to send the catch-up signal to the control unit when the count value becomes zero.
As a result, the picture-by-picture based catch-up detection process is unnecessary, and thus the power consumed by the apparatus can be reduced. In addition, no false detection results from an abnormality signal occurred during the catch-up reproduction, and thus the switch to the normal reproduction can be reliably achieved.
It may further be that the digital television broadcast recording and reproduction apparatus further comprises, a reproduction time generating unit configured to (i) withhold outputting of a time stamp of a most recent picture to the catch-up detecting unit, (ii) generate a time stamp to replace the time stamp of the most recent picture based on time stamps of preceding pictures up to a picture immediately preceding the most recent picture and (iii) output the generated time stamp to the catch-up detecting unit, when a difference value between the time indicated by the time stamp of the most recent picture obtained from the decoding unit and a time indicated by the time stamp of the picture immediately preceding the most recent picture is above a predetermined threshold range.
As a result, even in a situation where a PTS of each picture was not correctly obtained, an unnecessary waiting time attributed to such a situation does not occur, and the catch-up can be detected correctly.
It is to be noted that the present invention can be embodied not only as a digital television broadcast recording and reproduction apparatus having such characteristic units as described above, but also as a mobile phone having such a digital television broadcast recording and reproduction apparatus, to have the same configuration and produce the same advantageous effects.
Further, the present invention can be embodied not only as a digital television broadcast recording and reproduction apparatus having such characteristic units, but also as a digital television broadcast recording and reproduction method having, as steps, the characteristic units of the digital television broadcast recording and reproduction apparatus, and as a program causing a computer to execute the characteristic steps of the digital television broadcast recording and reproduction method. It is apparent that such a program can be distributed via recording media such as a CD-ROM (Compact Disc-Read Only Memory) or via transmission networks such as the Internet.
The present invention makes it possible to eliminate the unnaturalness and abnormality in reproducing broadcast streams, at the time of switching from the catch-up reproduction to the normal reproduction, and thus possible to minimize a time lag which arises at the switching process.
The disclosure of Japanese Patent Application No. 2007-183744 filed on Jul. 12, 2007 including specification, drawings and claims is incorporated herein by reference in its entirety.
These and other objects, advantages and features of the invention will become apparent from the following description thereof taken in conjunction with the accompanying drawings that illustrate a specific embodiment of the invention. In the Drawings:
During digest reproduction, a digital television broadcast recording and reproduction apparatus according to the present Embodiment 1 predicts a catch-up time at which the digest reproduction catches up with the current broadcast; ends decoding for the digest reproduction when judging that a PTS (Presentation Time Stamp) of the next IDR (Instantaneous Decording Refresh) picture will overtake the catch-up time; and switches from the digest reproduction to the normal reproduction when the catch-up time and the current broadcast time match each other. As a result, there is no unnatural waiting time during which the video temporarily freezes because the digest reproduction jumps the current broadcast, and thus it is possible to minimize the time lag which arises at the time of switching from the digest reproduction to the normal reproduction.
Here, a single frame in a progressive image and a field in an interlace image are both called a picture.
Hereinafter, with reference to the drawings, Embodiment 1 of the present invention shall be described in detail.
The tuner 101 demodulates a digital television broadcast signal received. From the demodulated signal, the digital television broadcast recording and reproduction apparatus obtains a stream selected by a user. Then, the tuner 101 transfers a TS (Transport Stream) to the recording medium 104, and outputs a current TS time information attached to the TS (hereinafter referred to as “PCR (Program Clock Reference)”) to the broadcast time obtaining unit 102.
Here, with reference to
Further, as shown in
Now, the functional configuration diagram of
The broadcast time obtaining unit 102 outputs, to the STC unit 103, a PCR obtained from the tuner 101.
The STC unit 103 generates the STC of the digital TV broadcast recording and reproduction apparatus. With each value of PCR received at every predetermined time as an initial value, the STC is counted at 27 MHz, for example, and is calibrated based on the time information of PCR.
Now, the functional configuration diagram of
The recording medium 104 is for recording the TS data 201, and allows simultaneous reading and writing. Examples of this medium include a semiconductor memory, a hard disk drive (HDD), an optical disk (DVD), and so on. When broadcast streams are reproduced normally, the TS data 201 passes through this medium and is not accumulated therein. The accumulation of the TS data 201 begins when the normal reproduction is paused through a user specification, and continues until the pause is cancelled through another user specification. After the pause is cancelled, the TS data 201 accumulated in the recording medium 104 is reproduced, and meanwhile, written to the recording medium 104 from the tuner 101. The reproduction of the TS data 201 accumulated in the recording medium 104, that is, the reproduction of the broadcast stream shifted by some time, is generally called chasing reproduction (also referred to as “time-shift reproduction”). During chasing reproduction, it is controlled so that the reproduction of broadcast streams catches up with the current broadcast through a trick play such as fast-forward reproduction and digest reproduction. In other words, catch-up reproduction is performed. The reproduction mode is switched from the catch-up reproduction to the normal reproduction when the reproduction of the broadcast stream catches up with the current broadcast. After it is switched to the normal reproduction, the recording medium 104 becomes empty.
The demultiplexing unit 105 has a function to extract coded data and a PTS, which is reproduction time information, from a PES header in a PES packet, and to hold them in a built-in buffer.
Here, with reference to
Furthermore, the PES header 405 includes an option field 407, other control flags, and so on. In the option field 407, PTS 408 is stored which is reproduction time information of the stream. Further, in the PES packet data 406, coded data is stored.
Referring back to the functional configuration diagram of
In the normal reproduction mode, the decoding unit 106 decodes all the pictures of the coded data included in the digital television signal, and outputs the decoded data and time stamps associated with the decoded pictures. In the digest reproduction mode, it decodes pictures of the coded data at regular intervals, and outputs the decoded data and time stamps associated with the decoded pictures. In the present embodiment, the decoding unit 106 decodes coded data transferred from the demultiplexing unit 105. For video, this decoding process is the image decoding process in accordance with MPEG4-AVC/H.264 standards or MPEG-2/4 standards, for example, whereas for audio, it is the decoding process in accordance with AAC. The decoding unit 106 transfers, to the output unit 108, the decoded data in association with the PTS transferred from the demultiplexing unit 105, and at the same time, outputs the PTS to the reproduction time obtaining unit 107.
The decoding process of the decoding unit is performed in accordance with the reproduction mode notified by the control unit 109. Reproduction modes include three modes, i.e. the normal reproduction mode, the fast-forward reproduction mode, and the digest reproduction mode. The decoding process varies depending on the modes. The normal reproduction mode is for real-time reproduction of broadcast streams. The digest reproduction mode and the fast-forward reproduction mode are for catch-up reproduction performed during chasing reproduction.
Now, the functional configuration diagram of
Management of the reproduction modes is carried out by the reproduction mode instructing unit 111, and the selected reproduction mode is notified to the decoding unit 106 via the control unit 109.
The decoding process is performed at different timings depending on the reproduction modes. In the case of the normal reproduction mode, the decoding process for video is performed every 66 ms, given that 15 frames are decoded per second, or every 33 ms, given that 30 frames are decoded per second, whereas the decoding process for audio is performed every 42 ms at Advanced Audio Coding (AAC) 24 kHz, or every 22 ms at AAC 48 kHz. In the case of the fast-forward reproduction mode for reproduction at N times the normal speed, the decoding process for video is performed every 66/N ms, given that 15 frames are decoded per second, or every 33/N ms, given that 30 frames are decoded per second, whereas the decoding process for audio is performed every 42/N ms at AAC 24 kHz, or every 22/N ms at AAC 48 kHz. For example, when N is 2 (fast-forward reproduction at twice the normal speed), the decoding process for video is performed every 33 ms, given that 15 frames are decoded per second, or every 16 ms, given that 30 frames are decoded per second, whereas the decoding process for audio is performed every 21 ms at AAC 24 kHz, or every 11 ms at AAC 48 kHz.
In the case of the fast-forward reproduction mode, when audio is to be outputted, audio speed conversion is carried out before decoded data is transferred to the output unit 108. There is a PICOLA method as an example of audio speed conversion technique. In the case of the digest reproduction mode for video, only IDR pictures are decoded, and the decoded data is transferred to the output unit 108 at regular time intervals, whereas in the case of the digest reproduction mode for audio, data at regular intervals is decoded, and the decoded data is transferred to the output unit 108 at regular time intervals.
The reproduction mode instructing unit 111 determines a reproduction mode in accordance with a user specification, and notifies the control unit 109 of the determined reproduction mode. As mentioned above, the reproduction modes include three modes, i.e. the normal reproduction mode, the digest reproduction mode, and the fast-forward reproduction mode.
The output unit 108 outputs decoded data (i.e. images in the case of video, and sound in the case of audio) transferred from the decoding unit 106.
The reproduction time obtaining unit 107 holds PTS's notified by the decoding unit 106.
The control unit 109 receives and manages instructions from a user concerning either the normal reproduction for real-time reproduction of digital television signals or the digest reproduction partial reproduction of the digital television signals. In the present embodiment, the control unit 109 performs control in accordance with each of the aforementioned three reproduction modes.
The control unit 109 calculates a difference value between a PTS obtained from the reproduction time obtaining unit 107 and the STC obtained from the STC unit 103, and when the calculated difference value is outside a threshold range, instructs the decoding unit 106 to change the timing at which the decoding process is performed. For example, when the difference value between the PTS and the STC is above the threshold range, the PTS of the broadcast stream is judged as being ahead of the STC, and thus the control unit 109 controls the decoding unit 106 so that the decoding process is stopped for the difference value between the PTS and the STC. Further, when the difference value between a PTS and the STC is below the threshold range, the PTS of the broadcast stream is judged as being behind the STC, and thus the control unit 109 controls the decoding unit 106 so that the pictures at regular intervals are decoded, for example. In this way, the control unit 109 performs control so that the difference value between the PTS and the STC is always within the threshold range.
In addition, in the fast-forward reproduction mode or the digest reproduction mode, the control unit 109 notifies the decoding unit 106 of the selected mode, and causes it to start the above described decoding process, and at the same time, also notifies the catch-up detecting unit 110 of the selected mode, and causes it to start a catch-up detection process which shall be described later.
When the control unit receives an instruction for the digest reproduction, the catch-up detecting unit 110 (i) calculates a difference value between a time indicated by one of the time stamps outputted in the digest reproduction and a time of a current broadcast, (ii) calculates, based on the calculated difference value, a catch-up time at which the digest reproduction catches up with the current broadcast, (iii) sends a digest reproduction pre-ending signal to the decoding unit when judging, based on the calculated catch-up time, that a time indicated by a time stamp of the next picture overtakes the catch-up time, and (iv) sends a catch-up signal to the control unit when the catch-up time matches the time of the current broadcast. In the present embodiment, in the catch-up reproduction (the fast-forward reproduction mode, the digest reproduction mode) performed in accordance with the reproduction mode notified by the control unit 109, the catch-up detecting unit 110 judges whether or not the PTS of the broadcast stream has caught up with the STC (hereinafter referred to as “catch-up detection process”). The catch-up detection process is performed differently between the fast-forward reproduction mode and the digest reproduction mode.
Hereinafter, the catch-up detection process shall be described.
When the reproduction mode is not the fast-forward reproduction mode (No in S903), that is, when the reproduction mode is the digest reproduction mode, the catch-up detecting unit 110 predicts the time at which the PTS catches up with the STC (S906). This predicted time is called a catch-up time.
Here, the catch-up time and a calculation method thereof shall be described.
Returning to the flow chart of
When the digest reproduction is in process, the catch-up detecting unit 110 calculates a reproduction time PTSx predicted to be obtained next (S907). In
Next, the catch-up detecting unit 110 compares the calculated PTSx and the catch-up time (S908).
When PTSx>the catch-up time (Yes in S908), judging that the reproduction time will overtake the current broadcast time by the time the next PTS is obtained, the catch-up detecting unit 110 sends the digest reproduction pre-ending signal to the decoding unit 106 (S909).
Together with the digest reproduction pre-ending signal, the decoding unit 106 also receives the catch-up time as information. Then, based on the received catch-up time and the PTS notified by the demultiplexing unit 105, the decoding unit 106 decodes pictures until it decodes a picture associated with the catch-up time (S910). In other words, for video, the decoding unit 106 stops the decoding process performed only on the IDR pictures, and starts decoding all the pictures until it decodes the picture associated with the catch-up time. For audio, it stops decoding frames at regular intervals, and starts decoding all the pictures until it decodes the picture associated with the catch-up time. Here; the decoded data up to that of the frame (picture) associated with the catch-up time is discarded and not transferred to the output unit 108.
When the STC obtained from the STC unit 103 matches the catch-up time (S911), the catch-up detecting unit 110 judges that the PTS of the broadcast stream has caught up with the STC, and thus sends the catch-up signal to the control unit 109 (S905).
The process ends when the comparison between the PTSx and the catch-up time, performed by catch-up detecting unit 110 (S908), shows that the PTSx is not greater than the catch-up time (No in S908).
With the above described operations for the catch-up detection in the digest reproduction, the time lag that arises in switching from the digest reproduction to the normal reproduction corresponds to Z0 in the graph of
At first, upon reception of a specification from a user, the reproduction mode instructing unit 111 notifies the control unit 109 of a reproduction mode instruction (S701). As mentioned above, the reproduction modes include three modes, i.e. the normal reproduction mode, the fast-forward reproduction mode, and the digest reproduction mode.
When the notified reproduction mode is the normal reproduction mode (Yes in S702), the control unit 109 operates in the normal reproduction mode (S703). Further, the control unit 109 notifies the decoding unit 106 and the catch-up detecting unit 110 of the reproduction mode.
When the notified reproduction mode is not the normal reproduction mode (No in S702), the control unit 109 judges whether or not it is the fast-forward reproduction mode (S704). When the reproduction mode is the fast-forward reproduction mode, the control unit 109 notifies the decoding unit 106 and the catch-up detecting unit 110 that the selected mode is the fast-forward reproduction mode (S705).
When the notified reproduction mode is not the fast-forward reproduction mode (No in S704), the control unit 109 judges whether or not it is the digest reproduction mode (S706). When the reproduction mode is the digest reproduction mode (Yes in S706), the control unit 109 notifies the decoding unit 106 and the catch-up detecting unit 110 that the selected mode is the digest reproduction mode (S707).
When the notified reproduction mode is not the digest reproduction mode (No in S706), the control unit 109 judges that the specified reproduction mode is other than the normal reproduction mode, the fast-forward reproduction mode and the digest reproduction mode, and thus judges the reproduction mode as abnormal. When it is judged as abnormal, a process, such as rebooting the apparatus, is performed.
At first, the tuner 101 simultaneously transfers a TS to the recording medium 104 and notifies the broadcast time obtaining unit 102 of a PCR attached to the TS (S801).
Next, as described above with reference to
Next, the TS transferred to the recording medium 104 is sent to the demultiplexing unit 105. The demultiplexing unit 105 demultiplexes received TS data 201 into a PTS and coded data for vide and audio separately, and transfers the PTS and the coded data to the decoding unit 106 (S803).
Here, with reference to
On the other hand, in the chasing reproduction mode or the catch-up reproduction mode such as the fast-forward reproduction mode and the digest reproduction mode, the position of the data transfer from the tuner 101 to the recording medium 104 is below the position of the data transfer from the recording medium 104 to the demultiplexing unit 105. In other words, the TS data 201 is stored in the recording medium 104.
In
Next, the decoding unit 106 simultaneously transfers the decoded data to the output unit 108 and notifies the reproduction time obtaining unit 107 of a PTS associated with the decoded data (S806).
Next, the control unit 109 obtains the PTS from the reproduction time obtaining unit 107, and the STC from the STC unit, and performs control so that the difference value between the PTS and the STC is within a threshold range, as described above (S807).
When the reproduction mode is not the normal reproduction mode in S804, that is, when it is the fast-forward reproduction mode or the digest reproduction mode (No in S804), the decoding unit 106 decodes the coded data according to the catch-up reproduction mode as described above (S808).
Next, the decoding unit 106 simultaneously transfers the decoded data to the output unit 108 and notifies the reproduction time obtaining unit 107 of a PTS associated with the decoded data (S809).
Next, the catch-up detecting unit 110 obtains the PTS from the reproduction time obtaining unit 107 and the STC from the STC unit 103, and performs the catch-up detection process as described with reference to the flow chart of
Next, if the catch-up is detected (Yes in S811), the control unit 109 instructs the decoding unit 106 to switch the reproduction mode from the catch-up reproduction mode to the normal reproduction mode (S812). The decoding unit 106 starts the decoding process according to the normal reproduction mode.
If the catch-up is not detected in S811, the process ends to start the same process for the next TS.
As described above, according to the digital television broadcast recording and reproduction apparatus of Embodiment 1 of the present invention, the catch-up reproduction is performed in accordance with the reproduction mode (the normal reproduction mode, the fast-forward reproduction mode, or the digest reproduction mode). When the digest reproduction is selected as the catch-up reproduction, a catch-up time is predicted, and pictures are sent out from the point of time when the PTS catches up with the STC. As a result, it is possible to eliminate the unnaturalness in output data that arises at the time of switching between the reproduction modes, and to minimize a time lag that arises at the switching process.
The description of the same aspects shall be omitted, and different aspects of the operation procedures in the fast-forward reproduction mode shall be described below.
When the fast-forward reproduction mode is selected as the reproduction mode (Yes in S903), the catch-up detecting unit 110 judges whether or not a time counter provided in the catch-up detecting unit 110 is in operation (S1204). When the time counter is not in operation (No in S1204), the catch-up detecting unit 110 sets the time counter with the difference value between the PTS and the STC (S1206). After the timer is set, the process ends. The time counter monotonically decreases its value. When the counter value becomes zero, the time counter sends a timer completion signal to the catch-up detecting unit 110 (S1207). Upon reception of the timer completion signal from the time counter, the catch-up detecting unit 110 judges that the reproduction time of the stream has caught up with the current broadcast time (Step S1206).
When the time counter had already been set in S1204, the process ends.
It is to be noted that when the value of the fast-forward speed is changed during the operation process in the fast-forward reproduction mode, the time counter which is in operation is stopped so that the difference value between the PTS and the STC is calculated again and that the time counter is re-set.
As described above, according to the present variation of the present invention, setting the time counter with the difference value between the time indicated by the PTS of the picture at the start of the fast-forward reproduction and the current broadcast time allows the catch-up detection to be omitted thereafter. As a result, the power consumed by the apparatus can be reduced. In addition, there is no false detection resulting from the abnormality signal generated during the catch-up reproduction, and thus the switch to the normal reproduction can be reliably achieved.
The reproduction time generating unit 1307 calibrates the reproduction time using a PTS notified by the decoding unit 106 as an initial value, and a count frequency of 27 MHz, for example. This count frequency is changeable in accordance with the reproduction speed. For example, when the reproduction speed is double the normal speed, the count frequency is 54 MHz. The reproduction time is calibrated based on the count frequency and the PTS. The method for calibration shall be described with reference to
In the flow chart of the catch-up detection process shown in
At first, the reproduction time generating unit 1307 obtains a new PTS from the decoding unit 106 (S1501). Next, when the difference value between the reproduction time already calibrated and held, and the newly obtained PTS is above a predetermined threshold range (Yes in S1502), the reproduction time generating unit 1307 does not calibrate the reproduction time with the newly obtained PTS as an initial value, but notifies the catch-up detecting unit 110 and the control unit 109 of the reproduction time already calibrated and held, as a newly calibrated reproduction time (S1503). When the difference value between the reproduction time already calibrated and held and the newly obtained PTS is within the predetermined threshold range (No in S1502), the reproduction time generating unit 1307 calibrates the reproduction time with the newly obtained PTS as an initial value, and notifies the catch-up detecting unit 110 and the control unit 109 of the calibrated reproduction time (S1504). The catch-up detecting unit 110 performs the catch-up detection process using the obtained reproduction time.
As described above, according to Variation 2 of Embodiment 1 of the present invention, even in a situation where it was not possible to correctly obtain a PTS, providing a function for generating reproduction time information based on the received PTS value prevents an unnecessary waiting time attributed to such a situation, and thus, the catch-up can be detected with accuracy.
Next, Embodiment 2 according to the present invention shall be described.
A digital television broadcast recording and reproduction apparatus according to Embodiment 2 of the present invention starts the catch-up detection process in the catch-up reproduction when the amount of TS data 201 remaining in the recording medium 104 reaches zero. Therefore, there is no need to perform the catch-up detection on a picture-by-picture basis from the beginning of the chasing reproduction. As a result, the workload for the catch-up detection is reduced, enabling reduction of power consumption.
Hereinafter, with reference to the drawings, Embodiment 2 of the present invention shall be described in detail.
The digital television broadcast recording and reproduction apparatus in the figure includes the tuner 101, the broadcast time obtaining unit 102, the STC unit 103, the recording medium 104, the demultiplexing unit 105, the decoding unit 106, the reproduction time obtaining unit 107, the output unit 108, the control unit 109, the reproduction mode instructing unit 111, a catch-up detecting unit 1610, and a remaining-amount monitoring unit 1612.
The functional configuration of the figure is different from that of
The remaining-amount monitoring unit 1612 monitors the remaining amount of the TS data 201 recorded in the recording medium 104 in the catch-up reproduction mode (the fast-forward reproduction or the digest reproduction). As described above,
The catch-up detecting unit 1610 shown in
When the catch-up detecting unit 1610 receives the no-remaining-amount signal sent from the remaining-amount monitoring unit 1612 (Yes in S1701), it starts the catch-up detection process (S1702).
In the case where the no-remaining-amount signal is not received from the remaining-amount monitoring unit 1612 (No in S1701), the catch-up detecting unit 1610 does not start the catch-up detection process but ends the process, and waits for the no-remaining-amount signal.
As described above, according to the digital television broadcast recording and reproduction apparatus of Embodiment 2 of the present invention, the catch-up detection process starts when the amount of data remaining in the recording medium 104 becomes zero, so that the picture-by-picture based catch-up detection process which starts from the beginning of the catch-up reproduction can be omitted. Consequently, the workload for the catch-up detection is reduced, which results in reduction of the power consumed by the apparatus.
Next, Embodiment 3 according to the present invention shall be described.
A digital television broadcast recording and reproduction apparatus according to Embodiment 3 of the present invention forcibly stops the catch-up detection process in the catch-up reproduction and switches the reproduction mode to the normal reproduction when the amount of data remaining in the recording medium 104 is zero and the decoding process is abnormal. As a result, false detection in the catch-up detection process is prevented, and thus it is possible to prevent output data from being frozen and to prevent the normal reproduction from starting at an unexpected scene. Thus, an unnecessary waiting time does not occur, and the catch-up detection can be performed with accuracy.
Hereinafter, with reference to the drawings, Embodiment 3 of the present invention shall be described in detail.
The digital television broadcast recording and reproduction apparatus in the figure includes the tuner 101, the broadcast time obtaining unit 102, the STC unit 103, the recording medium 104, the demultiplexing unit 105, the decoding unit 106, the reproduction time obtaining unit 107, the output unit 108, the control unit 109, the reproduction mode instructing unit 111, a remaining-amount monitoring unit 1812, a catch-up detecting unit 1810, and an abnormal-decoding monitoring unit 1813.
The functional configuration of the figure is different from that of
The description of the same aspects shall be omitted, and different aspects shall be described below.
The remaining-amount monitoring unit 1812 monitors the remaining amount of the TS data 201 recorded in the recording medium 104 in the catch-up reproduction mode (the fast-forward reproduction or the digest reproduction). As described above,
Upon reception of the catch-up stop signal, the catch-up detecting unit 1810 stops the catch-up detection process and sends a catch-up signal to the control unit 109. Upon-reception of the catch-up signal, the control unit 109 switches the reproduction mode from the catch-up reproduction mode (the fast-forward reproduction or the digest reproduction) to the normal reproduction mode.
As described above, according to the digital television broadcast recording and reproduction apparatus of Embodiment 3 of the present invention, when the amount of data remaining in the recording medium 104 is zero and the decoding process is abnormal, the catch-up detection process is forcibly stopped and the production mode is switched to the normal reproduction mode. As a result, false detection in the catch-up detection process can be prevented, which makes it possible to prevent output data from being frozen and prevent the normal reproduction from starting at an unexpected scene, and thus, an unnecessary waiting time can be prevented, and the catch-up can be detected with accuracy. In addition, the power consumption can be reduced.
It is to be noted, as described above, that there are pictures, up to the current broadcast, stored in the buffer of the demultiplexing unit 105, and these pictures are discarded. Nonetheless, from the viewpoint of fail-safe design, rather than falsely detecting a catch-up time with a picture judged as being abnormal in the decoding process, it is preferred to stop the catch-up detection and switch to the current broadcast.
Next, Embodiment 4 according to the present invention shall be described.
Embodiment 4 of the present invention shows a case where the digital television broadcast recording and reproduction apparatus according to the present invention is used for a mobile phone.
Hereinafter, with reference to the drawings, Embodiment 4 of the present invention shall be described in detail.
The application process unit 1905 includes a main control unit 1906 which controls the entire mobile phone, a communication unit 1907 which controls communication, and a digital TV broadcast recording and reproduction apparatus 1908.
The input and output unit 1909 includes a speaker 1910 which outputs audio, a liquid crystal display 1911 which outputs video, a microphone 1912 which receives audio, and a button 1913 for key operations.
With reference to
A digital television broadcast signal is received by an antenna, and is sent to the application process unit 1905 via the TV wireless unit 1903. The application process unit 1905 sends the received digital television broadcast signal to the digital TV broadcast recording and reproduction apparatus 1908. The digital TV broadcast recording and reproduction apparatus 1908 decodes the digital television broadcast signal and sends a video signal and an audio signal to the input and output unit 1909. Then, the video signal is outputted by the liquid crystal display 1911, and the audio signal by the speaker 1910. The switch between the normal reproduction and the catch-up reproduction is carried out using the button 1913.
As described above, according to the digital television broadcast recording and reproduction apparatus of the present invention, (1) in the digest reproduction, a catch-up time is predicted, and pictures start to be outputted when a PTS catches up with the STC, (2) in the digest reproduction or the fast-forward reproduction, the catch-up detection process starts when the amount of data remaining in the recording medium becomes zero, and (3) in digest reproduction or the fast-forward reproduction, the catch-up detection process is forcibly stopped and the reproduction is switched to the normal reproduction when the amount of data remaining in the recording medium is zero and the decoding process is abnormal. As a result, it is possible to: eliminate the unnaturalness in output data that arises when switching between the reproduction modes; and prevent the output data from being frozen; prevent the normal reproduction from starting at an unexpected scene, and thus no unnecessary waiting time arises, and the time lag in switching from the catch-up reproduction to the normal reproduction is minimized. In addition, the power consumption can be reduced.
The digital television broadcast recording and reproduction apparatus of the present invention has been described based on some embodiments. However, the present invention is not to be limited by such embodiments. Those skilled in the art will readily appreciate that many modifications are possible in such embodiments without materially departing from the novel teachings and advantages of the present invention. Accordingly, all such modifications are intended to be included within the scope of the present invention.
In addition, an exemplary embodiment here has shown a mobile phone in which the digital television broadcast recording and reproduction apparatus of the present invention is used, but the digital television broadcast recording and reproduction apparatus can be also used for other appliances which can reproduce video and audio. For example,
The present invention can be applied to digital television broadcast recording and reproduction apparatuses, and especially to apparatuses which simultaneously perform recording and reproduction with a chasing reproduction function, and so on.
Number | Date | Country | Kind |
---|---|---|---|
2007-183744 | Jul 2007 | JP | national |