WO2010013376A1 - デジタル放送再生装置およびデジタル放送再生方法 - Google Patents

デジタル放送再生装置およびデジタル放送再生方法 Download PDF

Info

Publication number
WO2010013376A1
WO2010013376A1 PCT/JP2009/002201 JP2009002201W WO2010013376A1 WO 2010013376 A1 WO2010013376 A1 WO 2010013376A1 JP 2009002201 W JP2009002201 W JP 2009002201W WO 2010013376 A1 WO2010013376 A1 WO 2010013376A1
Authority
WO
WIPO (PCT)
Prior art keywords
delay time
audio
video
time
output
Prior art date
Application number
PCT/JP2009/002201
Other languages
English (en)
French (fr)
Inventor
田中義照
Original Assignee
パナソニック株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by パナソニック株式会社 filed Critical パナソニック株式会社
Priority to CN2009801295356A priority Critical patent/CN102113339B/zh
Priority to US13/056,033 priority patent/US20110170613A1/en
Publication of WO2010013376A1 publication Critical patent/WO2010013376A1/ja

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
    • H04N21/4341Demultiplexing of audio and video streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/236Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
    • H04N21/2368Multiplexing of audio and video streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • H04N21/43072Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen of multiple content streams on the same device

Definitions

  • the present invention relates to a digital broadcast reproduction apparatus having a function of decoding and outputting digital broadcast stream data.
  • each broadcast station converts an encoded video stream or audio stream into a TS (Transport Stream) format for distribution.
  • the digital broadcast playback apparatus separates the received TS format stream into a video stream and an audio stream, generates a video frame and an audio frame by performing decoding processing on each, and outputs video and audio from a screen and speakers.
  • an STC System Time Clock
  • PTS Presentation Time Stamp
  • video post-processing such as high image quality processing and composition processing is performed on video frames in order to increase functionality and improve AV quality, and audio frames have high sound quality.
  • Audio post-processing such as sound processing and sound synthesis processing has been applied.
  • the generation of data to be output to the AV may or may not be in time for the PTS. Will do.
  • the retransmission apparatus outputs AV at a timing delayed by a certain time from the PTS designated by the broadcast station. It is also possible to consider delay control for outputting AV with a margin in the decoding time. However, in such delay control, some broadcast stations are not in time, and therefore it is necessary to delay the AV output of all broadcast stations.
  • An object of the present invention is to provide a digital broadcast reproduction apparatus capable of performing control to appropriately delay the output timing of digital broadcast.
  • One aspect of the present invention is a digital broadcast playback device that decodes received digital broadcast stream data and generates digital broadcast frame data and output designated time data of the digital broadcast frame.
  • a delay time calculation unit that calculates a delay time from the output specified time of the digital broadcast frame output possible time, and a maximum delay that holds a maximum value of the delay time and the previously calculated delay time as a maximum delay time
  • a time holding unit and an output timing control unit that controls the output timing so that the digital broadcast frame is output after being delayed by a maximum delay time from the output designated time.
  • Another aspect of the present invention is a digital broadcast reproduction method, wherein the digital broadcast reproduction method decodes received digital broadcast stream data to generate digital broadcast frame data and output designated time data of the digital broadcast frame, Calculates the delay time from the specified output time of the digital broadcast frame output possible time, holds the maximum value of the delay time and the delay time calculated in the past as the maximum delay time, and the maximum digital broadcast frame from the specified output time The output timing is controlled so that the output is delayed by the delay time.
  • FIG. 1 is a block diagram showing a configuration of a digital broadcast playback apparatus according to the first embodiment.
  • FIG. 2 is a histogram showing the distribution of time from reception of a video stream to video output
  • FIG. 3 is a histogram showing a distribution of time from reception of an audio stream to audio output.
  • FIG. 4 is a flowchart showing the flow of video output timing control in the first embodiment.
  • FIG. 5 is a flowchart showing the flow of audio output timing control in the first embodiment.
  • FIG. 6 is an explanatory diagram of the update control of the maximum delay time in the first embodiment.
  • FIG. 7 is a block diagram showing the configuration of the digital broadcast playback device in the second embodiment.
  • FIG. 8 is a flowchart showing the flow of video output timing control in the second embodiment.
  • FIG. 9 is a flowchart showing the flow of audio output timing control in the second embodiment.
  • a digital broadcast reproduction apparatus according to an embodiment of the present invention will be described with reference to the drawings.
  • a digital broadcast reproduction device applied to a mobile phone, a car navigation device, a digital television device, or the like that can reproduce a digital broadcast such as 1 segment or full segment is exemplified.
  • FIG. 1 is a block diagram showing the configuration of the digital broadcast playback apparatus of the present embodiment.
  • the digital broadcast reproduction apparatus 1 includes an STC counter 2 that is a reference time (STC) counter used for reproducing content at a timing intended by the broadcasting station.
  • STC reference time
  • the STC is counted by setting the STC counter 2 in the digital broadcast playback device 1 on the receiving side based on the value inserted as a PCR (Program Clock Reference) at regular intervals by the broadcast station in the transport stream (TS). . That is, it can be said that the STC counter 2 is a counter that generates a reference time intended by the broadcasting station at the receiving terminal.
  • PCR Program Clock Reference
  • the digital broadcast reproduction apparatus 1 includes a video decoding unit 3, a video output timing control unit 4, and a configuration for processing a video stream (video PES) included in a received digital broadcast stream.
  • the image display unit 5 is provided.
  • the digital broadcast reproduction apparatus 1 includes a video delay time calculation unit 6, a maximum delay time determination unit 7, a maximum delay time holding unit 8, and a reset unit 9 as a configuration for performing delay control of video output timing. It has.
  • the digital broadcast reproduction apparatus 1 includes an audio decoding unit 10 and an audio output timing control unit as a configuration for processing an audio stream (audio PES) included in the received digital broadcast stream. 11 and an audio output unit 12. Further, the digital broadcast reproduction apparatus 1 includes an audio delay time calculation unit 13 as a configuration for performing delay control of audio output timing. In this case, the maximum delay time determination unit 7, the maximum delay time holding unit 8, and the reset unit 9 are common.
  • the video decoding unit 3 is a decoder for video streams such as H.264 and MPEG2 specified by digital broadcasting.
  • Data input to the video decoding unit 3 is a video stream (video PES).
  • video PES video stream
  • a stream of video frames to be decoded is associated with a video PTS.
  • the video decoding unit 3 decodes the video stream to generate a video PTS and a video frame. Note that the video decoding unit 3 may perform processing for improving the image quality of the generated video frame.
  • the video delay time calculation unit 6 calculates the time (video delay time) in which the time of the STC counter 2 is delayed from the video PTS at the timing when the video decoding unit 3 completes the processing for one frame.
  • the data input to the video delay time calculation unit 6 is the time of the video PTS from the video decoding unit 3 and the STC counter 2.
  • the video delay time is calculated by the following equation 1.
  • Video delay time time of STC counter 2 ⁇ video PTS (Equation 1)
  • the audio decoding unit 10 is an audio stream decoder such as AAC specified by digital broadcasting. Data input to the audio decoding unit 10 is an audio stream (audio PES). In this audio PES, a stream of audio frames to be decoded and an audio PTS are associated with each other. The audio decoding unit 10 decodes the audio stream to generate an audio PTS and an audio frame. The audio decoding unit 10 may perform a process for improving the sound quality of the generated audio frame.
  • the audio delay time calculation unit 13 calculates a time (audio delay time) in which the time of the STC counter 2 is delayed from the audio PTS at the timing when the audio decoding unit 10 has completed processing for one frame.
  • the data input to the audio delay time calculation unit 13 is the time of the audio PTS from the audio decoding unit 10 and the STC counter 2.
  • the maximum delay time determination unit 7 determines the maximum value of the delay time from the PTS (video PTS and audio PTS) of the entire system.
  • the data input to the maximum delay time determination unit 7 includes the video delay time from the video delay time calculation unit 6, the audio delay time from the audio delay time calculation unit 13, and the maximum currently held in the maximum delay time holding unit 8. Delay time.
  • the maximum delay time determination unit 7 selects the largest one of these delay times (maximum delay time) and stores it in the maximum delay time holding unit 8. As a result, the maximum delay time is updated.
  • the maximum delay time holding unit 8 is configured by a memory or the like, and holds the maximum delay time selected by the maximum delay time determining unit 7. That is, in the maximum delay time holding unit 8, the maximum value of the time (delay time) in which the video frame or audio frame is output after being delayed from the PTS (video PTS or audio PTS) associated therewith. (Maximum delay time) is held. In this case, a predetermined upper limit (upper limit delay time) is set for the maximum delay time.
  • the reset unit 9 has a function of resetting the value of the maximum delay time held in the maximum delay time holding unit 8 to an initial value (for example, 0).
  • the reset of the maximum delay time is executed when there is a change in the broadcast station to be received or a change in the digital broadcast content to be played back.
  • the initial value may be a predetermined value (a predetermined value), and is not limited to 0.
  • the video output timing control unit 4 outputs the video frame to the image display unit 5 at a timing delayed from the video PTS associated with the video frame by the maximum delay time held in the maximum delay time holding unit 8. Delay control of video output timing is performed.
  • the data input to the video output timing control unit 4 includes the video frame and video PTS received from the video decoding unit 3, the time of the STC counter 2, and the maximum delay time of the maximum delay time holding unit 8.
  • the video output timing control unit 4 outputs a video frame to the image display unit 5 only when the following expression 3 is satisfied.
  • STC counter 2 time ⁇ video PTS + maximum delay time (Equation 3)
  • the image display unit 5 has a function of displaying a video frame received from the video output timing control unit 4, and is composed of, for example, a liquid crystal display.
  • the audio output timing control unit 11 outputs the audio frame to the audio output unit 12 at a timing delayed from the audio PTS associated with the audio frame by the maximum delay time held in the maximum delay time holding unit 8. Audio output timing delay control is performed.
  • the data input to the audio output timing control unit 11 includes the audio frame and audio PTS received from the audio decoding unit 10, the time of the STC counter 2, and the maximum delay time of the maximum delay time holding unit 8.
  • the audio output timing control unit 11 outputs an audio frame to the audio output unit 12 only when the following expression 4 is satisfied.
  • STC counter 2 time ⁇ audio PTS + maximum delay time (Formula 4)
  • the audio output unit 12 has a function of outputting the audio frame received from the audio output timing control unit 11 as audio, and is constituted by, for example, a speaker.
  • FIG. 2 is a histogram showing an example of a time distribution from reception of a video stream to video output. As shown in FIG. 2, in this example, most of the range is from about 1100 ms to about 1500 ms centering on about 1350 ms. However, although there is a low frequency, there is a difference time from reception of a video stream to video output of about 500 ms to about 1000 ms, and there is also about 300 ms. As described above, the difference time from the reception of the video stream to the video PTS varies for each broadcasting station.
  • FIG. 3 is a histogram showing an example of a time distribution from reception of an audio stream to audio output. As shown in FIG. 3, in this example, a certain degree of distribution is concentrated in the range of about 130 ms to 140 ms, and a certain degree of distribution is also concentrated in the range of about 240 ms to about 280 ms. As described above, the difference time from the reception of the audio stream to the audio PTS varies for each broadcasting station.
  • FIG. 4 is a flowchart showing the flow of delay control of video output timing. As shown in FIG. 4, first, the video decoding unit 3 decodes (decodes) a video stream included in a digital broadcast stream, and generates a video frame and a video PTS (S10).
  • the video decoding unit 3 decodes (decodes) a video stream included in a digital broadcast stream, and generates a video frame and a video PTS (S10).
  • the video delay time calculation unit 6 calculates a time (video delay time) in which the time of the STC counter 2 is delayed from the video PTS (S11). Then, the maximum delay time determination unit 7 determines whether or not the calculated video delay time is larger than the maximum delay time held in the maximum delay holding unit or smaller than the set upper limit delay time. Performed (S12, S13).
  • the video delay time is stored as a new maximum delay time (S14). That is, the maximum delay time is updated.
  • the maximum delay time is not updated.
  • the video output timing control unit 4 performs delay control of the video output timing using this maximum delay time (S15).
  • delay control for outputting the video frame to the image display unit 5 is performed at a timing delayed from the video PTS associated with the video frame by the maximum delay time.
  • FIG. 5 is a flowchart showing the flow of delay control of audio output timing.
  • the audio decoding unit 10 decodes (decodes) an audio stream included in a digital broadcast stream to generate an audio frame and an audio PTS (S20).
  • the audio delay time calculation unit 13 calculates a time (audio delay time) in which the time of the STC counter 2 is delayed from the audio PTS (S21). Then, the maximum delay time determination unit 7 determines whether or not the calculated audio delay time is larger than the maximum delay time held in the maximum delay holding unit or smaller than the set upper limit delay time. Performed (S22, S23).
  • the audio delay time is stored as a new maximum delay time (S24). That is, the maximum delay time is updated. Note that when the audio delay time is equal to or shorter than the maximum delay time, or when the audio delay time is equal to or longer than the upper limit delay time, the maximum delay time is not updated.
  • the audio output timing control unit 11 performs delay control of the audio output timing using this maximum delay time (S25). In this case, delay control for outputting the audio frame to the image display unit 5 is performed at a timing delayed from the audio PTS associated with the audio frame by the maximum delay time.
  • FIG. 6 is an explanatory diagram showing an example of update control of the maximum delay time.
  • the horizontal axis indicates the system reference time (STC), and the vertical axis indicates the maximum delay time.
  • STC system reference time
  • the vertical axis indicates the maximum delay time.
  • the decoding process has been completed up to PTS1 (for example, video PTS) designated for this stream, and is in time for the frame output timing. .
  • PTS1 for example, video PTS
  • the maximum delay time held in the maximum delay time holding unit 8 is zero.
  • the decoding process is not completed by PTS3 designated for this stream, and the frame output timing is delayed by t1 from PTS3. Therefore, in this case, the maximum delay time held in the maximum delay time holding unit 8 is updated from 0 to t1.
  • the timing delayed by the maximum delay time t1 from the PTS 4 designated for the stream is the frame output timing.
  • the decoding process has not been completed up to the PTS4 designated for the fourth stream, but the decoding process has been completed by the time PTS4 + t1 delayed by the maximum delay time t1 from the PTS4. It will be in time.
  • the decoding process is not completed by the time PTS5 + t1 delayed by the maximum delay time t1 from the PTS5 designated for this stream, and the frame output timing is delayed by t2 from the PTS5. Therefore, in this case, the maximum delay time held in the maximum delay time holding unit 8 is updated from t1 to t2.
  • the AV output delay time is 0, and AV output is performed at the timing of PTS.
  • the processing of the video decoding unit 3 is not in time for the video PTS, and the video delay time calculated by the video delay time calculation unit 6 is the maximum delay time determination unit. 7, the maximum delay time holding unit 8 is set.
  • the video output timing control unit 4 and the audio output timing control unit 11 control the output timing so that the AV output is again synchronized with the AV from the delay time newly set in the maximum delay time holding unit 8.
  • the digital broadcast reproduction device 1 of the first embodiment it is possible to perform control for appropriately delaying the output timing of digital broadcast.
  • the delay time is calculated when the output of the digital broadcast frame is not in time for the designated output time (PTS), and the maximum value (maximum delay time) of the delay time is held. Then, the delay control of the output timing of the digital broadcast is performed using the maximum delay time. Thereby, it is possible to appropriately delay the output timing of digital broadcasting.
  • the video delay time is calculated, and the maximum value of the video delay time (maximum video delay time) is held. Then, the delay control of the video output timing of the video frame is performed using the maximum video delay time. Thereby, it is possible to perform control to appropriately delay the video output timing of the video frame.
  • the audio delay time is calculated when the output of the audio frame of the digital broadcast is not in time for the designated output time (audio PTS), and the maximum value of the audio delay time (maximum audio delay time) is held. Then, the delay control of the audio output timing of the audio frame is performed using the maximum audio delay time. As a result, it is possible to appropriately delay the audio output timing of the audio frame.
  • the delay control of the output timing of digital broadcasting is performed using the maximum delay time common to the video frame and the audio frame. Therefore, it is possible to perform control for appropriately delaying the output timing of digital broadcasting while maintaining AV synchronization.
  • the maximum delay time is reset to the initial value when the broadcast station to be received or the digital broadcast content to be reproduced is changed. Accordingly, it is possible to appropriately delay the output timing of the digital broadcast for each digital broadcast station or content.
  • the delay time may rarely become very large depending on the broadcasting station or content of the digital broadcast, but even in such a case, the maximum delay time becomes excessively large. Therefore, it is possible to perform control to appropriately delay the output timing of digital broadcasting.
  • the digital broadcast reproducing apparatus 1 when the video output is not in time for the video PTS, it is possible to control the AV output while suppressing the output delay of the entire system.
  • the delay time is stored in the maximum delay time holding unit 8 and the maximum delay time is set while confirming that no further delay occurs.
  • the output timing control unit controls the output so as to be delayed from the PTS by the maximum delay time, so that the entire system can reproduce the stream by delaying the minimum delay time from the PTS.
  • this control causes adjustment of the delay time immediately after selecting a broadcast station, but it is possible to almost prevent deterioration in quality while continuously watching for a long time.
  • a reset unit 9 that resets the maximum delay time holding unit 8 when the broadcast station to be received or the content to be played back is changed, playback is performed with a minimum delay time for each broadcast station or content. It is possible.
  • a maximum delay time suitable for each broadcasting station or content can be set in advance at the time of resetting, and it is possible to prevent occurrence of a delay time adjustment process that occurs immediately after the broadcasting station is selected.
  • the maximum delay time determination unit 7 that limits the value of the maximum delay time holding unit 8 so as not to delay more than a predetermined value is included, the maximum delay time is very large depending on the content. Even if it occurs infrequently, it becomes possible to reproduce without significantly increasing the delay time.
  • FIG. 7 is a block diagram showing the configuration of the digital broadcast reproduction apparatus of the present embodiment.
  • the digital broadcast reproduction device 1 includes a video post-processing unit 14 and an audio post-processing unit 15 as a configuration for performing predetermined post-processing after output timing control.
  • the digital broadcast reproducing apparatus 1 includes a video post-processing time holding unit 16 and an audio post-processing time holding unit 17 as a configuration for performing output timing delay control in consideration of post-processing.
  • the video post-processing unit 14 performs post-processing such as video image quality enhancement processing.
  • the video post-processing unit 14 is disposed between the video output timing control unit 4 and the image display unit 5. That is, the video post-processing here refers to post-processing that is performed after the video output timing control.
  • the audio post-processing unit 15 performs post-processing such as high-quality audio frame processing.
  • the audio post-processing unit 15 is disposed between the audio output timing control unit 11 and the audio output unit 12. That is, the audio post-processing here refers to post-processing that is performed after the audio output timing control.
  • the video post-processing time holding unit 16 and the audio post-processing time holding unit 17 are configured by a memory or the like.
  • the video post-processing time holding unit 16 includes a time required for post-processing by the video post-processing unit 14 (post-video).
  • the audio post-processing time holding unit 17 holds the time required for post-processing in the audio post-processing unit 15 (audio post-processing time).
  • the video delay time calculation unit 6 calculates the time (video delay time) in which the time of the STC counter 2 is delayed from the video PTS at the timing when the video post-processing time has elapsed after the video decoding unit 3 has completed processing for one frame. To do.
  • the data input to the video delay time calculation unit 6 includes the video PTS from the video decoding unit 3, the video post-processing time, and the STC counter 2 time.
  • the video delay time is calculated by the following equation 5.
  • Video delay time STC counter 2 time + video post-processing time ⁇ video PTS (Formula 5)
  • the audio delay time calculation unit 13 calculates a time (audio delay time) in which the time of the STC counter 2 is delayed from the audio PTS at the timing when the audio post-processing time has elapsed after the audio decoding unit 10 has completed processing for one frame. To do.
  • the data input to the audio delay time calculation unit 13 includes the audio PTS from the audio decoding unit 10, the audio post-processing time, and the time of the STC counter 2.
  • FIG. 8 is a flowchart showing a flow of delay control of video output timing in consideration of video post-processing time.
  • the video decoding unit 3 decodes (decodes) a video stream included in a digital broadcast stream, and generates a video frame and a video PTS (S30).
  • the video delay time calculation unit 6 calculates a time (video delay time) in which the time of the STC counter 2 after video post-processing is delayed from the video PTS (S31). Then, the maximum delay time determination unit 7 determines whether or not the calculated video delay time is larger than the maximum delay time held in the maximum delay holding unit or smaller than the set upper limit delay time. Performed (S32, S33).
  • the video delay time is stored as a new maximum delay time (S34). That is, the maximum delay time is updated.
  • the maximum delay time is not updated.
  • the video output timing control unit 4 performs delay control of the video output timing using this maximum delay time (S35).
  • delay control for outputting the video frame to the video post-processing unit 14 is performed at a timing delayed from the video PTS associated with the video frame by the maximum delay time.
  • the video post-processing unit 14 performs post-processing such as high image quality processing on the video frame from the video output timing control unit 4 (S36)
  • the video frame is output to the image output unit.
  • FIG. 9 is a flowchart showing a flow of delay control of audio output timing in consideration of audio post-processing time.
  • the audio decoding unit 10 decodes (decodes) an audio stream included in a digital broadcast stream to generate an audio frame and an audio PTS (S40).
  • the audio delay time calculation unit 13 calculates a time (audio delay time) in which the time of the STC counter 2 after audio post-processing is delayed from the audio PTS (S41). Then, the maximum delay time determination unit 7 determines whether or not the calculated audio delay time is larger than the maximum delay time held in the maximum delay holding unit or smaller than the set upper limit delay time. Performed (S42, S43).
  • the audio delay time is stored as a new maximum delay time (S44). That is, the maximum delay time is updated. Note that when the audio delay time is equal to or shorter than the maximum delay time, or when the audio delay time is equal to or longer than the upper limit delay time, the maximum delay time is not updated.
  • the audio output timing control unit 11 performs delay control of the audio output timing using this maximum delay time (S45).
  • delay control for outputting the audio frame to the audio post-processing unit 15 is performed at a timing delayed from the audio PTS associated with the audio frame by the maximum delay time.
  • the audio post-processing unit 15 performs post-processing such as high image quality processing on the audio frame from the audio output timing control unit 11 (S46)
  • the audio frame is output to the audio output unit 12.
  • control for appropriately delaying the output timing of digital broadcasting is performed in consideration of the time required for subsequent processing (post-processing time). It can be carried out.
  • the video output timing of the video frame is appropriately delayed in consideration of the time required for the subsequent processing (video post-processing time) Can be controlled.
  • the audio output timing of the audio frame is appropriately delayed in consideration of the time required for subsequent processing (audio post-processing time) Can be controlled.
  • the digital broadcast playback apparatus 1 as described above, even if video post-processing and audio post-processing having different processing times occur after the timing of controlling AV synchronization, the entire system is ensured while ensuring final AV synchronization. Thus, it is possible to control the output delay.
  • the digital broadcast reproduction apparatus of the present invention decodes received digital broadcast stream data to generate digital broadcast frame data and output designated time data of the digital broadcast frame, and the output time of the digital broadcast frame.
  • a delay time calculating unit that calculates a delay time from the output designated time; a maximum delay time holding unit that holds a maximum value of the delay time and a previously calculated delay time as a maximum delay time; and the digital broadcast frame
  • an output timing control unit that controls output timing so that the output is delayed by the maximum delay time from the output designated time.
  • the delay time is calculated when the output of the digital broadcast frame is not in time for the designated output time (PTS), and the maximum delay time (maximum delay time) is held. Then, the delay control of the output timing of the digital broadcast is performed using the maximum delay time. Thereby, it is possible to appropriately delay the output timing of digital broadcasting.
  • the decoding unit decodes video stream data included in the digital broadcast stream data, and generates video frame data and video output designated time data of the video frame.
  • the delay time calculation unit includes a video delay time calculation unit that calculates a delay time from the video output designated time of the video output available time of the video frame as a video delay time, and the maximum delay time holding unit Holds the maximum value of the video delay time and the video delay time calculated in the past as the video maximum delay time, and the output timing control unit receives the video frame from the video output designated time.
  • Video output timing so that output is delayed by the maximum delay time And it has a configuration including a video output timing control unit for controlling.
  • the video delay time is calculated when the output of the digital broadcast video frame is not in time for the designated output time (video PTS), and the maximum value of the video delay time (the maximum video delay time) is held. Then, the delay control of the video output timing of the video frame is performed using the maximum video delay time. Thereby, it is possible to perform control to appropriately delay the video output timing of the video frame.
  • the decoding unit decodes audio stream data included in the digital broadcast stream data, and generates audio frame data and audio output designated time data of the audio frame.
  • the delay time calculating unit includes an audio delay time calculating unit that calculates a delay time from the audio output designated time of the audio output available time of the audio frame as an audio delay time, and the maximum delay time holding unit The maximum value of the audio delay time and the audio delay time calculated in the past is held as the maximum audio delay time, and the output timing control unit transmits the audio frame from the audio output specified time to the audio output time. And it has a configuration including an audio output timing control unit for controlling the audio output timing to output delayed by I o maximum delay time.
  • the audio delay time is calculated when the output of the digital broadcast audio frame is not in time for the designated output time (audio PTS), and the maximum value of the audio delay time (audio maximum delay time) is held. Then, the delay control of the audio output timing of the audio frame is performed using the maximum audio delay time. As a result, it is possible to appropriately delay the audio output timing of the audio frame.
  • the maximum delay time holding unit has a larger value of the maximum video delay time and the maximum audio delay time that is common to the video frame and the audio frame. Stored as maximum delay time.
  • delay control of digital broadcast output timing is performed using a maximum delay time common to video frames and audio frames. Therefore, it is possible to perform control for appropriately delaying the output timing of digital broadcasting while maintaining AV synchronization.
  • the digital broadcast reproduction apparatus of the present invention includes a post-processing unit that performs predetermined post-processing on the digital broadcast frame output from the output timing control unit, and post-processing that holds the time required for the post-processing as post-processing time And a time holding unit, wherein the delay time calculating unit calculates the delay time based on the post-processing time.
  • the post-processing unit includes a video post-processing unit that performs predetermined image processing as post-processing on the video frame output from the video output timing control unit, and the post-processing time
  • the holding unit includes a video post-processing time holding unit that holds a time required for the image processing as a video post-processing time, and the video delay time calculating unit adds the video post-processing time to a video output possible time of the video frame. The video delay time is calculated by adding them.
  • the video output timing of the video frame is appropriately set in consideration of the time required for the subsequent processing (video post-processing time) Can be delayed.
  • the post-processing unit includes an audio post-processing unit that performs predetermined audio processing as post-processing on the audio frame output from the audio output timing control unit, and the post-processing time
  • the holding unit includes an audio post-processing time holding unit that holds the time required for the image processing as an audio post-processing time, and the audio delay time calculating unit sets the audio post-processing time to the audio output possible time of the audio frame. The audio delay time is calculated by adding them.
  • the audio output timing of the audio frame is appropriately set in consideration of the time required for the subsequent processing (audio post-processing time) Can be delayed.
  • the digital broadcast reproduction apparatus of the present invention has a configuration including a reset unit that resets the maximum delay time to a predetermined initial value based on a change of a broadcast station to be received or a change of digital broadcast content to be reproduced. ing.
  • This configuration resets the maximum delay time to the initial value when the receiving broadcast station or the digital broadcast content to be played back is changed. Accordingly, it is possible to appropriately delay the output timing of the digital broadcast for each digital broadcast station or content.
  • the maximum delay time is limited to be smaller than a predetermined upper limit delay time.
  • the delay time may rarely become very large depending on the broadcasting station or content of the digital broadcast, but even in such a case, the maximum delay time is prevented from becoming excessively large, Control for appropriately delaying the output timing of digital broadcasting can be performed.
  • the digital broadcast reproduction method of the present invention decodes the received digital broadcast stream data to generate digital broadcast frame data and output designation time data of the digital broadcast frame, and the output designation of the output possible time of the digital broadcast frame A delay time from the time is calculated, the maximum value of the delay time and the previously calculated delay time is held as a maximum delay time, and the digital broadcast frame is output after being delayed by the maximum delay time from the output designated time
  • the output timing is controlled as described above.
  • the delay time is calculated when the output of the digital broadcast frame is not in time for the designated output time (PTS), and the maximum delay time (maximum delay time) is held. Then, the delay control of the output timing of the digital broadcast is performed using the maximum delay time. Thereby, it is possible to appropriately delay the output timing of digital broadcasting.
  • the digital broadcast reproduction apparatus has an effect of appropriately delaying the output timing of the digital broadcast, and is capable of reproducing a digital broadcast such as 1 segment or full segment. It is useful for telephones, car navigation devices, digital television devices and the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Television Receiver Circuits (AREA)
  • Television Systems (AREA)

