Method and system for displaying video from a video game console
A system for displaying video from a video game console is provided. The system includes an audio and video data conversion device in communication with the video game console. Additionally, a computer in communication with the audio and video data conversion device is included. The system also includes a display panel in communication with the computer, whereby the display panel is capable of displaying the video from the video game console. A method for displaying the video from the video game console also is described.
Latest ADAPTEC, INC. Patents:
- HARD DISK DRIVE WITH ATTACHED SOLID STATE DRIVE CACHE
- Cache synchronization in a RAID subsystem using serial attached SCSI and/or serial ATA
- Systems and methods for implementing host-based security in a computer network
- Hard Disk Drive with Attached Solid State Drive Cache
- Automatic generators for verilog programming
This application is a continuation-in-part of application Ser. No. 11/059,972, filed on Feb. 16, 2005, the disclosure of this application is incorporated herein by reference.
BACKGROUND OF THE INVENTIONVideo game consoles are usually connected to regular television sets for visual and sounds effects. When compared to a computer monitor, a television set typically has lower image quality since the television set displays video at lower resolution. However, video game consoles do not interface with computer monitors through computers because a user will typically experience audio latency whereby the audio and video are not synchronized. In other words, the audio may lag behind or lead the video by a few seconds.
Audio latency may be caused by the use of different clock frequencies by an audio and video data conversion device and by the computer. In particular, a first frequency used within the audio and video data conversion device is typically different from a second frequency of an audio capture clock at which an audio renderer within the computer sends audio data to an audio encoder. The audio latency can cause a noticeable delay between a user's input actions through the video game console and resultant audio and video outputted from a computer.
As a result, there is a need to provide methods and systems for reducing audio latency and for displaying video from a video game console.
SUMMARY OF THE INVENTIONBroadly speaking, the present invention fills these needs by providing methods and systems for displaying video from a video game console. It should be appreciated that the present invention can be implemented in numerous ways, including as a method, a system, or a device. Several inventive embodiments of the present invention are described below.
In accordance with a first aspect of the present invention, a system for displaying video from a video game console is provided. The system includes an audio and video data conversion device in communication with the video game console. Additionally, a computer in communication with the audio and video data conversion device is included. The system also includes a display panel in communication with the computer, whereby the display panel is capable of displaying the video.
In accordance with a second aspect of the present invention, a method for displaying video from a video game console is provided. In this method, the video from an audio and video data conversion device is received at a computer. The video is fed to the audio and video conversion device by the video game console. Thereafter, the video is outputted to a display panel.
In accordance with a third aspect of the present invention, a method for displaying video from a video game console is provided. In this method, analog video from the video game console is converted to digitized video. After the conversion, the digitized video is outputted to a computer.
Other aspects and advantages of the invention will become apparent from the following detailed description, taken in conjunction with the accompanying drawings, illustrating by way of example the principles of the invention.
BRIEF DESCRIPTION OF THE DRAWINGSThe present invention will be readily understood by the following detailed description in conjunction with the accompanying drawings, and like reference numerals designate like structural elements.
An invention is described for hardware implemented methods and systems for displaying video from a video game console and reducing audio latency. It will be obvious, however, to one skilled in the art, that the present invention may be practiced without some or all of these specific details. In other instances, well known process operations have not been described in detail in order not to unnecessarily obscure the present invention.
A. Display of Graphics from Video Game Console
As shown in
Computer 104 receives the audio and/or video from audio and video data conversion device 150 through a computer interface and outputs the video and audio to display panel 101 for display and to speaker 172, respectively. In one embodiment, before the audio and/or video is outputted, computer 104, as will be explained in more detail below, can process the audio to reduce audio latency and adjust properties of the video. Accordingly, audio and video data conversion device 150 allows display panel 101 and speaker 172 attached to computer 104 to be used to display video and to render audio, respectively, outputted from video game console 102.
Audio and video processing circuitry 106 can additionally include audio decoder 162 (e.g., Asahi Kasei Microsystem's AKM5357 chip, which is a 24-bit 2-channel A/D converter) that converts analog audio 154 to a digital format. For example, audio decoder 162 can digitize analog audio 154 received from a video game console into a sixteen bit or higher stereo serial data bit stream. In the embodiment of
It should be appreciated that computer 104 can use device controller 108 to control operations of the various sub-modules (e.g., video decoder 107, audio decoder 162, LED 109, etc.) of audio and video data conversion device 150. Computer 104 can send commands to device controller 108 and, in turn, the device controller extracts the commands for processing, execution, and control of the sub-modules. In one embodiment, device controller 108 may store the commands from computer 104 to non-volatile storage chip 112 (e.g., Electrically-Erasable Programmable Read-Only Memory (EEPROM)) for subsequent retrieval and execution.
After the computer receives the video, the computer outputs the video in operation 114 to a display panel that is in communication with the computer for display. As will be explained in more detail below, before the computer outputs the video, the computer can adjust properties of the video and store the video onto a memory of the computer.
B. Audio Latency Reduction
The embodiments described herein provide method and system for reducing audio latency when executing program instructions for processing audio data. In one embodiment, an amount of audio data stored in an audio buffer is determined, and the amount is compared with a top threshold value and a bottom threshold value. It should be noted that the terms “audio data,” “audio,” and “audio signal” may be used interchangeably. As will be explained in more detail below, an audio data feed to an audio renderer is adjusted incrementally such that the amount is between the top threshold value and the bottom threshold value. By keeping the amount of audio data stored in the audio buffer within the top threshold value and the bottom threshold value, audio latency is reduced or altogether eliminated.
System 140 may additionally include audio and video data conversion device 150. As discussed above, audio and video data conversion device 150 may be used to connect the video game console to the computer through Universal Serial Bus (USB) such that video and audio from the video game console may be viewed, listened, and captured on the computer. It should be appreciated that audio and video data conversion device 150 is merely an example of one type of connection between a video game console and computer. Other types of connections may include audio cables that connect the video game console to a sound card of the computer, video cables that connect the video game console to a video card of the computer, etc. System 140 additionally includes audio encoder 170 which converts digital audio data to analog audio data and renders the analog audio data to speaker 172.
As shown in
With reference to audio buffer 204,
Further, since an embodiment of the invention adjusts the audio data feed to audio renderer 168, embodiments of the invention may be included in streaming driver 166. For example, in one embodiment, streaming driver 166 may additionally include program instructions 212 for adjusting incrementally the audio data feed from the streaming driver to audio renderer 168. Specifically, as will be explained in more detail below, program instructions 212 included in streaming driver 166 may make the adjustments by decreasing or increasing the audio data feed to audio renderer 168 such that fullness 208 is between top threshold value 206 and bottom threshold value 210.
With regard to Equation (1.0), maximum delay time (i.e., max_delay_time) is a time limit used by embodiments of the invention to assure that audio latency will be within the maximum delay time during rendering by audio renderer. An exemplary maximum delay time is 50 ms. Freq_audio is the standard audio frequency, which may be different from audio capture clock frequency and audio capture clock frequency as discussed above. Exemplary standard audio frequencies include 48 KHz, 44.1 KHz, 32 KHz, etc. Accordingly, in one embodiment, a top threshold value may be calculated if the maximum delay time and the standard audio frequency are provided. For example, assuming maximum delay time=50 ms and standard audio frequency=48 KHz, then top threshold is (50 ms/1000)*48000, which equals 2400 samples.
Bottom threshold value may include any suitable value that is less than top threshold value. In one embodiment, bottom threshold value may be derived from top threshold value. For instance, bottom threshold value may be calculated by:
Accordingly, with reference to the top threshold value of 2400 samples discussed above, the bottom threshold value is simply 2400 samples/3, which equals 800 samples.
Still referring to
Subsequently, the streaming driver outputs the reduced sample of audio data to the audio renderer. For example, if the incremental amount is specified as two audio data samples in each 1000 samples, then for every 1000 samples received by streaming driver, streaming driver reduces two samples from the 1000 received samples, and interpolates the 1000 received samples to generate 998 samples. Streaming driver then outputs the 998 samples of audio data to the audio renderer. If the amount of audio data stored in the audio buffer is still greater than the top threshold value after the interpolation, then the audio data is still fed to the audio renderer faster than the speed at which the audio renderer can render the audio data. Accordingly, the streaming driver will further reduce the number of audio data samples to 996. The reduction will repeat for subsequent samples of the audio data until the amount of audio data buffered in audio renderer is less than or equal to the top threshold value.
On the other hand, as shown in
As discussed above, the incremental amount is the number of samples that is adjusted each time when the amount of audio data stored in audio buffer is either larger than the top threshold value or lesser than the bottom threshold vale. Incremental amount may include any suitable values. For example, in one embodiment, the incremental amount can be calculated by:
Referring to Equation (1.2), original sample size is the number of audio samples received by streaming driver. As discussed above, audio rendering clock frequency (i.e., Freq—2) is the frequency at which an audio renderer sends audio data to an audio encoder, and audio capture clock frequency (i.e., Freq—1) is the frequency at which an audio decoder converts the analog audio signal to digitized audio data. For example, assuming that the standard audio frequency (i.e., freq_audio) is 48 KHz and the amount of audio data stored in the audio buffer increases from 0 to 2400 samples (50 ms delay) during 24 seconds, which is about a one second delay in eight minutes ((8*60/24)*50 ms=1000 ms=1 s), then for each second the amount of audio data increases by 100 samples, and Freq—2/Freq—1=(48000+100)/48000=481/480. If original sample size is 481, then incremental amount=481*(481/480−1)=1. Thus, one sample is reduced for every 481 samples and, as a result, the reduced audio data is fed to the audio renderer at the same speed as the audio renderer renders the audio data.
As shown in
The algorithms included in Table B are merely exemplary, and many different algorithms may be used to reduce or increase samples of audio data.
It should be appreciated that the above-described functionality for reducing audio latency may be incorporated in program application stored in memory (e.g., random access memory (RAM), hard disk drives, floppy disks, magnetic tapes, optical discs, etc.) and executed by a processor. For example, the functionality may be provided through the streaming driver, or the like, having program instructions to perform the above-described functionality. In one embodiment, streaming driver includes program instructions for determining an amount of the audio data stored in an audio buffer and program instructions for comparing the amount with a top threshold value and a bottom threshold value. Further, program instructions are included for adjusting incrementally an audio data feed to an audio renderer such that the amount is between the top threshold value and the bottom threshold value.
In sum, the above described invention provides method and system for reducing audio latency when executing program instructions for processing audio data. Essentially, to reduce latency, streaming driver feeds audio data to an audio renderer slower than the speed at which the audio renderer can render audio data if the amount of audio data stored in the audio buffer is greater than a top threshold value. On the other hand, streaming driver may be additionally configured to feed audio data to the audio renderer faster than the speed at which the audio renderer can render audio data if the amount of audio data is less than a bottom threshold value. Thus, by keeping the amount of audio data stored in audio buffer between the top threshold value and the bottom threshold value, audio latency is reduced or altogether eliminated such that audio is synchronized with video.
C. Graphical User Interface
A video game console display application can be executed on a computer to process, to facilitate real-time video game playing, to control, and to display video and/or audio from the video game console. It should be appreciated that the video game console display application can be integrated or combined with other software modules, such as the audio renderer discussed above. The video game console display application can optimize video display for video gaming to provide rich audio and visual effects. For example, in one embodiment, the video game console display application can adjust properties of the video before output to a display panel. Exemplary video properties include brightness, sharpness, contrast, shape, color, resolution, refresh rate (or vertical scan rate), size, etc. For example, the size of the display area for video can be enlarged or reduced. Further, a display panel used with computers typically have higher refresh rates than conventional televisions. Accordingly, in another example, the video game console display application can increase the refresh rate of the video received from the video game console, thereby reducing eye strain. In another embodiment, the video game console display application can process the audio data to reduce the audio latency as discussed above to provide a real-time gaming experience. In still another embodiment, the video game console display application can include controls to allow capture and storage of video and/or audio from the video game console. For example, video displays of game configuration settings, best score results, locations of hidden treasures in a video game, etc. can be stored. The recorded video and/or audio may be stored in a memory (e.g., RAM, hard disk drives, floppy disks, magnetic tapes, optical disks, etc.) of the computer.
Video game GUI component 904 provides access to the video and/or audio received from the video game console. In response to video game GUI component 904 being selected (e.g., by clicking with a mouse, input through a keyboard, or input through any suitable input devices), another region is generated that displays the video received from the video game console. TV GUI component 905 provides access to video received from a TV tuner, and a selection of the TV GUI component generates another region that displays the video from the TV tuner. In addition to video and/or audio received from the audio and video data conversion device, main window region 902 allows additional access to video and/or audio from additional sources, such as video players (e.g., DVD/VCD players), memory of the computer, external hard drives, etc. For example, DVD/VCD GUI component 906 allows access to video and/or audio received from DVD/VCD players, videos GUI component 907 allows access to video stored in a memory of the computer, photos GUI component 908 allows access to photos stored in the memory of the computer, and music GUI component 909 allows access to audio files stored in the memory of the computer.
Any number of suitable layouts can be designed for region and GUI component layouts illustrated above as
In summary, the above described embodiments provide methods, systems, and GUIs for reducing audio latency and for displaying video from a video game console. Essentially, the audio and video data conversion device connects a video game console to a computer and enables users to play video games using the resources (e.g., display panel, speakers, etc.) available to the computer with real-time gaming effect, similar to when the video game console is connected to a regular television set. The embodiments described above can actually keep the latency between audio/video effects and user's input actions through the video game console to less than 100 milliseconds, which is negligible to humans.
With the above embodiments in mind, it should be understood that the invention may employ various computer-implemented operations involving data stored in computer systems. These operations are those requiring physical manipulation of physical quantities. Usually, though not necessarily, these quantities take the form of electrical or magnetic signals capable of being stored, transferred, combined, compared, and otherwise manipulated. Further, the manipulations performed are often referred to in terms, such as producing, identifying, determining, or comparing.
The invention can also be embodied as computer readable code on a computer readable medium. The computer readable medium is any data storage device that can store data which can be thereafter read by a computer system. The computer readable medium also includes an electromagnetic carrier wave in which the computer code is embodied. Examples of the computer readable medium include hard drives, network attached storage (NAS), read-only memory, random-access memory, CD-ROMs, CD-Rs, CD-RWs, magnetic tapes, and other optical and non-optical data storage devices. The computer readable medium can also be distributed over a network coupled computer system so that the computer readable code is stored and executed in a distributed fashion.
Any of the operations described herein that form part of the invention are useful machine operations. The invention also relates to a device or an apparatus for performing these operations. The apparatus may be specially constructed for the required purposes, or it may be a general purpose computer selectively activated or configured by a computer program stored in the computer. In particular, various general purpose machines may be used with computer programs written in accordance with the teachings herein, or it may be more convenient to construct a more specialized apparatus to perform the required operations.
The above described invention may be practiced with other computer system configurations including hand-held devices, microprocessor systems, microprocessor-based or programmable consumer electronics, minicomputers, mainframe computers and the like. Although the foregoing invention has been described in some detail for purposes of clarity of understanding, it will be apparent that certain changes and modifications may be practiced within the scope of the appended claims. Accordingly, the present embodiments are to be considered as illustrative and not restrictive, and the invention is not to be limited to the details given herein, but may be modified within the scope and equivalents of the appended claims. In the claims, elements and/or steps do not imply any particular order of operation, unless explicitly stated in the claims.
Claims
1. A system for displaying video from a video game console, comprising:
- an audio and video data conversion device in communication with the video game console;
- a computer in communication with the audio and video data conversion device; and
- a display panel in communication with the computer, the display panel being capable of displaying the video.
2. The system of claim 1, wherein the audio and video data conversion device includes,
- an audio and video processing circuitry.
3. The system of claim 2, wherein the audio and video data conversion device further includes,
- a device controller in communication with the audio and video processing circuitry, the device controller enabling communication with the computer.
4. The system of claim 2, wherein the audio and video processing circuitry includes,
- a video decoder configured to receive the video from the video game console; and
- an audio decoder in communication with the video decoder, the audio decoder being configured to receive audio from the video game console.
5. The system of claim 2, wherein the audio and video data conversion device further includes,
- a television tuner in communication with the audio and video processing circuitry.
6. The system of claim 1, wherein the computer includes a memory, the memory being configured to store the video from the video game console.
7. The system of claim 6, wherein the memory is further configured to store audio received from the video game console.
8. The system of claim 1, further comprising:
- a speaker in communication with the computer, the speaker being capable of outputting audio outputted from the video game console.
9. The system of claim 1, wherein a graphical user interface (GUI) for a video game console display application is rendered on the display panel, the GUI including,
- a first GUI component providing access to the video from the video game console; and
- a first region displaying the video, the first region being generated in response to a selection of the first GUI component.
10. The system of claim 9, wherein the GUI further includes,
- a second GUI component providing access to video received from a television tuner.
11. The system of claim 10, wherein the GUI further includes,
- a third region displaying the video received from the television tuner, the third region being generated in response to a selection of the second GUI component.
12. The system of claim 9, wherein the GUI further includes,
- a third GUI component providing access to video received from a video player.
13. A method for displaying video from a video game console, comprising:
- receiving video at a computer from an audio and video data conversion device, the video being fed to the audio and video conversion device by the video game console; and
- outputting the video to a display panel.
14. The method of claim 13, further comprising:
- receiving audio at the computer from the audio and video data conversion device, the audio being fed to the audio and video conversion device by the video game console; and
- outputting the audio to a speaker.
15. The method of claim 13, further comprising:
- adjusting a property of the video.
16. The method of claim 15, wherein the property is defined by one or more of brightness, sharpness, contrast, shape, color, resolution, refresh rate, and size.
17. The method of claim 13, further comprising:
- recording the video.
18. The method of claim 13, wherein the audio and video data conversion device is external to the computer.
19. A method for displaying video from a video game console, comprising method operations of:
- converting analog video from the video game console to digitized video; and
- outputting the digitized video to a computer.
20. The method of claim 19, further comprising:
- converting analog audio from the video game console to digitized audio; and
- outputting the digitized audio to the computer.
Type: Application
Filed: Aug 4, 2005
Publication Date: Aug 17, 2006
Applicant: ADAPTEC, INC. (MILPITAS, CA)
Inventors: Buay Ng (Singapore), Naser Mgariaf (Milpitas, CA), Samuel Chih (Mountain View, CA), Ann Ong (Singapore), Marshall Mohr (Atherton, CA)
Application Number: 11/198,546
International Classification: A63F 13/00 (20060101);