This Non-provisional application claims priority under 35 U.S.C. ยง119(a) on Patent Application No. 2005-138733 filed in Japan on May 11, 2005, the entire contents of which are hereby incorporated by reference.
1. Field of the Invention
The present invention relates to a mutlimedia reproduction apparatus, and more particularly to, synchronized reproduction of video data and audio data.
2. Description of the Related Art
Conventional mutlimedia reproduction apparatuses separate video data, audio data, and PTS (Presentation Time Stamp) information corresponding to these data, from input encoded data. The separated video data and audio data are categorized and stored into respective buffers. The PTS information is stored into a buffer dedicated thereto. The mutlimedia reproduction apparatus decodes the video data and the audio data and performs synchronized data reproduction based on the PTS information corresponding to these data.
When video data and audio data to be synchronously reproduced are multiplexed at separate positions, sizes of the buffers for the video data and the audio data need to be extended. Due to this, the buffer for storing the PTS information for synchronizing both the data also needs to be extended.
The buffers for the video data and the audio data are provided in an external memory, buffer, and therefore, the sizes thereof can be relatively easily changed. Since the buffer for the PTS information is provided in an internal memory, it is difficult to change the size of the buffer because of a memory size and a memory map of the internal memory. Therefore, the PTS information buffer may overflow, depending on the above-described multiplexed structure. In this case, data required for simultaneous reproduction cannot be stored in the buffer, the video data and the audio data cannot be synchronously reproduced.
Conventionally, there is a known technique of calculating a difference in PTS information and storing the difference in a buffer. Thereby, substantially a large amount of PTS information can be saved without extending the buffer for the PTS information. However, in this case, a circuit structure is complicated due to the calculation of the difference in PTS information.
In view of the above-described problems, an object of the present invention is to provide a mutlimedia reproduction apparatus which enables synchronized reproduction of video data and audio data without extending the buffer size of PTS information.
To achieve the object, the present invention provides a mutlimedia reproduction apparatus for reproducing video data and audio data based on time information for synchronizing the video data and the audio data, comprising a storing section for storing the time information, and an input processor for receiving encoded data, successively separating video data and audio data from the encoded data, extracting time information related to the separated data, thinning the extracted time information, and storing the thinned time information into the storing section.
According to this, the input processor successively separates video data and audio data from input encoded data, extracts time information related to the separated data, thins the extracted time information, and stores the thinned time information into the storing section. Thereby, synchronized reproduction of the video data and audio data can be performed without extending the storing section.
Preferably, the input processor is configured to be capable of changing intervals in which the time information is thinned out.
Also, preferably, the thinning-out interval is changed, depending on the type of the encoded data.
Also, preferably, the input processor determines an operating state of the mutlimedia reproduction apparatus, and when the operating state is a startup state, skips thinning of the time information, and when the operating state is a state other than the startup state, performs thinning of the time information.
Thereby, thinning of time information is skipped in a startup process which has a highest possibility that data synchronization is not established, thereby suppressing a time required for a data synchronization process from being elongated.
As described above, according to the present invention, the information amount of the time information is reduced, a buffer for storing the time information is suppressed from overflowing without extending the buffer. Thereby, even when buffers for video data and audio data are extended, synchronized reproduction of the video data and the audio data can be performed without extending the buffer for storing the time information.
Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings.
The input processor 10 categorizes input encoded data into video data and audio data, and outputs the video data and the audio data. Further, the input processor 10 extracts PTS information corresponding to these data from the encoded data.
The PTS buffer 11 stores the PTS information output from the input processor 10.
The video data buffer 12 stores the video data output from the input processor 10.
The audio data buffer 13 stores the audio data output from the input processor 10.
The AV synchronization processor 16 performs synchronized reproduction with respect to data decoded by the video decoder 14 and the audio decoder 15, based on the PTS information stored in the PTS buffer 11.
The input processor 10 thins the PTS information extracted from the encoded data and stores the thinned data into the PTS buffer 11. Note that intervals in which the PTS information is thinned out may be changed using a control ctl internal or external to the mutlimedia reproduction apparatus. For example, in order to secure buffer sizes optimal for reproduction of the video data buffer 12 and the audio data buffer 13, a size of the PTS buffer 11 needs to be changed, depending on the type of the encoded data (e.g., the encoding method, the bit rate, etc.). Therefore, the intervals in which the PTS information is thinned out is changed, depending on the type of the encoded data input to the mutlimedia reproduction apparatus, by the control ctl.
As described above, according to this embodiment, since the PTS information is thinned before being stored, the PTS information corresponding to data stored in the extended video data buffer 12 and audio data buffer 13 is stored without extending the PTS buffer 11. Thereby, synchronized reproduction of video data and audio data can be achieved without extending the PTS buffer 11.
Next, a mutlimedia reproduction apparatus according to a second embodiment of the present invention will be described. Note that the mutlimedia reproduction apparatus of this embodiment has a configuration similar to that of the first embodiment, and the configuration will not be described.
In
The input processor 10 determines whether an operating state of the mutlimedia reproduction apparatus is in the startup state, or in an ordinary reproduction state after establishment of data synchronization, and based on the determination result, switches the information thinning process.
As described above, according to this embodiment, by determining the operating state of the mutlimedia reproduction apparatus using the input processor 10, thinning of PTS information is skipped in the startup state which has the highest possibility that data synchronization is not established, thereby suppressing the time required for the data synchronization process from being elongated.
The mutlimedia reproduction apparatus of the present invention can perform synchronized reproduction of video data and audio data without extending a PTS buffer, and therefore, is useful as an optical disc reproduction apparatus and a digital television set.
Number | Date | Country | Kind |
---|---|---|---|
2005-138733 | May 2005 | JP | national |