Abstract

 デジタル放送再生装置(1)は、受信したデジタル放送ストリームデータを復号して、デジタル放送フレームデータと出力指定時刻データを生成するデコード部(3、10)と、デジタル放送フレームの出力可能時刻の出力指定時刻からの遅延時間を算出する遅延時間算出部(6、13)と、遅延時間と過去に算出した遅延時間のうちの最大値を最大遅延時間として保持する最大遅延時間保持部(8)と、デジタル放送の出力タイミングの制御を行う出力タイミング制御部(4、11)を備える。この出力タイミング制御部(4、11)は、デジタル放送フレームを出力指定時刻から最大遅延時間だけ遅らせて出力するように出力タイミングの制御を行う。これにより、デジタル放送の出力タイミングを適切に遅延させる制御を行うことのできるデジタル放送再生装置が提供される。

Description

デジタル放送再生装置およびデジタル放送再生方法
 本発明は、デジタル放送のストリームデータを復号して出力する機能を備えたデジタル放送再生装置に関するものである。
 近年、デジタル放送が開始され、各放送局は符号化されたビデオストリームやオーディオストリームをTS(Transport Stream)形式に変換して配信している。デジタル放送再生装置は、受信したTS形式のストリームをビデオストリームやオーディオストリームに分離し、それぞれに復号処理を施すことによりビデオフレームやオーディオフレームを生成し、画面やスピーカーから映像や音声を出力する。
 このデジタル放送では、デジタル放送再生装置におけるAV出力のタイミングを制御するために、システムの基準時間を示すSTC(System Time Clock)を配信すると共に、STCに対応した時刻を示すPTS(Presentation Time Stamp)を各ビデオフレームや各オーディオフレームに対応付けてビデオストリーム(ビデオPES)やオーディオストリーム(オーディオPES)で配信している。
 ところで、近年のデジタル放送再生装置では、多機能化やAV品質向上のために、ビデオフレームには、高画質化処理や合成処理といったビデオ後処理が施され、また、オーディオフレームには、高音質化処理や音合成処理といったオーディオ後処理が適用されるようになってきている。
 ところが、ビデオ後処理とオーディオ後処理では実行時間に大きな差異がある。そこで、従来、リップシンクをとるために、処理時間の短いオーディオ処理を遅延させるという遅延制御が行われている。例えば、従来のデジタル放送の遅延制御技術として、ビデオ後処理の実行時間を測定し、測定した実行時間分だけオーディオ出力を遅延させる放送受信機が提案されている(例えば特許文献1参照)。
