This relates to media systems which play audio and video.
A variety of consumer electronic devices play both audio and video. Examples of such devices include set-top boxes, DVD players, and audio/video receivers. In many cases, relatively elaborate systems may be used to play audio and video. For example, a display in the form of a television, may be coupled to an audio/video receiver which, in turn, may be coupled to DVD players, set-top boxes, satellite receivers, and the like. As a result of processing by these various devices, the audio and video may appear to be out of synchronization to the end user.
In accordance with some embodiments, an audio/video system may generate synchronized signals to flash a light on a display and to produce a sound. The sound and the light may be detected and the system determines whether they were issued in synchronization. If not, the circuit that produced the synchronized signals may have an adjustable delay to synchronize audio and video signals based on the time difference between the time when the sound and the light were actually detected.
Referring to
For example, an audio/video receiver, implementing the device 10, may be coupled to a television that functions both as the video processing device 12 and the display 14. In such case, audio may be output directly from the audio/video receiver, while video is further processed by the television. Thus, audio and video signals that were synchronized in the audio/video receiver may no longer be synchronized after separate processing of the video by the television. Because of the intervening processing by video processing devices 12 or audio processing devices 12, originally synchronized audio and video may no longer be synchronized.
Similarly, the audio output from the device 10 may be subject to subsequent audio processing. As an example, an audio source from a satellite receiver, implementing the device 10, may be further processed by an audio/video receiver, implementing the audio processing devices 18.
The device 10 may include an audio/video synchronization calibration circuit 24, coupled to video output 26 and audio output 28. It may provide a signal that ultimately produces a timed light flash to a video output 26. The flash is synchronized with a signal that ultimately produces a sound on speakers 20. In one example, the video may be a series of black frames, followed by a white frame, followed by a series of black frames. The audio may be a sound such as a beep. Thus, absent subsequent processing, the sound and light would occur at the same time. But because of the intervening video and/or audio processing device 12 and/or 18, audio/video synchronization may be disrupted.
The time when the light flash occurs may be detected by a light sensor 16 and, similarly, the time when the sound is produced may be detected by a sound sensor 22. As one example, the light sensor may be a light sensitive diode. The sound sensor 22 may be a microphone. The output from the light sensor and the sound sensor may be provided back to the device 10. Specifically, an input 30 receives a sound input signal from a sound sensor 22 and an input 31 receives a light input signal from the light sensor 16.
A beep detection status is outputted from the input 30 and a flash detection status is outputted from the input 31. The calibration circuit 24 then compares a time when the sound (e.g. a beep) actually occurred and the time when the light flash actually occurred and determines a time difference between the sound and light generation. This time difference may then be correlated to a delay adjustment provided at 3. The delay adjustment may be done by determining the time difference and using a lookup table to get a value to adjust the timing of the audio output. Alternatively, the timing of the video output can be adjusted instead, in another embodiment. In some cases, it may be desirable to retest the synchronization to be sure that it is correct after such an adjustment.
Referring to
A time delay between the actual light and sound generation is then determined in block 40. Based on that time delay, an adjustment is determined, for example, using a lookup table at block 42. The adjustment may then be provided to the device 10 which outputs the sound or light information to delay one or the other of the audio or video signals to compensate for the subsequent audio and/or video processing and to create better audio and video synchronization.
Referring to
In some embodiments, the sequence depicted in
The detection of the time differences may be done in a variety of conventional fashions. For example, a count may be initiated when the video and audio outputs are triggered. The time when the light and sound is detected may be marked or the count may be stopped. The marked times may be developed by timers that count up or down from the triggering of the video and audio information until such time as the light and sound information is detected. Since the timers started at the same time, their values may be differenced in order to determine the difference in time between the occurrence of the light and sound indications.
This time difference information may then be used in a variety of different ways. For example, a calculation may be done to determine the amount of time delay that would be appropriate to zero out the time difference. Alternatively, a lookup table may be used to correlate the time difference between the time when sound and light are detected and the amount of delay that needs to be added to a circuit, which delays at least one of the video or audio outputs. Those skilled in the art will appreciate a variety of other techniques to accomplish these same goals.
The processing techniques described herein may be implemented in various hardware architectures. For example, the functionality may be integrated within a chipset. Alternatively, a discrete video processor may be used. As still another embodiment, the functions may be implemented by a general purpose processor, including a multicore processor. For example, a video processor integrated circuit may implement the calibration circuit 24, video output 26, audio output 28, and inputs 30 and 31. Then, the wiring and sensors may be supplied by the manufacturer of a media player that includes the video processor.
References throughout this specification to “one embodiment” or “an embodiment” mean that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one implementation encompassed within the present invention. Thus, appearances of the phrase “one embodiment” or “in an embodiment” are not necessarily referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be instituted in other suitable forms other than the particular embodiment illustrated and all such forms may be encompassed within the claims of the present application.
While the present invention has been described with respect to a limited number of embodiments, those skilled in the art will appreciate numerous modifications and variations therefrom. It is intended that the appended claims cover all such modifications and variations as fall within the true spirit and scope of this present invention.