Video recording and playback system and method
By recording and correlating video image sequences, depth buffer values and virtual camera positions of video games, the problem of difficulty in providing consistent information in video game review and playback systems in the prior art is solved, enabling detailed recording and analysis of video games. Improved audience experience.
Patent Information
- Application Number
- CN201910136759.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-02-23
- Filing Date
- 2019-02-25
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2039-10-22
AI Technical Summary
Existing video game review and replay systems struggle to provide consistent and useful information, resulting in low audience satisfaction, especially for younger viewers. Watching videos where commentators may curse can be problematic and highly unhelpful for video games. variable.
By recording a sequence of video images, a sequence of depth buffer values, and a sequence of virtual camera positions output by a video game and associating them with in-game events and locations, a unique identifier is generated for subsequent analysis and playback to enhance the video experience.
It enables orderly recording and playback of video games, provides detailed analysis of in-game events and player behavior, enhances video visibility and audience experience, and helps audiences better understand and learn video games.
Smart Images

Figure CN110180180B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a video recording and playback system and method. Background Art
[0002] Players of video games often need help if they get stuck or want to discover additional features to progress within the game; or to improve their existing game, such as beating a personal best score.
[0003] Comments from the creator of the video (e.g. Video capture of video footage (such as walkthroughs and speed runs on the video game) and in-game footage is popular but relies on the commentator to provide the required information and / or explain or demonstrate specific moves that the viewer wants. Whether the relevant information will be provided to the viewer's satisfaction is unpredictable, leading to frustration. Additionally, it can be problematic for younger viewers to watch a video where the commentator may be cursing. As a result, the benefit of such videos to viewers who want help with a video game can be highly variable.
[0004] The present invention aims to solve or alleviate this problem. Summary of the invention
[0005] In a first aspect, a video recording method is provided, comprising the following steps:
[0006] recording a sequence of video images output by a video game;
[0007] recording a sequence of depth buffer values for a depth buffer used by a video game;
[0008] Recording a sequence of in-game virtual camera positions for generating video images;
[0009] recording one or more in-game events and their respective in-game locations;
[0010] associating the sequence of depth buffer values, the sequence of in-game virtual camera positions, and an identifier of the video game with the sequence of video images; and
[0011] One or more in-game events and their respective in-game locations are associated with an identifier of the video game.
[0012] In a second aspect, a video recording device is provided, comprising:
[0013] a recording processor adapted to record a sequence of video images output by the video game into a video storage component;
[0014] The record processor is adapted to record a sequence of depth buffer values for a depth buffer used by a video game;
[0015] The recording processor is adapted to record a sequence of in-game virtual camera positions for generating video images; and
[0016] The record processor is adapted to record one or more in-game events and their respective in-game locations;
[0017] an association processor adapted to associate the sequence of depth buffer values, the sequence of in-game virtual camera positions, and an identifier of the video game with the sequence of video images; and
[0018] The association processor is adapted to associate one or more in-game events and their respective in-game locations with an identifier of a video game.
[0019] Further aspects and features of the invention are defined in the appended claims. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Embodiments of the present invention will now be described by way of example with reference to the accompanying drawings, in which:
[0021] Figure 1 is a schematic diagram of an entertainment device that may be used as one or more of a video recording device, a video playback device, and an event analyzer according to an embodiment of the present invention.
[0022] Figure 2 is a schematic diagram of a system including a video recording apparatus, a video playback device, and an event analyzer according to an embodiment of the present invention.
[0023] Figure 3 is a flowchart of a video recording method according to an embodiment of the present invention.
[0024] Figure 4A and 4B A video image and corresponding depth buffer information according to an embodiment of the present invention are shown.
[0025] Figure 5 An image encoding scheme for depth buffer information and additional data according to an embodiment of the present invention is shown.
[0026] Figure 6 is a flowchart of a video playback method according to an embodiment of the present invention.
[0027] Figure 7 An enhancement of a video with graphical representations of statistically significant in-game events is shown in accordance with an embodiment of the present invention.
[0028] Figure 8 is a flow chart of an event analysis method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0029] Video recording and playback systems and methods are disclosed. In the following description, many specific details are presented to provide a thorough understanding of embodiments of the present invention. However, it will be apparent to those skilled in the art that these specific details do not need to be employed to implement the present invention. Instead, for clarity, specific details known to those skilled in the art have been omitted where appropriate.
[0030] Figure 1 Schematically shows Overall system architecture of the entertainment device. A system unit 10 is provided, wherein various peripheral devices can be connected to the system unit.
[0031] The system unit 10 includes an accelerated processing unit (APU) 20 as a single chip, which in turn includes a central processing unit (CPU) 20A and a graphics processing unit (GPU) 20B. The APU 20 can access a random access memory (RAM) unit 22.
[0032] APU 20 optionally communicates with bus 40 via I / O bridge 24 , which may be a discrete component or part of APU 20 .
[0033] Connected to bus 40 are data storage components such as hard disk drive 37 and a computer operable to access data on compatible optical disk 36A. Driver 36. In addition, RAM unit 22 may communicate with bus 40.
[0034] Optionally, also connected to bus 40 is an auxiliary processor 38. Auxiliary processor 38 may be provided to run or support an operating system.
[0035] The system unit 10 is connected via the audio / video input port 31, Port 32 Wireless link 33, A wireless link 34 or one or more Universal Serial Bus (USB) ports 35 communicate with peripheral devices as appropriate. Audio and video may be output via an AV output 39 such as an HDMI port.
[0036] Peripheral devices can include things like PlayStation Monoscopic or stereoscopic video camera 41; such as PlayStation Magic wand video game controller 42, and such as A conventional handheld video game controller 43; such as a PlayStation and PlayStation A portable entertainment device 44; a keyboard 45 and / or a mouse 46; a media controller 47, for example in the form of a remote control; and headphones 48. Other peripherals, such as a printer or a 3D printer (not shown), may similarly be considered.
[0037] GPU 20B (optionally in conjunction with CPU 20A) generates video images and audio for output via AV output 39. Optionally, audio may be generated in conjunction with or instead of an audio processor (not shown).
[0038] The video and optional audio may be presented to a television 51. The video may be stereoscopic if the television supports it. The audio may be presented to a home theater system 52 in one of a variety of formats, such as stereo, 5.1 surround sound, or 7.1 surround sound. The video and audio may also be presented to a head mounted display unit 53 worn by a user 60.
[0039] In operation, the entertainment device defaults to an operating system, such as a variation of FreeBSD 9.0. The operating system may run on the CPU 20A, the auxiliary processor 38, or a mixture of the two. The operating system provides a graphical user interface to the user, such as the PlayStation dynamic menu. The menu allows the user to access operating system functions and select games and optional other content.
[0040] Now also refer to Figure 2 According to an embodiment of the present invention, the above-mentioned entertainment device can operate as a video recording device (210A) and / or a video playback device (210B) under suitable software instructions. Optionally, the entertainment device can also operate as an event analyzer 220, separate from the record / playback role or integrated with the record role. In other embodiments, the event analyzer can be a remote server, and / or the video playback device can be a device form different from the entertainment device, such as a mobile phone or tablet computer, PC, smart TV, set-top box or different types of video game consoles.
[0041] Where the devices are separate appliances, they may communicate via the Internet (e.g. using appropriate Port 32 or port, or use cellular data).
[0042] Now go to Figure 3 , the video recording device 210A may operate according to the following video recording method, wherein:
[0043] The first step s310 includes recording a sequence of video images output by a video game. For example, a PlayStation 4 routinely saves a video of the current video image output in a data loop that allows storage of the last N minutes of gameplay, where N may be, for example, 20 minutes. Subsequently, in response to user input, in-game events, or predetermined events, such video data may also be copied to long-term storage, such as a disk drive of an entertainment device, or to a remote host via a network, so that it is not lost when overwritten in the data loop.
[0044] The second step s320 comprises recording a sequence of depth buffer values for a depth buffer used by the video game. The entertainment device uses the depth buffer when calculating which parts of the virtual scene are in front of each other and therefore may occlude each other in the final rendered image. In this way, it can provide depth data for each pixel of the rendered image.
[0045] The depth data array of the corresponding pixels of the rendered image can in turn be considered a depth image. Thus, for example, an 8-bit or 16-bit depth value can be stored as an 8-bit or 16-bit grayscale image corresponding to the rendered image. The depth image can have the same resolution as the corresponding video image, or a reduced resolution version (e.g., 50% size, with 1 / 4 pixels) can be used.
[0046] Thus, for example, for a conventional image format having three 8-bit data channels (eg, for red, green, and blue), an 8-bit depth value may occupy one data channel, or a 16-bit depth value may occupy two data channels.
[0047] Figure 4A shows a rendered image, while Figure 4B The corresponding depth images in both data channels are shown.
[0048] Thus, the step of recording a sequence of depth buffer values may comprise, for each instance of the recorded depth buffer, generating a depth image using at least one of a plurality of image data channels of the depth image.
[0049] The third step s330 includes recording a sequence of virtual camera positions in the game for generating video images. The virtual camera position is the position of the camera used when rendering the output video image. The position can be defined as an absolute position with reference to the game world coordinate system and / or relative to a global coordinate system with a predetermined origin (for example, in the latter case, the position of the virtual camera in the first output video image can be set at the origin, and subsequent camera positions are relative to the origin). Optionally, additional camera position information can be provided as needed, such as one or more of the camera orientation / rotation, field of view, focal length, nearest drawing distance, farthest drawing distance, etc. at the position.
[0050] The virtual camera position data may be recorded as a separate data stream, but alternatively, may be recorded by encoding the data in a different one of the multiple image data channels that is not used to record the depth buffer value. Thus, for example, in an RGB image where the red and green channels are used to encode depth data, the blue channel may be used to encode the camera position data. Therefore, in an embodiment of the present invention, the in-game virtual camera position data is recorded in space as a high contrast block in the corresponding image data channel.
[0051] Also optionally, where the game is not from a first person perspective (i.e., when the player is not yet conceptually at the virtual camera position, but an avatar is displayed on screen), the player's position and optionally also one or more of their orientation / rotation, speed, mode (e.g., running / walking), and / or posture may be recorded using the same coordinate scheme as used to record the virtual camera position data. Again, this may be a separate data stream or encoded within the image, e.g., together with the virtual camera data and in a similar manner.
[0052] Figure 5 This RGB image encodes depth data in the red and green channels, and camera / player position data in the blue channel for use with Figure 4A The same image in Figure 4B . For grayscale reproduction of the image, it will be understood that the blocky features represent the spatial encoding of the camera and, optionally, player position data in the blue channel, etc. The block size may correspond to a macroblock of the encoded image, or may be any size depending on the amount of information to be encoded. The lower limit of the block size will be limited by the block size that can be reliably recovered after any image compression / decompression used during appropriate video recording, hosting / storage / streaming and playback. Again for grayscale reproduction of the image, it will be understood that the stripes in the terrain are caused by the lower 8 bits of the 16-bit depth data in the green channel, resulting in the green value cycling between 0 and 255 as the 16-bit distance value increases. In this example, the selection of R, G, and B channels is arbitrary. Thus, this supplemental data may be provided as a second image sequence running in parallel with the video image sequence output by the video game.
[0053] A fourth step s340 includes recording one or more in-game events and their respective in-game locations using a similar scheme to the virtual camera position and optionally the player position. The choice of which in-game events are recorded in this manner will be made by the designer, but may typically include one or more crashes / character deaths, overtaking / defeating a real or computer-based opponent, changing the state of the user within the game (e.g., changing equipped weapons, etc., or using nitrox in a car), and player choices (such as turning left or right to avoid an obstacle, or choosing to jump over it). In the latter case, the choice may be associated with a predetermined in-game decision point, which may be position-based (e.g., an obstacle or path selection) or may be logical (e.g., when navigating a dialogue tree with an in-game character). In the case of a position-based choice, due to the variability of users as to when they respond to a choice, the choice made may be associated with the location of the in-game decision point rather than the location of the user or camera to aid in the analysis of subsequent decisions. Alternatively or additionally, such a decision may be encoded when it is made by the user, or when the in-game decision point is at the closest drawn position relative to the virtual camera, or at some other predetermined relationship to the virtual camera (e.g., within a predetermined distance), so as to provide predictability as to which video image may be associated with the selection data, or the selection data may be encoded for each image between these two moments (or similarly, for any video frame where the camera and / or user avatar is within a predetermined distance of the in-game decision point). In addition to location-specific events, ongoing events may also be recorded. Thus, optionally, for each video image, the current user input(s) (e.g., buttons pressed or associated input values) may also be recorded in a similar manner to provide an approximate record of the user's interaction with the game, and similarly, the user's in-game position (e.g., avatar position) may be treated as an ongoing event if different from the camera position.
[0054] As described above, data is recorded for each of the sequence of video images output by the video game, but typically not as part of the sequence of output video images, but rather as parallel sequences of data encoded as if they were video images.
[0055] In a fifth step S350, the parallel sequence is associated with the output video image sequence and an identifier of the video game, so that the sequence of depth buffer values, the sequence of in-game virtual camera positions and the identifier of the video game are associated with the video image sequence (along with any optional additional information also encoded, such as player position, user selections, etc.).
[0056] The identifier enables subsequent analysis of the video sequence without requiring image-based identification of the game from which the video sequence has been recorded. The identifier may simply be the name of the game in plain text, or a unique release number associated with the game. For simplicity, the identifier may correspond to an identifier already associated with the game, for example for purposes of registering ownership of the game with a management service associated with a host video game console.
[0057] Then, in a sixth step S360, one or more in-game events and their respective in-game locations are associated with an identifier of the video game.
[0058] The in-game events, their respective in-game locations, and an identifier of the video game may then optionally be uploaded to a remote server which may serve as an event analyzer 220 which receives such data from multiple client devices acting as video recording devices and identifies statistically significant features of the data, as described later herein.
[0059] In-game events and their respective in-game positions may alternatively or additionally be encoded with an identifier of the video game within the sequence of depth buffer values, the sequence of in-game virtual camera positions, and the color channels of the sequence of supplementary images, thus (also) associating them with the identifier of the video game in this manner. This allows a specific instance of an in-game event to be associated with a specific video recording.
[0060] Optionally, each recorded image sequence of a video game (video recording) may have a unique video ID, which may optionally be sent to an event analyzer. Event data may then be sent to the event analyzer in association with the unique video ID. Subsequently, in addition to any statistical analysis, the event analyzer may optionally send the event data back to the video playback device to which the unique video ID was sent.
[0061] Similarly, optionally, a sequence of depth buffer values and / or a sequence of in-game virtual camera positions, as well as any other optional data (such as player avatar positions), may also be uploaded to the event analyzer in association with the unique video ID.
[0062] If all supplemental data is uploaded in this manner, it may be provided to the server as a parallel video record encoded as previously described herein, or as separate data elements encoded in this manner by the server.
[0063] Subsequently, when the video playback device sends the unique video ID found in the video recording, it can receive all of the supplemental data, for example as a parallel video recording encoded as previously described herein.
[0064] Alternatively or additionally, the video recorder may first upload the parallel video recording to an online host such as or ), obtains the URL associated with the hosted recording, and embeds that URL into the user field of the video recording of the game before also uploading it to the online host. Equivalently, after uploading the parallel video recording to the online host, using the unique video ID as the video name, the video recorder can embed the video ID into the user field of the video recording to subsequently use it as a search term for the online host.
[0065] In either case, so long as the unique video ID or URL remains associated with the original video (e.g., in a user field of the video), a video playback device suitable for implementing the techniques disclosed herein can access the desired supplemental data by either requesting it from an event analyzer or accessing a parallel hosted video from an online host, while the video itself remains traditional and capable of being processed and sent by traditional or legacy devices and applications without having to specifically consider the processing and sending of non-standard supplemental data associated with these techniques.
[0066] Now go to Figure 6 , the video playback device 210B can operate according to the following video playback method, wherein:
[0067] The first step s610 comprises obtaining a video recording of a video game playback session comprising a sequence of video images. This may be accomplished in any suitable manner, such as downloading a video file, streaming it for use in a video such as or The video stream of the network service of the playback device, or access to the video recording already existing in the local storage of the playback device (such as HDD 37 or BD ROM 36 / 36A).
[0068] A second step s620 comprises obtaining a sequence of depth buffer values, a sequence of in-game virtual camera positions, and an identifier of a video game associated with the video recording. As previously described, these may be provided in association with the video recording, for example as a data file provided with the video recording, such as a parallel video recording provided with the video recording encoding the data, and optionally additional data such as avatar position and event data.
[0069] Alternatively, such parallel video recording including the encoded data may be accessed by reference to a unique video ID obtained from a data field of the video recording and submitted to the event analyzer server, or alternatively, such parallel video recording including the encoded data may be accessed by reference to a URL or search term obtained from a data field of the video recording used to access the video from a video hosting service.
[0070] It will be appreciated that the Supplemental Data may be downloaded in its entirety, or alternatively, streamed at the same rate as the video recording of the video game, so that the Supplemental Data is provided in a real-time manner. Alternatively, the Supplemental Data may be streamed at a predetermined frame offset (e.g., 1, 2, 3, or more frames ahead of the video recording of the video game) to provide sufficient processing time to prepare the processed information for receipt of the corresponding video frame of the video game, and / or to provide any smoothing, averaging, or error correction functions for the Supplemental Data that will depend on receipt of subsequent frames of the Supplemental Data. This may be accomplished by padding the video recording of the video game with a desired predetermined number of blank frames at the start of the video game, or by delaying playback of the video recording of the video game by a desired predetermined number of frames.
[0071] The third step S630 includes obtaining data indicating statistically significant in-game events and in-game event locations. As described elsewhere herein, this data is either obtained as a file from an event analyzer or streamed to a video player during playback. This data typically includes data indicating in-game event analysis data, such as data related to the importance of the event and optional other statistical data (and typically also the type of event, etc., to help select how to graphically represent the event).
[0072] As previously described, the choices of which in-game events have been recorded may have been made by the designer, and may include one or more crashes, character deaths, overtaking or defeating an opponent, or indeed being overtaken or defeated by an opponent, changes in the state of the user within the game, player selections, and / or player input. The data may then be analyzed as described elsewhere herein, and data related to the analysis may then be associated with the event location.
[0073] If the data is subsequently downloaded as a file prior to displaying a video replay of a particular in-game location, the event location can be used to determine when to use the event analysis data, and alternatively or additionally, when the data is subsequently streamed in sync with the recorded playback of the video game, then events with that data can be streamed based on when the video game's recording reaches the event location, optionally based on a predetermined offset from the camera position or, optionally, a predetermined offset from the position of the player avatar at that moment in the recording.
[0074] A fourth step S640 then comprises calculating a position within the current video image corresponding to the position of the in-game event based on the relevant in-game virtual camera position and the depth buffer value.
[0075] Thus, if the position of the camera using an in-game or global coordinate system is known for the video image of the currently displayed video game, and the depth data for the pixels in the displayed video image is known or can be interpolated from the associated depth data differences, then the in-game or global (X, Y, Z) coordinates of each pixel in the video image of the currently displayed video game can actually be determined. Thus, the position of an in-game event within the currently displayed video image can be determined.
[0076] In particular, if for a given event, the corresponding X,Y coordinates in the currently displayed video image are determined to have a Z coordinate that is closer than the Z coordinate of the event, then the event is actually obscured from the current viewpoint of the displayed video image by an object within the virtual environment depicted within the video image.
[0077] Using this information, the video playback device can enhance the current video image with a graphical representation of a statistically significant in-game event in response to the calculated position. In particular, the video playback device can decide whether to block some or all of the graphical representations of statistically significant in-game events based on whether the elements of the displayed environment are currently between the game event position and the viewpoint of the video presentation. For example, the video playback device can prepare to render a simple polygon-based object such as a tetrahedron, act as a pointer, and then use the Z value of the video image to perform so-called z culling on the tetrahedron in the final rendering, so that the tetrahedron appears to be naturally embedded in the video environment, and the tetrahedron is appropriately blocked from the current viewpoint of the virtual camera recording the video image. Therefore, the technology can include calculating any occlusion of the graphical representation at the calculated position caused by the foreground elements of the video image according to the depth buffer value.
[0078] Figure 7 Shown for Figure 4A . In this figure, the paths of other players are shown (e.g., particularly fast or slow players in the red or blue tracks, respectively). For grayscale reproduction, the specific meaning of each track is not necessary to understand the invention. Notably, as seen in the expanded portion, when the Z position of the track data exceeds the Z position of a feature within the video image, the track disappears behind the feature of the environment.
[0079] Figure 7Also shown are simple polygonal objects (in this case tetrahedrons) that indicate events such as a vehicle skidding or braking. It will be appreciated that more sophisticated, visually appealing and informative indicator objects may be used for this purpose, optionally with their own textures, and that typically different corresponding graphical representations will be used for corresponding different event types. It will be appreciated that other graphical effects may be applied, such as reducing the brightness of video pixels whose x, y, z positions intersect a line of indicator objects in a predetermined direction, thereby generating a noticeable shadow of the indicator object within the video game environment, and improving the apparent immersion of the indicator object. Similarly, the video playback device may analyze the effective resolution or compression rate of the video, and reduce the effective resolution of the indicator object to substantially match these (e.g., by pixelating and / or blurring the rendered object), so that the indicator object appears more like part of the background video image.
[0080] Optionally, the video playback device can also obtain a sequence of in-game player positions associated with the video recording. As previously described, this can be encoded in a separate file or stream or in a parallel image sequence. The enhancement stage can then include displaying the relationship between the current player position in the video and one or more event positions. This can variously take the form of indicating the distance / countdown value between the player position and the event position, adding a line, arrow or path between the player position and the event position, only displaying or fading an indicator object associated with the event when the distance between the player position and the event position is within a predetermined threshold, etc.
[0081] Now go to Figure 8 , a server operating as an event analyzer 220 may operate according to the following event analysis method, wherein:
[0082] The first step S810 includes receiving a video game identifier and one or more associated in-game events and their respective in-game locations from a plurality of video game devices (serving as video recording devices), respectively. Thus, as previously described herein, the event analyzer receives data from a plurality of video game devices relating to a particular video game identifying in-game events and locations at which they occur within the game.
[0083] As previously described herein, the event analyzer may optionally receive any other supplemental data recorded by the video recording device along with the unique video recording ID.
[0084] Then, a second step S820 includes performing analysis on one or more aspects of the in-game events associated with the video game identifier and their respective in-game locations to identify statistically significant in-game events.
[0085] This can be done, for example, by performing geospatial analysis on multiple events of similar types, or targeting specific instances of location-specific events to identify hot spots, cold spots, and other set statistics indicative of the behavior of a corpus of players for that type of event.
[0086] An example form of geospatial analysis can be the Getis-Ord-Gi* statistic, summarized below. This analysis evaluates characteristics with respect to their neighbors, so that clusters of similar characteristics are significant in terms of global evaluation and are therefore identified as hot spots. Cold spots can be identified in the opposite manner if desired.
[0087] The local evaluation of Getis-Ord is shown below:
[0088]
[0089] where x j is the attribute value of feature j, w i,j is the spatial weight between features i and j, n equals the total number of features, and:
[0090]
[0091] The statistic is a z-score, so no further calculations are required.
[0092] Important aspects of an event may be selected by weighting them. Thus, for example, a set of points in the game space relating to where a user applies the brakes in a racing game may be weighted according to the respective final lap time associated with each point.
[0093] The analysis then generates for each point individually a z-score (e.g., reflecting how many of its neighbors also have high weights), as well as a p-value, indicating whether the point is an outlier.
[0094] These analyses may be performed periodically for a particular game title, and / or in response to receiving more data for that game (e.g., after receiving 1, 10, 100, 1000, 10000, or 100000 additional data sets, as appropriate).
[0095] It will be appreciated that different aspects of an event or event type may be analyzed separately in this manner depending on the weights used. For example, a braking event may be analyzed with respect to lap time or whether a lap was completed, vehicle type, or user demographics.
[0096] To this end, it will be appreciated that the video recording device may also record other information about the game, which may be referred to as session data; that is, not the events within the game itself, but information about the game, such as difficulty settings, player skill levels or equipment used, final results (times, scores, achievements, rankings, etc.) determined after completing a level, etc. In the case where only a portion of a level is video recorded, once the level is reached (or other logical points at which these values are obtained), the video recording device may optionally append this data to the video recording, even if the video recording itself has stopped. Such session data may be stored as a separate file or encoded in any suitable manner in a game video recording or a parallel video recording. For example, the session data may be included as one or more frames at the beginning or end of a parallel video recording.
[0097] Alternatively or additionally, for such geospatial analysis, a user-generated event tag or user ID may be associated with a particular uploaded event data set.
[0098] This allows the event analyzer to provide event data corresponding to specific individuals, such as, for example, players found on a user's friend list associated with their own user ID. In this way, individual selections and events from friends of a viewer of the replay may be shown as an enhancement to the video, alternatively or additionally to statistical analysis of a wider group of players, and / or geospatial analysis limited to their friendship group.
[0099] This principle could also be extended to tribes, teams, and other self-identified groups through user-generated tags, allowing, for example, an esports team to enhance videos posted by competitors by overlaying their performance data.
[0100] Further expanding, geospatial analysis can be performed multiple times for different groups of players to provide analysis based on location (e.g., national statistics) and demographics (such as age and gender). This information is usually available from the registration details associated with each user ID.
[0101] In any case, after the analysis, a third step S830 includes receiving a video game identifier and at least one of an in-game virtual camera position and an in-game player position from the video playback device.
[0102] Thus, in addition to receiving data from the video recording device, the event analysis server also receives a request for data from one or more video playback devices. The request identifies the video game in the video so that the event analyzer knows which data set to reference (although this may be implicit, such as when the event analysis server is dedicated to supporting only one game, then the act of sending a request to the server constitutes identification of the relevant video game and data set).
[0103] The request also includes at least one of an in-game virtual camera position and an in-game player position. This may take different forms depending on how the data is sent back to the video playback device. If data for an entire level (or a segment / branch of a level or area, etc.) is to be downloaded, then the identification of the level is used to identify the camera / player position to the extent necessary to obtain the relevant data.
[0104] Also, if the data is being streamed, the current position of the camera / player relative to the displayed frame of the video stream (or optionally, a predetermined number of frames ahead to account for access and network latency) can be used. This allows the received data stream to track the progression of events within the video, which may vary from video to video due to how each user plays, and the events they experience (such as a car crash or breakdown rather than a smooth ride) (otherwise making predictions about which events are relevant to the current video display is difficult).
[0105] It will be appreciated that between position updates on a per level and per frame basis, a variety of schemes may be employed within the technology, such as periodic updates of position based on time or distance (e.g., every N seconds or M meters, where N or M are predetermined values). Alternatively, triggers may be encoded within the video itself by the video recording device (e.g., a tag or value in a user field) corresponding to when events occur during gameplay, such that when these are encountered during playback, the corresponding camera or player positions are then sent to the event analyzer in order to receive data relating to the corresponding events.
[0106] In any case, in response, then in a fourth step S840, the event analysis server selects analysis data related to one or more identified statistically significant in-game events associated with the received video game identifier and having an in-game location within a predetermined distance of at least one received location (corresponding to a level, cycle time or distance, or current or upcoming video frame, as described above). The predetermined distance may be a drawing distance of the video game, so that an indicator object for the event may appear as if it were part of the in-game rendering, but in principle may be any predetermined distance from the received location.
[0107] The selection of analysis data may follow one or more principles. For example, the data most important to the event may be selected (e.g., if a user is presented with a choice of turning left or right, and 95% of players who turn right complete the level, while 95% of players who turn left do not, then that aspect of the decision event is more important than 60% of cars turning right and 60% of motorcycles turning left. Alternatively, data related to the obvious choices / events of the players in the video may be prioritized. Similarly, data related to preferences set by viewers of the video may be selected, such as looking for the most common events, or the least common events, or preferring events such as crashing rather than overtaking.
[0108] Finally, in a fifth step S850, the event analysis server sends data representing the in-game event analysis data and its in-game location to the video playback device. The video playback device can then use this data to construct an enhancement layer of the video, such as Figure 7 shown.
[0109] It will be appreciated that because the location of in-game events is itself constrained by the rules and environment of the game, the accumulated event data received by the event analysis server will be consistent for that game (e.g., all events related to overtaking will be at locations corresponding to the track, or at least at locations where overtaking is legal in the race). As a result, the locations associated with the event analysis data and the locations associated with the camera / player in the current video will be consistent with each other and the in-game environment (e.g., the game environment) in the video will be consistent with each other. Figure 7 ) thus appear to interact naturally, even though the event analysis server and video playback device may not have any explicit knowledge / model of the actual virtual environment within the game.
[0110] It will be appreciated that in principle a video game console could operate as both a video recording device and a video playback device, allowing a user to review their own gameplay almost instantly with the benefit of statistical event data superimposed on top. Furthermore, a video game console could in principle also operate as an event analysis server, for example analyzing the gaming history of one user (such as a professional e-sports player) to help them identify trends within their gameplay.
[0111] Variations of the above described techniques are also contemplated.
[0112] For example, video compression often effectively reduces the color bit depth. This produces slightly flatter color areas, but has limited impact on most videos. However, if the color channels are used to encode depth data, this compression may significantly affect the depth data.
[0113] Possible solutions include using only the more significant bits within a channel (eg, only 6 bits in an 8-bit channel, or 8 bits in a 10-bit channel, or 10 bits in a 120-bit channel).
[0114] Another solution points out that if a 16-bit depth value is encoded on two 8-bit color channels, each with a low-significant bit affected by compression, then in practice the middle-significant bits of the depth value may be corrupted. However, if bits are alternated between the two color channels (e.g., so that bit 1 (depth) becomes bit 1 (green), bit 2 (depth) becomes bit 1 (blue), bit 3 (depth) becomes bit 2 (green), bit 4 (depth) becomes bit 2 (blue), etc.), then the low-significant bits of the depth data will be affected by compression in this way.
[0115] The use of the received analytical data may be very tailored to the type of game that has been recorded. For example, providing commentary that simply states whether a player takes a popular or unpopular choice at certain points within a game may be appropriate in some cases, while many graphically complex statistics relating to the positions of multiple players may be appropriate for another game.
[0116] Similarly, the event analysis server can provide graphical data (indicator geometry, textures, etc.) in response to receiving a video game identifier so that the video playback device has graphical assets to highlight events that are graphically consistent with the particular game in the video (because the video playback device may not have the game installed itself and may not have information or assets related to it).
[0117] While the description refers to parallel video recording using depth data, and suggests that camera and event data etc. are also encoded within the data channel of this parallel video recording, in principle such data could be included in user data fields of a video codec supporting these fields, so that some or all of the data is included directly in the video recording of the game. This could be an option for video hosted by non-traditional services that have been adapted to accommodate the present technology (e.g., by retaining such data fields, or not applying lossy compression to them).
[0118] It will be appreciated that the above methods may be run on conventional hardware as suitably adapted by software instructions or by the inclusion or replacement of dedicated hardware.
[0119] Thus, the desired adaptation of existing parts of the legacy equivalent device may be implemented in the form of a computer program product comprising processor-implementable instructions stored on a non-transitory machine-readable medium (such as a floppy disk, optical disk, hard disk, PROM, RAM, flash memory, or any combination of these or other storage media), or implemented in hardware as an ASIC (Application Specific Integrated Circuit) or FPGA (Field Programmable Gate Array) or other configurable circuit suitable for use to adapt the legacy equivalent device. Separately, such a computer program may be transmitted via data signals over a network, such as an Ethernet, a wireless network, the Internet, or any combination of these or other networks.
[0120] Thus, the hardware for the video recording apparatus may be a conventional computing device, such as a PlayStation 4 operating under suitable software instructions, including a recording processor (e.g., CPU 20A operating under suitable software instructions) adapted to record a sequence of video images output by a video game to a video storage component (e.g., HDD 37), the recording processor adapted (e.g., by suitable software instructions) to record a sequence of depth buffer values for a depth buffer used by the video game, the recording processor adapted (e.g., by suitable software instructions) to record a sequence of in-game virtual camera positions used to generate the video images, and the recording processor adapted (e.g., by suitable software instructions) to record one or more in-game events and their respective in-game positions; and also including an association processor (e.g., CPU 20A again operating under suitable software instructions) adapted to associate the sequence of depth buffer values, the sequence of in-game virtual camera positions, and an identifier of the video game with the sequence of video images, and the association processor adapted (e.g., by suitable software instructions) to associate one or more in-game events and their respective in-game positions with an identifier of the video game. In each case, the suitable software instructions appropriately implement the methods and techniques described herein.
[0121] Similarly, the hardware for the video playback apparatus may be a conventional computing device, such as a PlayStation 4 operating under suitable software instructions, including a playback processor (e.g., CPU 20A operating under suitable software instructions) adapted to obtain a video recording of a video game playback session, including a series of video images, the playback processor being adapted (e.g., via suitable software instructions) to obtain a sequence of depth buffer values, a sequence of in-game virtual camera positions, and an identifier for a video game associated with the video recording; including an analysis processor (e.g., CPU 20A operating under suitable software instructions) adapted to provide in-game virtual camera positions to an event analyzer, the analysis processor being adapted (e.g., CPU 20A operating under suitable software instructions) to obtain data indicating statistically significant in-game events and in-game event locations; including a position calculation processor (e.g., CPU 20A operating under suitable software instructions) adapted to calculate a position within a current video image corresponding to the in-game event position based on the associated in-game virtual camera position and depth buffer values; and also including an enhancement processor (e.g., CPU 20A operating under suitable software instructions) adapted to enhance the current video image with a graphical representation of the statistically significant in-game event in response to the calculated position. 20A and / or GPU 20B). Also in each case, suitable software instructions appropriately implement the methods and techniques described herein.
[0122] Finally, the event analyzer may also be a conventional computing device, such as a server or PlayStation 4 operating under suitable software instructions, including a receiver adapted to receive the video game identifier and one or more associated in-game events and their respective in-game locations from a plurality of video recording devices, respectively (e.g., a CPU 20A operating under suitable software instructions). port 32); an analysis processor (e.g., CPU 20A operating under suitable software instructions) adapted to perform analysis on one or more aspects of in-game events associated with a video game identifier and their respective in-game locations to identify statistically significant in-game events; a receiver adapted to subsequently receive the video game identifier and at least one of an in-game virtual camera location and an in-game player location from a video playback device; a selection processor (e.g., CPU 20A operating under suitable software instructions) adapted to select one or more identified statistically significant in-game events associated with the received video game identifier and having an in-game location within a predetermined distance of at least one of the received locations; and a transmitter (e.g., CPU 20A operating under suitable software instructions) adapted to transmit data indicative of the in-game events and their in-game locations to the video playback device. port 32). Also in each case, suitable software instructions appropriately implement the methods and techniques described herein.
[0123] As previously mentioned, the video recording apparatus, video playback device and event analyzer may be three separate devices, or may be two separate devices in any combination, or may be a single device including all three aspects.
[0124] Thus, the system (200) may comprise a video recording device as described herein, and one or more of a video playback device and an event analyzer as separate devices or within a single device. In principle, the system may similarly comprise a video playback device and an event analyzer as described herein.
[0125] It will be appreciated that using the above techniques and apparatus, a facility is provided wherein users can record their own games and upload them to a publicly accessible host, such as and (or perhaps a proprietary host, such as one belonging to an administrator of a network associated with a type of video game console), and then a viewer of the video can use a device or application that appropriately implements the techniques described herein to watch the video of the user playing the game, augmented with information about how other players are playing the game, thereby creating context for the user's decisions, in-game successes and failures, and a richer viewing experience.
Claims
1. A video recording method, comprising the following steps: recording a sequence of video images output by a video game; recording a sequence of depth buffer values for a depth buffer used by a video game; Recording a sequence of in-game virtual camera positions for generating video images; recording one or more in-game events and their respective in-game locations; associating the sequence of depth buffer values, the sequence of in-game virtual camera positions, and an identifier of the video game with the sequence of video images; as well as One or more in-game events and their respective in-game locations are associated with an identifier of the video game.
2. The video recording method according to claim 1, wherein: For each instance of a recorded depth buffer, the step of recording a sequence of depth buffer values comprises: generating a depth image using at least one of the plurality of image data channels; and For each camera position recorded, the steps to record the sequence of virtual camera positions in the game include: The in-game virtual camera position is encoded in a different one of the multiple image data channels that is not used to record the depth buffer value.
3. The video recording method according to claim 2, wherein: For each instance of a recorded depth buffer, the step of recording a sequence of depth buffer values comprises: Generates a 16-bit depth image using two channels of image data; and For each camera position recorded, the steps to record the sequence of virtual camera positions in the game include: Spatial encoding of in-game virtual camera position data as high-contrast blocks in the corresponding image data channel.
4. The video recording method according to claim 2 or 3, comprising the following steps: Use the same coordinate system to record the sequence of player positions in the game; as well as For each in-game player position recorded: In-game virtual player position data is spatially encoded as a high contrast block in a different one of the multiple image data channels that is not used to record depth buffer values.
5. A computer-readable medium having computer-executable instructions, adapted to cause a computer system to execute the method of any one of claims 1-4.
6. A video recording device, comprising: a recording processor adapted to record a sequence of video images output by the video game into a video storage component; The record processor is adapted to record a sequence of depth buffer values for a depth buffer used by a video game; The recording processor is adapted to record a sequence of in-game virtual camera positions for generating video images; and The record processor is adapted to record one or more in-game events and their respective in-game locations; an association processor adapted to associate the sequence of depth buffer values, the sequence of in-game virtual camera positions, and an identifier of the video game with the sequence of video images; and The association processor is adapted to associate one or more in-game events and their respective in-game locations with an identifier of a video game.