特開2003-348489号公報
 しかしながら、従来の放送受信機においては、ビデオ後処理やオーディオ後処理で実施する内容が多くなり、受信するコンテンツによっては、AV出力するデータの生成が放送局の指定するPTSに間に合わなくなる。AVデータの生成がPTSに間に合わない場合、デジタル放送再生装置の画面やスピーカーの出力からは映像や音の乱れが生じ、端末のAV品質を低下させることになる。
 また、選局する放送局ごとに、TS受信タイミングからAV出力するまでの時間を決定付けるPTSの設定が異なることから、受信する放送局によってAV出力するデータの生成がPTSに間に合ったり間に合わなかったりすることになる。
 そこで、全ての放送局に対して上記のようなAV品質の低下をまねくことがないように制御するために、放送局の指定するPTSから一定時間遅れたタイミングでAV出力するように、再送装置のデコード時間にマージンを持たせてAV出力する遅延制御も考えられうる。しかし、そのような遅延制御では、一部の放送局が間に合わないために、全ての放送局のAV出力まで遅延させなければならない。
 本発明は、上記背景の下でなされたものである。本発明の目的は、デジタル放送の出力タイミングを適切に遅延させる制御を行うことのできるデジタル放送再生装置を提供することにある。
 本発明の一の態様は、デジタル放送再生装置であり、このデジタル放送再生装置は、受信したデジタル放送ストリームデータを復号して、デジタル放送フレームデータとデジタル放送フレームの出力指定時刻データを生成するデコード部と、デジタル放送フレームの出力可能時刻の出力指定時刻からの遅延時間を算出する遅延時間算出部と、遅延時間と過去に算出した遅延時間のうちの最大値を最大遅延時間として保持する最大遅延時間保持部と、デジタル放送フレームを出力指定時刻から最大遅延時間だけ遅らせて出力するように出力タイミングの制御を行う出力タイミング制御部と、を備えている。
 本発明の別の態様は、デジタル放送再生方法であり、このデジタル放送再生方法は、受信したデジタル放送ストリームデータを復号して、デジタル放送フレームデータとデジタル放送フレームの出力指定時刻データを生成し、デジタル放送フレームの出力可能時刻の出力指定時刻からの遅延時間を算出し、遅延時間と過去に算出した遅延時間のうちの最大値を最大遅延時間として保持し、デジタル放送フレームを出力指定時刻から最大遅延時間だけ遅らせて出力するように出力タイミングの制御を行うものである。
 以下に説明するように、本発明には他の態様が存在する。したがって、この発明の開示は、本発明の一部の態様の提供を意図しており、ここで記述され請求される発明の範囲を制限することは意図していない。
図1は、第1の実施の形態におけるデジタル放送再生装置の構成を示すブロック図 図2は、ビデオストリームの受信からビデオ出力までの時間の分布を示すヒストグラム 図3は、オーディオストリームの受信からオーディオ出力までの時間の分布を示すヒストグラム 図4は、第1の実施の形態におけるビデオ出力タイミング制御の流れを示すフロー図 図5は、第1の実施の形態におけるオーディオ出力タイミング制御の流れを示すフロー図 図6は、第1の実施の形態における最大遅延時間の更新制御の説明図 図7は、第2の実施の形態におけるデジタル放送再生装置の構成を示すブロック図 図8は、第2の実施の形態におけるビデオ出力タイミング制御の流れを示すフロー図 図9は、第2の実施の形態におけるオーディオ出力タイミング制御の流れを示すフロー図
 以下に本発明の詳細な説明を述べる。ただし、以下の詳細な説明と添付の図面は発明を限定するものではない。代わりに、発明の範囲は添付の請求の範囲により規定される。
 以下、本発明の実施の形態のデジタル放送再生装置について、図面を用いて説明する。本実施の形態では、1セグやフルセグ等のデジタル放送を再生可能な携帯電話機、カーナビゲーション装置、デジタルテレビ装置等に適用されるデジタル放送再生装置を例示する。
(第1の実施の形態)
 本発明の第1の実施の形態のデジタル放送再生装置について、図面を用いて説明する。ここでは、まず、本実施の形態のデジタル放送再生装置の構成について説明する。図1は、本実施の形態のデジタル放送再生装置の構成を示すブロック図である。図1に示すように、デジタル放送再生装置1は、放送局側の意図したタイミングでコンテンツを再生するために使用する基準時間(STC)のカウンタであるSTCカウンタ2を備えている。
 STCは、放送局がトランスポートストリーム(TS)中に一定間隔でPCR(Program Clock Reference)として挿入する値を元に、受信側のデジタル放送再生装置1でSTCカウンタ2に設定してカウントされる。つまり、STCカウンタ2は、放送局側の意図する基準時間を受信端末で生成するカウンタであるといえる。
 図1に示すように、デジタル放送再生装置1は、受信したデジタル放送のストリームに含まれるビデオストリーム(ビデオPES)を処理するための構成として、ビデオデコード部3と、ビデオ出力タイミング制御部4と、画像表示部5を備えている。さらに、このデジタル放送再生装置1は、ビデオ出力タイミングの遅延制御を行うための構成として、ビデオ遅延時間算出部6と、最大遅延時間判定部7と、最大遅延時間保持部8と、リセット部9を備えている。
 また、図1に示すように、デジタル放送再生装置1は、受信したデジタル放送のストリームに含まれるオーディオストリーム(オーディオPES)を処理するための構成として、オーディオデコード部10と、オーディオ出力タイミング制御部11と、音声出力部12を備えている。さらに、このデジタル放送再生装置1は、オーディオ出力タイミングの遅延制御を行うための構成として、オーディオ遅延時間算出部13を備えている。この場合、最大遅延時間判定部7と、最大遅延時間保持部8と、リセット部9は、共通である。
 ビデオデコード部3は、デジタル放送で指定されるH.264やMPEG2などのビデオストリームのデコーダである。ビデオデコード部3に入力されるデータはビデオストリーム(ビデオPES)であり、このビデオPESでは、復号するビデオフレームのストリームと、ビデオPTSが対応付けられている。ビデオデコード部3は、このビデオストリームを復号してビデオPTSとビデオフレームを生成する。なお、このビデオデコード部3では、生成したビデオフレームを高画質化する処理などが行われても良い。
 ビデオ遅延時間算出部6は、ビデオデコード部3が1フレーム分の処理を完了したタイミングで、STCカウンタ2の時間がビデオPTSから遅れている時間(ビデオ遅延時間)を算出する。このビデオ遅延時間算出部6に入力されるデータは、ビデオデコード部3からのビデオPTSとSTCカウンタ2の時間である。このビデオ遅延時間算出部6では、ビデオ遅延時間が以下の式1により算出される。
 ビデオ遅延時間=STCカウンタ2の時間-ビデオPTS (式1)
 オーディオデコード部10は、デジタル放送で指定されるAACなどのオーディオストリームのデコーダである。オーディオデコード部10に入力されるデータは、オーディオストリーム(オーディオPES)であり、このオーディオPESでは、復号するオーディオフレームのストリームと、オーディオPTSが対応付けられている。オーディオデコード部10は、このオーディオストリームを復号してオーディオPTSとオーディオフレームを生成する。なお、このオーディオデコード部10では、生成したオーディオフレームを高音質化する処理などが行われても良い。
 オーディオ遅延時間算出部13は、オーディオデコード部10が1フレーム分の処理が完了したタイミングで、STCカウンタ2の時間がオーディオPTSから遅れている時間(オーディオ遅延時間)を算出する。このオーディオ遅延時間算出部13に入力されるデータは、オーディオデコード部10からのオーディオPTSとSTCカウンタ2の時間である。このオーディオ遅延時間算出部13では、オーディオ遅延時間が以下の式2により算出される。
 オーディオ遅延時間=STCカウンタ2の時間-オーディオPTS (式2)
 最大遅延時間判定部7は、システム全体のPTS(ビデオPTSおよびオーディオPTS)からの遅延時間の最大値を判定する。最大遅延時間判定部7に入力されるデータは、ビデオ遅延時間算出部6からのビデオ遅延時間、オーディオ遅延時間算出部13からのオーディオ遅延時間、最大遅延時間保持部8に現在保持されている最大遅延時間である。最大遅延時間判定部7は、これらの遅延時間のうち最大のもの(最大遅延時間)を選択して最大遅延時間保持部8に保存する。これにより、最大遅延時間の更新が行われる。
 最大遅延時間保持部8は、メモリなどで構成されており、上記の最大遅延時間判定部7で選択された最大遅延時間を保持する。つまり、この最大遅延時間保持部8には、ビデオフレームやオーディオフレームが、それらに対応付けられているPTS(ビデオPTSやオーディオPTS)から遅れて出力される時間(遅延時間)のうちの最大値(最大遅延時間)が保持されている。この場合、最大遅延時間には、所定の上限(上限遅延時間)が設定されている。
 リセット部9は、最大遅延時間保持部8に保持されている最大遅延時間の値を初期値(例えば0など)にリセットする機能を有している。この最大遅延時間のリセットは、受信する放送局の変更や再生するデジタル放送コンテンツの変更があったときに実行される。なお、初期値は、所定の値(あらかじめ定めた値)であればよく、0に限られるものではない。
 ビデオ出力タイミング制御部4では、ビデオフレームに対応付けられたビデオPTSから最大遅延時間保持部8に保持されている最大遅延時間の分だけ遅らせたタイミングで、ビデオフレームを画像表示部5に出力するビデオ出力タイミングの遅延制御が行われる。このビデオ出力タイミング制御部4に入力されるデータは、ビデオデコード部3から受けるビデオフレームおよびビデオPTSと、STCカウンタ2の時間と、最大遅延時間保持部8の最大遅延時間である。なお、このビデオ出力タイミング制御部4は、以下の式3が成立した場合にのみビデオフレームを画像表示部5に出力する。
 STCカウンタ2の時間≧ビデオPTS+最大遅延時間 (式3)
 画像表示部5は、ビデオ出力タイミング制御部4から受けるビデオフレームを表示する機能を備えており、例えば液晶ディスプレイ等で構成される。
 オーディオ出力タイミング制御部11では、オーディオフレームに対応付けられたオーディオPTSから最大遅延時間保持部8に保持されている最大遅延時間の分だけ遅らせたタイミングで、オーディオフレームを音声出力部12に出力するオーディオ出力タイミングの遅延制御が行われる。このオーディオ出力タイミング制御部11に入力されるデータは、オーディオデコード部10から受けるオーディオフレームおよびオーディオPTSと、STCカウンタ2の時間と、最大遅延時間保持部8の最大遅延時間である。なお、このオーディオ出力タイミング制御部11は、以下の式4が成立した場合にのみオーディオフレームを音声出力部12に出力する。
 STCカウンタ2の時間≧オーディオPTS+最大遅延時間 (式4)
 音声出力部12は、オーディオ出力タイミング制御部11から受けるオーディオフレームを音声出力する機能を備えており、例えばスピーカー等で構成される。
 つぎに、図2および図3を参照して、デジタル放送ストリーム(ビデオストリームやオーディオストリーム)の受信からPTSまでの時間の統計的な分布について説明する。
 図2は、ビデオストリームの受信からビデオ出力までの時間の分布の一例を示すヒストグラムである。図2に示すように、この例では、約1350msを中心に約1100ms~約1500msまでの範囲のものが大部分である。ところが、少ない頻度ではあるが、ビデオストリームの受信からビデオ出力までの差分時間が約500ms~約1000msというものも存在しており、中には約300msというものもある。このように、ビデオストリームの受信からビデオPTSまでの差分時間は、放送局ごとにばらつきがある。
 図3は、オーディオストリームの受信からオーディオ出力までの時間の分布の一例を示すヒストグラムである。図3に示すように、この例では、約130ms~140msの範囲にある程度の分布が集中しているほか、約240ms~約280msの範囲にもある程度の分布が集中している。このように、オーディオストリームの受信からオーディオPTSまでの差分時間は、放送局ごとにばらつきがある。
 以上のように構成された第1の実施の形態のデジタル放送再生装置1について、図面を用いてその動作を説明する。
 本実施の形態のデジタル放送再生装置1では、上述のように受信からPTSまでの差分時間に放送局ごとのばらつきがある状況において(図2および図3参照)、出力タイミングの適切な遅延制御を行うことができる。以下、この出力タイミングの遅延制御を中心に説明する。
(ビデオ出力タイミングの遅延制御)
 図4は、ビデオ出力タイミングの遅延制御の流れを示すフロー図である。図4に示すように、まず、ビデオデコード部3において、デジタル放送のストリームに含まれるビデオストリームの復号(デコード)が行われ、ビデオフレームとビデオPTSが生成される(S10)。
 つぎに、ビデオ遅延時間算出部6において、STCカウンタ2の時間がビデオPTSから遅れている時間(ビデオ遅延時間)が算出される(S11)。そして、最大遅延時間判定部7において、この算出したビデオ遅延時間が最大遅延保持部に保持されている最大遅延時間より大きいか否か、設定されている上限遅延時間より小さいか否かの判定が行われる(S12、S13)。
 ビデオ遅延時間が最大遅延時間より大きくかつ上限遅延時間より小さい場合には、このビデオ遅延時間が新しい最大遅延時間として保存される(S14)。つまり、最大遅延時間が更新される。なお、ビデオ遅延時間が最大遅延時間以下である場合、上限遅延時間以上である場合には、最大遅延時間の更新は行われない。
 そして、ビデオ出力タイミング制御部4において、この最大遅延時間を用いてビデオ出力タイミングの遅延制御が行われる(S15)。この場合、ビデオフレームに対応付けられたビデオPTSから最大遅延時間の分だけ遅らせたタイミングで、ビデオフレームを画像表示部5に出力する遅延制御が行われる。
(オーディオ出力タイミングの遅延制御)
 図5は、オーディオ出力タイミングの遅延制御の流れを示すフロー図である。図5に示すように、まず、オーディオデコード部10において、デジタル放送のストリームに含まれるオーディオストリームの復号(デコード)が行われ、オーディオフレームとオーディオPTSが生成される(S20)。
 つぎに、オーディオ遅延時間算出部13において、STCカウンタ2の時間がオーディオPTSから遅れている時間(オーディオ遅延時間)が算出される(S21)。そして、最大遅延時間判定部7において、この算出したオーディオ遅延時間が最大遅延保持部に保持されている最大遅延時間より大きいか否か、設定されている上限遅延時間より小さいか否かの判定が行われる(S22、S23)。
 オーディオ遅延時間が最大遅延時間より大きくかつ上限遅延時間より小さい場合には、このオーディオ遅延時間が新しい最大遅延時間として保存される(S24)。つまり、最大遅延時間が更新される。なお、オーディオ遅延時間が最大遅延時間以下である場合、上限遅延時間以上である場合には、最大遅延時間の更新は行われない。
 そして、オーディオ出力タイミング制御部11において、この最大遅延時間を用いてオーディオ出力タイミングの遅延制御が行われる(S25)。この場合、オーディオフレームに対応付けられたオーディオPTSから最大遅延時間の分だけ遅らせたタイミングで、オーディオフレームを画像表示部5に出力する遅延制御が行われる。
(最大遅延時間の更新制御)
 図6は、最大遅延時間の更新制御の一例を示す説明図である。図6のグラフでは、横軸にシステムの基準時間(STC)が示されており、縦軸に最大遅延時間が示されている。グラフの下には、基準時間(STC)の流れに沿って6つのストリーム(例えばビデオストリーム)をデコード処理(図では斜線で示される)する様子が示されている。
 図6の例では、放送局を選択した直後の1つ目のストリームでは、このストリームについて指定されたPTS1(例えばビデオPTS)までにデコード処理が完了しており、フレーム出力のタイミングに間に合っている。2つ目のストリームデータについても同様である。なお、このとき、最大遅延時間保持部8に保持されている最大遅延時間は0である。
 ところが、3つ目のストリームでは、このストリームについて指定されたPTS3までにデコード処理が完了せず、フレーム出力のタイミングがPTS3からt1だけ遅延している。したがって、この場合、最大遅延時間保持部8に保持されている最大遅延時間が0からt1に更新される。
 その後、4つ目のストリームでは、そのストリームについて指定されたPTS4から最大遅延時間t1だけ遅らせたタイミングが、フレーム出力のタイミングとなる。この場合、4つ目のストリームについて指定されたPTS4までにはデコード処理が完了していないものの、PTS4から最大遅延時間t1だけ遅らせた時間PTS4+t1までにはデコード処理が完了しており、フレーム出力のタイミングに間に合うことになる。
 5つ目のストリームでは、このストリームについて指定されたPTS5から最大遅延時間t1だけ遅らせた時間PTS5+t1までにデコード処理が完了せず、フレーム出力のタイミングがPTS5からt2だけ遅延している。したがって、この場合、最大遅延時間保持部8に保持されている最大遅延時間がt1からt2に更新される。
 このように、図6の例では、放送局を選局した直後は、AV出力遅延時間は0であり、PTSのタイミングでAV出力されている。その後、受信からPTSまでの時間が非常に短いストリームを受信すると、ビデオデコード部3の処理がビデオPTSに間に合わず、ビデオ遅延時間算出部6で算出されたビデオ遅延時間が、最大遅延時間判定部7により最大遅延時間保持部8に設定される。これにより、ビデオ出力タイミング制御部4およびオーディオ出力タイミング制御部11は、最大遅延時間保持部8に新たに設定された遅延時間から再度AV同期して出力するように、出力タイミングの制御を行う。
 このような第1の実施の形態のデジタル放送再生装置1によれば、デジタル放送の出力タイミングを適切に遅延させる制御を行うことができる。
 すなわち、本実施の形態では、デジタル放送フレームの出力が出力指定時刻(PTS)に間に合わないときに遅延時間が算出され、その遅延時間の最大値(最大遅延時間)が保持される。そして、この最大遅延時間を用いてデジタル放送の出力タイミングの遅延制御が行われる。これにより、デジタル放送の出力タイミングを適切に遅延させる制御を行うことができる。
 例えば、デジタル放送のビデオフレームの出力が出力指定時刻(ビデオPTS)に間に合わないときにビデオ遅延時間が算出され、そのビデオ遅延時間の最大値(ビデオ最大遅延時間)が保持される。そして、このビデオ最大遅延時間を用いてビデオフレームのビデオ出力タイミングの遅延制御が行われる。これにより、ビデオフレームのビデオ出力タイミングを適切に遅延させる制御を行うことができる。
 または、デジタル放送のオーディオフレームの出力が出力指定時刻(オーディオPTS)に間に合わないときにオーディオ遅延時間が算出され、そのオーディオ遅延時間の最大値(オーディオ最大遅延時間)が保持される。そして、このオーディオ最大遅延時間を用いてオーディオフレームのオーディオ出力タイミングの遅延制御が行われる。これにより、オーディオフレームのオーディオ出力タイミングを適切に遅延させる制御を行うことができる。
 また、本実施の形態では、ビデオフレームとオーディオフレームに共通の最大遅延時間を用いて、デジタル放送の出力タイミングの遅延制御が行われる。したがって、AV同期をとりながら、デジタル放送の出力タイミングを適切に遅延させる制御を行うことができる。
 また、本実施の形態では、受信する放送局や再生するデジタル放送コンテンツが変更されたときに、最大遅延時間が初期値にリセットされる。したがって、デジタル放送の放送局ごとやコンテンツごとに、デジタル放送の出力タイミングを適切に遅延させる制御を行うことができる。
 また、本実施の形態では、デジタル放送の放送局やコンテンツによっては稀に遅延時間が非常に大きくなることがあり得るが、そのような場合であっても、最大遅延時間が過度に大きくなることが防止され、デジタル放送の出力タイミングを適切に遅延させる制御を行うことができる。
 以上のようなデジタル放送再生装置1によれば、ビデオ出力が前記ビデオPTSに間に合わない場合にシステム全体の出力遅延を抑えてAV出力を制御することができる。
 この場合、受信したストリームをデコードして出力するまでの時間がPTSから遅れた場合、その遅延時間を最大遅延時間保持部8に保存し、さらに大きな遅延が発生しないか確認しつつ最大遅延時間を更新すると共に、出力タイミング制御部がPTSから前記最大遅延時間遅れて出力するように制御することによって、システム全体としてPTSから最低限度の遅延時間遅らせることでストリームの再生を行うことが可能である。また、この制御によって、放送局を選曲した直後に遅延時間の調整が発生するが、長時間連続で視聴し続けている間、品質の劣化をほとんど防ぐことが可能となる。
 また、ビデオもしくはオーディオのいずれかの遅延が発生しても、システム共通で使用する前記最大遅延時間に遅延を反映させることで、AV同期を取りつつ、システム全体としてPTSから最低限度の時間遅らせることによって、ストリームの再生を行うことが可能である。
 さらに、受信する放送局の変更や再生するコンテンツが変更された場合に前記最大遅延時間保持部8をリセットするリセット部9を持つことにより、放送局やコンテンツ毎に最低限の遅延時間で再生することが可能である。また、あらかじめ放送局やコンテンツ毎に適した最大遅延時間をリセット時に設定することも可能となり、放送局の選局直後に発生する遅延時間の調整処理の発生を防ぐことも可能になる。
 さらに、上記の最大遅延時間保持部8の値があらかじめ決められた値以上に遅延しないように制限する最大遅延時間判定部7を持つことにより、コンテンツによって最大遅延時間を非常に大きなものとする場合が稀に発生することがあっても、遅延時間を大幅に大きくすることなく再生することが可能になる。
(第2の実施の形態)
 次に、本発明の第2の実施の形態のデジタル放送再生装置について、図面を用いて説明する。ここでは、本実施の形態のデジタル放送再生装置の構成が、第1の実施の形態と相違する点を中心に説明する。つまり、ここで特に言及しない限り、本実施の形態のデジタル放送再生装置の構成は、第1の実施の形態と同様である。
 図7は、本実施の形態のデジタル放送再生装置の構成を示すブロック図である。図7に示すように、デジタル放送再生装置1は、出力タイミング制御の後に所定の後処理を行うための構成として、ビデオ後処理部14とオーディオ後処理部15を備えている。そして、このデジタル放送再生装置1は、後処理を考慮した出力タイミングの遅延制御を行うための構成として、ビデオ後処理時間保持部16とオーディオ後処理時間保持部17を備えている。
 ビデオ後処理部14は、ビデオフレームの高画質化処理などの後処理を実行する。このビデオ後処理部14は、ビデオ出力タイミング制御部4と画像表示部5の間に配置されている。つまり、ここでいうビデオ後処理は、ビデオ出力タイミング制御の後段で行われる後処理をいう。
 オーディオ後処理部15は、オーディオフレームの高音質化処理などの後処理を実行する。このオーディオ後処理部15は、オーディオ出力タイミング制御部11と音声出力部12の間に配置されている。つまり、ここでいうオーディオ後処理は、オーディオ出力タイミング制御の後段で行われる後処理をいう。
 ビデオ後処理時間保持部16およびオーディオ後処理時間保持部17は、メモリなどで構成されており、ビデオ後処理時間保持部16には、ビデオ後処理部14での後処理に要する時間(ビデオ後処理時間)が保持されており、オーディオ後処理時間保持部17には、オーディオ後処理部15での後処理に要する時間(オーディオ後処理時間)が保持されている。
 ビデオ遅延時間算出部6は、ビデオデコード部3が1フレーム分の処理が完了後にビデオ後処理時間経過したタイミングで、STCカウンタ2の時間がビデオPTSから遅れている時間(ビデオ遅延時間)を算出する。このビデオ遅延時間算出部6に入力されるデータは、ビデオデコード部3からのビデオPTSとビデオ後処理時間とSTCカウンタ2の時間である。このビデオ遅延時間算出部6では、ビデオ遅延時間が以下の式5により算出される。
 ビデオ遅延時間=STCカウンタ2の時間+ビデオ後処理時間-ビデオPTS (式5)
 オーディオ遅延時間算出部13は、オーディオデコード部10が1フレーム分の処理が完了後にオーディオ後処理時間経過したタイミングで、STCカウンタ2の時間がオーディオPTSから遅れている時間(オーディオ遅延時間)を算出する。このオーディオ遅延時間算出部13に入力されるデータは、オーディオデコード部10からのオーディオPTSとオーディオ後処理時間とSTCカウンタ2の時間である。このオーディオ遅延時間算出部13では、オーディオ遅延時間が以下の式6により算出される。
 オーディオ遅延時間=STCカウンタ2の時間+オーディオ後処理時間-オーディオPTS (式6)
 以上のように構成された第2の実施の形態のデジタル放送再生装置1について、図面を用いてその動作を説明する。ここでは、後処理時間を考慮した出力タイミングの遅延制御を中心に説明する。
(ビデオ後処理時間を考慮したビデオ出力タイミングの遅延制御)
 図8は、ビデオ後処理時間を考慮したビデオ出力タイミングの遅延制御の流れを示すフロー図である。図8に示すように、まず、ビデオデコード部3において、デジタル放送のストリームに含まれるビデオストリームの復号(デコード)が行われ、ビデオフレームとビデオPTSが生成される(S30)。
 つぎに、ビデオ遅延時間算出部6において、ビデオ後処理後のSTCカウンタ2の時間がビデオPTSから遅れている時間(ビデオ遅延時間)が算出される(S31)。そして、最大遅延時間判定部7において、この算出したビデオ遅延時間が最大遅延保持部に保持されている最大遅延時間より大きいか否か、設定されている上限遅延時間より小さいか否かの判定が行われる(S32、S33)。
 ビデオ遅延時間が最大遅延時間より大きくかつ上限遅延時間より小さい場合には、このビデオ遅延時間が新しい最大遅延時間として保存される(S34)。つまり、最大遅延時間が更新される。なお、ビデオ遅延時間が最大遅延時間以下である場合、上限遅延時間以上である場合には、最大遅延時間の更新は行われない。
 つづいて、ビデオ出力タイミング制御部4において、この最大遅延時間を用いてビデオ出力タイミングの遅延制御が行われる(S35)。この場合、ビデオフレームに対応付けられたビデオPTSから最大遅延時間の分だけ遅らせたタイミングで、ビデオフレームをビデオ後処理部14に出力する遅延制御が行われる。そして、ビデオ後処理部14において、ビデオ出力タイミング制御部4からのビデオフレームに高画質化処理などの後処理を施した後(S36)、そのビデオフレームが画像出力部へ出力される。
(オーディオ後処理時間を考慮したオーディオ出力タイミングの遅延制御)
 図9は、オーディオ後処理時間を考慮したオーディオ出力タイミングの遅延制御の流れを示すフロー図である。図9に示すように、まず、オーディオデコード部10において、デジタル放送のストリームに含まれるオーディオストリームの復号(デコード)が行われ、オーディオフレームとオーディオPTSが生成される(S40)。
 つぎに、オーディオ遅延時間算出部13において、オーディオ後処理後のSTCカウンタ2の時間がオーディオPTSから遅れている時間(オーディオ遅延時間)が算出される(S41)。そして、最大遅延時間判定部7において、この算出したオーディオ遅延時間が最大遅延保持部に保持されている最大遅延時間より大きいか否か、設定されている上限遅延時間より小さいか否かの判定が行われる(S42、S43)。
 オーディオ遅延時間が最大遅延時間より大きくかつ上限遅延時間より小さい場合には、このオーディオ遅延時間が新しい最大遅延時間として保存される(S44)。つまり、最大遅延時間が更新される。なお、オーディオ遅延時間が最大遅延時間以下である場合、上限遅延時間以上である場合には、最大遅延時間の更新は行われない。
 つづいて、オーディオ出力タイミング制御部11において、この最大遅延時間を用いてオーディオ出力タイミングの遅延制御が行われる(S45)。この場合、オーディオフレームに対応付けられたオーディオPTSから最大遅延時間の分だけ遅らせたタイミングで、オーディオフレームをオーディオ後処理部15に出力する遅延制御が行われる。そして、オーディオ後処理部15において、オーディオ出力タイミング制御部11からのオーディオフレームに高画質化処理などの後処理を施した後(S46)、そのオーディオフレームが音声出力部12へ出力される。
 このような第2の実施の形態のデジタル放送再生装置1によっても、第1の実施の形態と同様の作用効果が奏される。
 その上、本実施の形態では、出力タイミング制御の後に後処理が施されるときに、その後処理に要する時間(後処理時間)を考慮して、デジタル放送の出力タイミングを適切に遅延させる制御を行うことができる。
 例えば、ビデオ出力タイミング制御の後にビデオフレームに後処理(画像処理)が施されるときに、その後処理に要する時間(ビデオ後処理時間)を考慮して、ビデオフレームのビデオ出力タイミングを適切に遅延させる制御を行うことができる。
 または、オーディオ出力タイミング制御の後にオーディオフレームに後処理(音声処理)が施されるときに、その後処理に要する時間(オーディオ後処理時間)を考慮して、オーディオフレームのオーディオ出力タイミングを適切に遅延させる制御を行うことができる。
 以上のようなデジタル放送再生装置1によれば、AV同期を制御するタイミング以降において処理時間の異なるビデオ後処理やオーディオ後処理が発生しても、最終的なAV同期を保障しつつ、システム全体の出力遅延を抑えて制御することが可能となる。
 例えば、ビデオ出力タイミング制御の後にビデオ後処理がある場合、ビデオ後処理の時間を考慮しつつ、システム全体としてPTSから最低限度の時間遅らせることによって、ストリームの再生を行うことが可能である。
 または、オーディオ出力タイミング制御の後にオーディオ後処理がある場合、オーディオ後処理の時間を考慮しつつ、システム全体としてPTSから最低限度の時間遅らせることによって、ストリームの再生を行うことが可能である。
 以上、本発明の実施の形態を例示により説明したが、本発明の範囲はこれらに限定されるものではなく、請求項に記載された範囲内において目的に応じて変更・変形することが可能である。
 本発明のデジタル放送再生装置は、受信したデジタル放送ストリームデータを復号して、デジタル放送フレームデータと前記デジタル放送フレームの出力指定時刻データを生成するデコード部と、前記デジタル放送フレームの出力可能時刻の前記出力指定時刻からの遅延時間を算出する遅延時間算出部と、前記遅延時間と過去に算出した遅延時間のうちの最大値を最大遅延時間として保持する最大遅延時間保持部と、前記デジタル放送フレームを前記出力指定時刻から前記最大遅延時間だけ遅らせて出力するように出力タイミングの制御を行う出力タイミング制御部と、を備えた構成を有している。
 この装置によれば、デジタル放送フレームの出力が出力指定時刻(PTS)に間に合わないときに遅延時間が算出され、その遅延時間の最大値(最大遅延時間)が保持される。そして、この最大遅延時間を用いてデジタル放送の出力タイミングの遅延制御が行われる。これにより、デジタル放送の出力タイミングを適切に遅延させる制御を行うことができる。
 また、本発明のデジタル放送再生装置では、前記デコード部は、前記デジタル放送ストリームデータに含まれるビデオストリームデータを復号して、ビデオフレームデータと前記ビデオフレームのビデオ出力指定時刻データを生成するビデオデコード部を含み、前記遅延時間算出部は、前記ビデオフレームのビデオ出力可能時刻の前記ビデオ出力指定時刻からの遅延時間をビデオ遅延時間として算出するビデオ遅延時間算出部を含み、前記最大遅延時間保持部には、前記ビデオ遅延時間と過去に算出したビデオ遅延時間のうちの最大値がビデオ最大遅延時間として保持されており、前記出力タイミング制御部は、前記ビデオフレームを前記ビデオ出力指定時刻から前記ビデオ最大遅延時間だけ遅らせて出力するようにビデオ出力タイミングの制御を行うビデオ出力タイミング制御部を含む構成を有している。
 この構成により、デジタル放送のビデオフレームの出力が出力指定時刻(ビデオPTS)に間に合わないときにビデオ遅延時間が算出され、そのビデオ遅延時間の最大値(ビデオ最大遅延時間)が保持される。そして、このビデオ最大遅延時間を用いてビデオフレームのビデオ出力タイミングの遅延制御が行われる。これにより、ビデオフレームのビデオ出力タイミングを適切に遅延させる制御を行うことができる。
 また、本発明のデジタル放送再生装置では、前記デコード部は、前記デジタル放送ストリームデータに含まれるオーディオストリームデータを復号して、オーディオフレームデータと前記オーディオフレームのオーディオ出力指定時刻データを生成するオーディオデコード部を含み、前記遅延時間算出部は、前記オーディオフレームのオーディオ出力可能時刻の前記オーディオ出力指定時刻からの遅延時間をオーディオ遅延時間として算出するオーディオ遅延時間算出部を含み、前記最大遅延時間保持部には、前記オーディオ遅延時間と過去に算出したオーディオ遅延時間のうちの最大値がオーディオ最大遅延時間として保持されており、前記出力タイミング制御部は、前記オーディオフレームを前記オーディオ出力指定時刻から前記オーディオ最大遅延時間だけ遅らせて出力するようにオーディオ出力タイミングの制御を行うオーディオ出力タイミング制御部を含む構成を有している。
 この構成により、デジタル放送のオーディオフレームの出力が出力指定時刻(オーディオPTS)に間に合わないときにオーディオ遅延時間が算出され、そのオーディオ遅延時間の最大値(オーディオ最大遅延時間)が保持される。そして、このオーディオ最大遅延時間を用いてオーディオフレームのオーディオ出力タイミングの遅延制御が行われる。これにより、オーディオフレームのオーディオ出力タイミングを適切に遅延させる制御を行うことができる。
 また、本発明のデジタル放送再生装置では、前記最大遅延時間保持部には、前記ビデオ最大遅延時間と前記オーディオ最大遅延時間のいずれか大きい方の値が、前記ビデオフレームと前記オーディオフレームに共通の最大遅延時間として保持されている。
 この構成により、ビデオフレームとオーディオフレームに共通の最大遅延時間を用いて、デジタル放送の出力タイミングの遅延制御が行われる。したがって、AV同期をとりながら、デジタル放送の出力タイミングを適切に遅延させる制御を行うことができる。
 また、本発明のデジタル放送再生装置は、前記出力タイミング制御部から出力されたデジタル放送フレームに所定の後処理を施す後処理部と、前記後処理に要する時間を後処理時間として保持する後処理時間保持部と、をさらに備え、前記遅延時間算出部は、前記後処理時間に基づいて前記遅延時間を算出する構成を有している。
 この構成により、出力タイミング制御の後に後処理が施されるときに、その後処理に要する時間(後処理時間)を考慮して、デジタル放送の出力タイミングを適切に遅延させる制御を行うことができる。
 また、本発明のデジタル放送再生装置では、前記後処理部は、前記ビデオ出力タイミング制御部から出力されたビデオフレームに後処理として所定の画像処理を施すビデオ後処理部を含み、前記後処理時間保持部は、前記画像処理に要する時間をビデオ後処理時間として保持するビデオ後処理時間保持部を含み、前記ビデオ遅延時間算出部は、前記ビデオフレームのビデオ出力可能時刻に前記ビデオ後処理時間を加算して前記ビデオ遅延時間を算出する構成を有している。
 この構成により、ビデオ出力タイミング制御の後にビデオフレームに後処理(画像処理)が施されるときに、その後処理に要する時間(ビデオ後処理時間)を考慮して、ビデオフレームのビデオ出力タイミングを適切に遅延させる制御を行うことができる。
 また、本発明のデジタル放送再生装置では、前記後処理部は、前記オーディオ出力タイミング制御部から出力されたオーディオフレームに後処理として所定の音声処理を施すオーディオ後処理部を含み、前記後処理時間保持部は、前記画像処理に要する時間をオーディオ後処理時間として保持するオーディオ後処理時間保持部を含み、前記オーディオ遅延時間算出部は、前記オーディオフレームのオーディオ出力可能時刻に前記オーディオ後処理時間を加算して前記オーディオ遅延時間を算出する構成を有している。
 この構成により、オーディオ出力タイミング制御の後にオーディオフレームに後処理(音声処理)が施されるときに、その後処理に要する時間(オーディオ後処理時間)を考慮して、オーディオフレームのオーディオ出力タイミングを適切に遅延させる制御を行うことができる。
 また、本発明のデジタル放送再生装置は、受信する放送局の変更または再生するデジタル放送コンテンツの変更に基づいて、前記最大遅延時間を所定の初期値にリセットするリセット部を備えた構成を有している。
 この構成により、受信する放送局や再生するデジタル放送コンテンツが変更されたときに、最大遅延時間が初期値にリセットされる。したがって、デジタル放送の放送局ごとやコンテンツごとに、デジタル放送の出力タイミングを適切に遅延させる制御を行うことができる。
 また、本発明のデジタル放送再生装置では、前記最大遅延時間は、所定の上限遅延時間より小さくなるように制限されている。
 この構成により、デジタル放送の放送局やコンテンツによっては稀に遅延時間が非常に大きくなることがあり得るが、そのような場合であっても、最大遅延時間が過度に大きくなることが防止され、デジタル放送の出力タイミングを適切に遅延させる制御を行うことができる。
 本発明のデジタル放送再生方法は、受信したデジタル放送ストリームデータを復号して、デジタル放送フレームデータと前記デジタル放送フレームの出力指定時刻データを生成し、前記デジタル放送フレームの出力可能時刻の前記出力指定時刻からの遅延時間を算出し、前記遅延時間と過去に算出した遅延時間のうちの最大値を最大遅延時間として保持し、前記デジタル放送フレームを前記出力指定時刻から前記最大遅延時間だけ遅らせて出力するように出力タイミングの制御を行う。
 この方法によれば、デジタル放送フレームの出力が出力指定時刻(PTS)に間に合わないときに遅延時間が算出され、その遅延時間の最大値(最大遅延時間)が保持される。そして、この最大遅延時間を用いてデジタル放送の出力タイミングの遅延制御が行われる。これにより、デジタル放送の出力タイミングを適切に遅延させる制御を行うことができる。
 以上に現時点で考えられる本発明の好適な実施の形態を説明したが、本実施の形態に対して多様な変形が可能なことが理解され、そして、本発明の真実の精神と範囲内にあるそのようなすべての変形を添付の請求の範囲が含むことが意図されている。
 以上のように、本発明にかかるデジタル放送再生装置は、デジタル放送の出力タイミングを適切に遅延させる制御を行うことができるという効果を有し、1セグやフルセグ等のデジタル放送を再生可能な携帯電話機、カーナビゲーション装置、デジタルテレビ装置等に用いられ、有用である。
 1 デジタル放送再生装置
 2 STCカウンタ
 3 ビデオデコード部
 4 ビデオ出力タイミング制御部
 5 画像表示部
 6 ビデオ遅延時間算出部
 7 最大遅延時間判定部
 8 最大遅延時間保持部
 9 リセット部
 10 オーディオデコード部
 11 オーディオ出力タイミング制御部
 12 音声出力部
 13 オーディオ遅延時間算出部
 14 ビデオ後処理部
 15 オーディオ後処理部
 16 ビデオ後処理時間保持部
 17 オーディオ後処理時間保持部

Claims (10)

  1.  受信したデジタル放送ストリームデータを復号して、デジタル放送フレームデータと前記デジタル放送フレームの出力指定時刻データを生成するデコード部と、
     前記デジタル放送フレームの出力可能時刻の前記出力指定時刻からの遅延時間を算出する遅延時間算出部と、
     前記遅延時間と過去に算出した遅延時間のうちの最大値を最大遅延時間として保持する最大遅延時間保持部と、
     前記デジタル放送フレームを前記出力指定時刻から前記最大遅延時間だけ遅らせて出力するように出力タイミングの制御を行う出力タイミング制御部と、
    を備えたことを特徴とするデジタル放送再生装置。
  2.  前記デコード部は、前記デジタル放送ストリームデータに含まれるビデオストリームデータを復号して、ビデオフレームデータと前記ビデオフレームのビデオ出力指定時刻データを生成するビデオデコード部を含み、
     前記遅延時間算出部は、前記ビデオフレームのビデオ出力可能時刻の前記ビデオ出力指定時刻からの遅延時間をビデオ遅延時間として算出するビデオ遅延時間算出部を含み、
     前記最大遅延時間保持部には、前記ビデオ遅延時間と過去に算出したビデオ遅延時間のうちの最大値がビデオ最大遅延時間として保持されており、
     前記出力タイミング制御部は、前記ビデオフレームを前記ビデオ出力指定時刻から前記ビデオ最大遅延時間だけ遅らせて出力するようにビデオ出力タイミングの制御を行うビデオ出力タイミング制御部を含む、請求項1に記載のデジタル放送再生装置。
  3.  前記デコード部は、前記デジタル放送ストリームデータに含まれるオーディオストリームデータを復号して、オーディオフレームデータと前記オーディオフレームのオーディオ出力指定時刻データを生成するオーディオデコード部を含み、
     前記遅延時間算出部は、前記オーディオフレームのオーディオ出力可能時刻の前記オーディオ出力指定時刻からの遅延時間をオーディオ遅延時間として算出するオーディオ遅延時間算出部を含み、
     前記最大遅延時間保持部には、前記オーディオ遅延時間と過去に算出したオーディオ遅延時間のうちの最大値がオーディオ最大遅延時間として保持されており、
     前記出力タイミング制御部は、前記オーディオフレームを前記オーディオ出力指定時刻から前記オーディオ最大遅延時間だけ遅らせて出力するようにオーディオ出力タイミングの制御を行うオーディオ出力タイミング制御部を含む、請求項1に記載のデジタル放送再生装置。
  4.  前記デコード部は、
     前記デジタル放送ストリームデータに含まれるビデオストリームデータを復号して、ビデオフレームデータと前記ビデオフレームのビデオ出力指定時刻データを生成するビデオデコード部と、
     前記デジタル放送ストリームデータに含まれるオーディオストリームデータを復号して、オーディオフレームデータと前記オーディオフレームのオーディオ出力指定時刻データを生成するオーディオデコード部と、
    を含み、
     前記遅延時間算出部は、
     前記ビデオフレームのビデオ出力可能時刻の前記ビデオ出力指定時刻からの遅延時間をビデオ遅延時間として算出するビデオ遅延時間算出部と、
     前記オーディオフレームのオーディオ出力可能時刻の前記オーディオ出力指定時刻からの遅延時間をオーディオ遅延時間として算出するオーディオ遅延時間算出部と、
    を含み、
     前記最大遅延時間保持部には、
     前記ビデオ遅延時間と過去に算出したビデオ遅延時間のうちの最大値である前記ビデオ最大遅延時間と、前記オーディオ遅延時間と過去に算出したオーディオ遅延時間のうちの最大値である前記オーディオ最大遅延時間と、のいずれか大きい方の値が、前記ビデオフレームと前記オーディオフレームに共通の最大遅延時間として保持され、
     前記出力タイミング制御部は、
     前記ビデオフレームを前記ビデオ出力指定時刻から前記共通の最大遅延時間だけ遅らせて出力するようにビデオ出力タイミングの制御を行うビデオ出力タイミング制御部と、
     前記オーディオフレームを前記オーディオ出力指定時刻から前記共通の最大遅延時間だけ遅らせて出力するようにオーディオ出力タイミングの制御を行うオーディオ出力タイミング制御部と、
    を含む、請求項1に記載のデジタル放送再生装置。
  5.  前記出力タイミング制御部から出力されたデジタル放送フレームに所定の後処理を施す後処理部と、
     前記後処理に要する時間を後処理時間として保持する後処理時間保持部と、
    をさらに備え、
     前記遅延時間算出部は、前記後処理時間に基づいて前記遅延時間を算出する、請求項4に記載のデジタル放送再生装置。
  6.  前記後処理部は、前記ビデオ出力タイミング制御部から出力されたビデオフレームに後処理として所定の画像処理を施すビデオ後処理部を含み、
     前記後処理時間保持部は、前記画像処理に要する時間をビデオ後処理時間として保持するビデオ後処理時間保持部を含み、
     前記ビデオ遅延時間算出部は、前記ビデオフレームのビデオ出力可能時刻に前記ビデオ後処理時間を加算して前記ビデオ遅延時間を算出する、請求項5に記載のデジタル放送再生装置。
  7.  前記後処理部は、前記オーディオ出力タイミング制御部から出力されたオーディオフレームに後処理として所定の音声処理を施すオーディオ後処理部を含み、
     前記後処理時間保持部は、前記オーディオ処理に要する時間をオーディオ後処理時間として保持するオーディオ後処理時間保持部を含み、
     前記オーディオ遅延時間算出部は、前記オーディオフレームのオーディオ出力可能時刻に前記オーディオ後処理時間を加算して前記オーディオ遅延時間を算出する、請求項5に記載のデジタル放送再生装置。
  8.  受信する放送局の変更または再生するデジタル放送コンテンツの変更に基づいて、前記最大遅延時間を所定の初期値にリセットするリセット部を備えた、請求項1に記載のデジタル放送再生装置。
  9.  前記最大遅延時間は、所定の上限遅延時間より小さくなるように制限されている、請求項1に記載のデジタル放送再生装置。
  10.  受信したデジタル放送ストリームデータを復号して、デジタル放送フレームデータと前記デジタル放送フレームの出力指定時刻データを生成し、
     前記デジタル放送フレームの出力可能時刻の前記出力指定時刻からの遅延時間を算出し、
     前記遅延時間と過去に算出した遅延時間のうちの最大値を最大遅延時間として保持し、
     前記デジタル放送フレームを前記出力指定時刻から前記最大遅延時間だけ遅らせて出力するように出力タイミングの制御を行うことを特徴とするデジタル放送再生方法。
PCT/JP2009/002201 2008-07-30 2009-05-19 デジタル放送再生装置およびデジタル放送再生方法 WO2010013376A1 (ja)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2009801295356A CN102113339B (zh) 2008-07-30 2009-05-19 数字广播再现装置和数字广播再现方法
US13/056,033 US20110170613A1 (en) 2008-07-30 2009-05-19 Digital broadcast reproduction device and digital broadcast reproduction method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2008-196596 2008-07-30
JP2008196596A JP5178375B2 (ja) 2008-07-30 2008-07-30 デジタル放送再生装置およびデジタル放送再生方法

Publications (1)

Publication Number Publication Date
WO2010013376A1 true WO2010013376A1 (ja) 2010-02-04

Family

ID=41610092

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2009/002201 WO2010013376A1 (ja) 2008-07-30 2009-05-19 デジタル放送再生装置およびデジタル放送再生方法

Country Status (4)

Country Link
US (1) US20110170613A1 (ja)
JP (1) JP5178375B2 (ja)
CN (1) CN102113339B (ja)
WO (1) WO2010013376A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102378003A (zh) * 2010-08-12 2012-03-14 索尼公司 信息处理装置和方法以及程序

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5003775B2 (ja) 2010-02-19 2012-08-15 ブラザー工業株式会社 液滴吐出装置
JP5672840B2 (ja) 2010-08-12 2015-02-18 ソニー株式会社 情報処理装置および方法、並びにプログラム
JP5848872B2 (ja) * 2010-12-10 2016-01-27 三星電子株式会社Samsung Electronics Co.,Ltd. 放送受信装置
JP2013062624A (ja) * 2011-09-12 2013-04-04 Sharp Corp 再生装置、再生方法、配信装置、配信システム、再生プログラムおよび記録媒体
JP2013131872A (ja) * 2011-12-20 2013-07-04 Sharp Corp 出力装置、出力装置の制御方法、伝送装置、伝送システム、制御プログラム、および記録媒体
JP2014075735A (ja) * 2012-10-05 2014-04-24 Sony Corp 画像処理装置および画像処理方法
JP6122626B2 (ja) * 2012-12-06 2017-04-26 日本放送協会 復号装置およびプログラム
ES2959674T3 (es) 2015-04-07 2024-02-27 Umbra Tech Ltd Cortafuegos de perímetro múltiple en la nube
EP3387819B1 (en) * 2015-12-11 2022-09-28 Umbra Technologies Ltd. System and method for information slingshot over a network tapestry and granularity of a tick
CN113824521B (zh) * 2021-08-30 2024-02-13 南京轨道交通产业发展有限公司 一种地铁车辆广播音频同步方法

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003348489A (ja) * 2002-05-29 2003-12-05 Sony Corp 放送受信機
JP2006509409A (ja) * 2002-12-04 2006-03-16 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ 音声/映像同期の自動検査方法
JP2008011337A (ja) * 2006-06-30 2008-01-17 Fujitsu Ltd 再生装置及び再生方法

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3197766B2 (ja) * 1994-02-17 2001-08-13 三洋電機株式会社 Mpegオーディオデコーダ、mpegビデオデコーダおよびmpegシステムデコーダ
US6906755B2 (en) * 2002-01-04 2005-06-14 Microsoft Corporation Method and apparatus for synchronizing audio and video data
US7280133B2 (en) * 2002-06-21 2007-10-09 Koninklijke Philips Electronics, N.V. System and method for queuing and presenting audio messages
KR100694060B1 (ko) * 2004-10-12 2007-03-12 삼성전자주식회사 오디오 비디오 동기화 장치 및 그 방법
JP4304615B2 (ja) * 2004-11-17 2009-07-29 ソニー株式会社 データ処理装置、データ処理方法及びデータ処理プログラム

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003348489A (ja) * 2002-05-29 2003-12-05 Sony Corp 放送受信機
JP2006509409A (ja) * 2002-12-04 2006-03-16 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ 音声/映像同期の自動検査方法
JP2008011337A (ja) * 2006-06-30 2008-01-17 Fujitsu Ltd 再生装置及び再生方法

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102378003A (zh) * 2010-08-12 2012-03-14 索尼公司 信息处理装置和方法以及程序

Also Published As

Publication number Publication date
CN102113339A (zh) 2011-06-29
US20110170613A1 (en) 2011-07-14
CN102113339B (zh) 2013-01-23
JP5178375B2 (ja) 2013-04-10
JP2010034995A (ja) 2010-02-12

Similar Documents

Publication Publication Date Title
JP5178375B2 (ja) デジタル放送再生装置およびデジタル放送再生方法
US9489980B2 (en) Video/audio synchronization apparatus and video/audio synchronization method
US9876944B2 (en) Apparatus, systems and methods for user controlled synchronization of presented video and audio streams
KR100651894B1 (ko) 영상기기 및 그 제어방법
KR102156467B1 (ko) 2 개의 전자 디바이스들에서의 재생들을 동기화하기 위한 방법 및 장치
KR101600891B1 (ko) 복수의 단말기에 출력되는 비디오 및 오디오를 동기화시키는 동기화시스템 및 방법
JP5304860B2 (ja) コンテンツ再生装置およびコンテンツ処理方法
JP5605572B2 (ja) 表示装置、通信装置、表示方法及びプログラム記録媒体
JP2005318488A (ja) データ同期再生装置及び端末装置
JP2006254298A (ja) 動画再生装置及び動画再生方法
US8902362B2 (en) Broadcast receiving device and method
US20100166382A1 (en) Video and audio reproduction system, distribution device, and synchronization adjustment method
CN114189737A (zh) 一种数字电视快速切台方法及数字电视
KR20150058809A (ko) 다중 영상 재생장치 및 재생방법
KR100499519B1 (ko) 오디오 립 싱크 제어방법
JP2013174882A (ja) コンテンツ再生装置およびコンテンツ処理方法
KR20130060651A (ko) 영상처리장치 및 그 제어방법
TW202008792A (zh) 數位影音裝置的操作方法
JP4767097B2 (ja) 再生装置
JP5327854B2 (ja) デジタル放送受信装置、及び、プログラム
JP2009100066A (ja) 同期再生装置、及び、同期処理装置
JP2007274441A (ja) 画像再生装置および画像再生方法
JP4799674B1 (ja) 画像処理装置、画像表示装置及び画像処理方法
CN110858922A (zh) 数字影音装置的操作方法
KR20070040201A (ko) 영상/음향 재생방법 및 장치

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 200980129535.6

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09802626

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 13056033

Country of ref document: US

122 Ep: pct application non-entry in european phase

Ref document number: 09802626

Country of ref document: EP

Kind code of ref document: A1