AU2015203292A1 - Composite video streaming using stateless compression - Google Patents

Composite video streaming using stateless compression Download PDF

Info

Publication number
AU2015203292A1
AU2015203292A1 AU2015203292A AU2015203292A AU2015203292A1 AU 2015203292 A1 AU2015203292 A1 AU 2015203292A1 AU 2015203292 A AU2015203292 A AU 2015203292A AU 2015203292 A AU2015203292 A AU 2015203292A AU 2015203292 A1 AU2015203292 A1 AU 2015203292A1
Authority
AU
Australia
Prior art keywords
video
processor
frames
series
video stream
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
AU2015203292A
Other versions
AU2015203292B2 (en
Inventor
Julian Michael Urbach
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Otoy Inc
Original Assignee
Otoy Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US12/907,906 external-priority patent/US9998749B2/en
Application filed by Otoy Inc filed Critical Otoy Inc
Priority to AU2015203292A priority Critical patent/AU2015203292B2/en
Publication of AU2015203292A1 publication Critical patent/AU2015203292A1/en
Application granted granted Critical
Publication of AU2015203292B2 publication Critical patent/AU2015203292B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Abstract: A video rendering and streaming methodology that utilizes stateless video compression and video image segmentation to achieve enhanced video compression. In some implementations, the video compression and streaming techniques described herein can be deployed to allow for delivery of high-definition video games to client devices that host a standard browser. WO 2012/054618 PCT/US2011/056906 13 14 15 16 NETWORK 25 /4 N 202 ACCESS RENDERED FRAME FRAME REGION NO DIFFERENT FROM PREVIOUSLY RENDERED FRAME REGION? WRITE RENDERED FRAME REGION 20-6 TO HISTORY BUFFER 208 ENCODE FRAME REGION WRITE ENCODED FRAME 210 REGION DATA TO SOCKET

Description

WO 2012/054618 PCT/US2011/056906 COMPOSITE VIDEO STREAMING USING STATELESS COMPRESSION TECHNICAL FIELD The present disclosure generally relates to video streaming. BACKGROUND A client-server architecture, in general, is a distributed computing 5 architecture that partitions tasks or work loads between servers, which may be considered as "service providers", and clients, which may be considered as "service requesters" or "service consumers". Often, the servers and the clients are connected via a computer network and various types of data may be transmitted between individual servers and individual clients bi 10 directionally over the computer network. The servers usually have more resources and greater performance capabilities than the clients. A server may share its resources with one or more clients, such as performing certain tasks for the clients (i.e., providing services to the clients). Because a server typically has more resources than a 15 client, the server may complete a task, especially a resource-demanding task, much faster than the client is able to. Data exchanged between a server and a client may be represented using any suitable data format and transmitted using any suitable communications protocol. For example, when an application is executed on a 20 server for a client, the output of the application may be represented using a structured document, such as a HyperText Markup Language (HTML) document or an Extensible Markup Language (XML) document. The server may transmit the HTML or XML document, which includes the data that represent the output of the application, to the client over a HyperText 25 Transfer Protocol (HTTP) connection between the server and the client. The client, upon receiving the HTML or XML document, may consume the 1 WO 2012/054618 PCT/US2011/056906 document and render the output of the application locally using the HTML or XML document, such as in a web browser executed on the client. Motion JPEG (M-JPEG) is a video format where each video frame or interlaced field of a digital video sequence is separately compressed as a JPEG 5 image. In other words, M-JPEG employs stateless compression as information from a previously rendered frame is not used to compress the frames that follow. M-JPEG is however characterized by low-latency. When a client device receives a frame of compressed motion JPEG video, it can immediately decompress the frame and display it, resulting in very low latency. Originally 10 developed for multimedia PC applications, where more advanced formats have displaced it, M-JPEG is now used by many portable devices with video capture capability, such as digital cameras. Motion JPEG uses a lossy form of intraframe compression based on the discrete cosine transform (DCT). This mathematical operation converts each frame/field of the video source from 15 the time domain into the frequency domain. A perceptual model based loosely on the human psycho-visual system discards high-frequency information, i.e. sharp transitions in intensity, and color hue. In the transform domain, the process of reducing information is called quantization. Quantization is a method for optimally reducing a large number scale (with 20 different occurrences of each number) into a smaller one, and the transform domain is a convenient representation of the image because the high frequency coefficients, which contribute less to the over picture than other coefficients, are characteristically small-values with high compressibility. The quantized coefficients are then sequenced and losslessly packed into the 25 output bit stream. 2 WO 2012/054618 PCT/US2011/056906 Mozilla and Webkit-based browsers have native support for viewing M-JPEG streams, other browsers can support M-JPEG streams using external plug-ins or applets. HTTP streaming separates each image into individual HTTP replies on a specified marker. RTP streaming creates packets of a 5 sequence of JPEG images that can be received by clients such as QuickTime or VLC. The server software mentioned above streams the sequence of JPEGs over HTTP. A special mime-type content type multipart/x-mixed replace;boundary= informs the browser to expect several parts as answer separated by a special boundary. This boundary is defined within the MIME 10 type. For M-JPEG streams the JPEG data is sent to the client with a correct HTTP-header. The TCP connection is not closed as long as the client wants to receive new frames and the server wants to provide new frames. SUMMARY 15 The present invention provides methods, apparatuses and systems directed to a novel video rendering and streaming methodology that utilizes stateless video compression and video image segmentation to achieve enhanced video compression. In some implementations, the video compression and streaming techniques described herein can be deployed to 20 allow for delivery of high-definition video games to client devices that host a standard browser. These and other features, aspects, and advantages of the disclosure are described in more detail below in the detailed description and in conjunction with the following figures. 25 BRIEF DESCRIPTION OF THE DRAWINGS FIGURE 1 is a schematic diagram illustrating a plurality of connections between a client and a server. FIGURE 2 is a flow chart diagram showing an example video 30 streaming method. 3 WO 2012/054618 PCT/US2011/056906 FIGURE 3 is a schematic diagram illustrating a plurality of connections between a client and a server according to another implementation of the invention. FIGURE 4 is a flow chart diagram showing another example video 5 streaming method. FIGURE 5 illustrates an example client-server system for allocating a server's resources across multiple clients. FIGURE 6 illustrates an example network environment. FIGURE 7 illustrates an example computer system. 10 DESCRIPTION OF EXAMPLE EMBODIMENT(S) The present disclosure is now described in detail with reference to a few embodiments thereof as illustrated in the accompanying drawings. In the following description, numerous specific details are set forth in order to 15 provide a thorough understanding of the present disclosure. It is apparent, however, to one skilled in the art, that the present disclosure may be practiced without some or all of these specific details. In other instances, well known process steps and/or structures have not been described in detail in order not to unnecessarily obscure the present disclosure. In addition, while the 20 disclosure is described in conjunction with the particular embodiments, it should be understood that this description is not intended to limit the disclosure to the described embodiments. To the contrary, the description is intended to cover alternatives, modifications, and equivalents as may be included within the spirit and scope of the disclosure as defined by the 25 appended claims. A client-server architecture enables a server to share its resources with one or more clients. Such an architecture has various advantages. For example, because the servers typically have more resources (e.g., processor or memory) and greater performance capabilities than the clients, a server may 30 complete a task faster than a client is able to. Such performance difference is 4 WO 2012/054618 PCT/US2011/056906 especially noticeable when the task is resource demanding or when the client has a limited amount of resources. At the same time, while the server is performing the task on behalf of or for the client, the resources of the client may be freed up to perform other tasks, such as those tasks that need to be 5 performed locally on the client (e.g., interacting with the user of the client). One type of task that may be suitable to be performed on the servers may be the rendering of an application hosted by a server as video output for transmission to a client. In the context of computer graphics, rendering may be considered as the process of generating an image from a model, usually by 10 means of computer programs. The model is usually a description of three dimensional (3D) objects and may be represented in a strictly defined language or data structure. The model may contain geometry, viewpoint, texture, lighting, shading, motion, and other suitable types of information. The image into which the model is rendered may be a digital image or a raster 15 graphics image, which may be formed by a collection of pixels. The present disclosure expands the concept of rendering to generating an image that represents any output of any application. The rendering may be performed based on any data, including two-dimensional (2D) data as well as 3D data. In addition to generating images based on 3D models, particular 20 embodiments may render images that represent the output of applications such as, for example and without limitation, web browsing applications. word processing applications, spread sheet applications, multimedia applications, scientific and medical applications, and game applications. Rendering may be a type of task that is suitable to be performed by a 25 server because the rendering process is often resource demanding, as it may be very computational intensive, especially when the rendered images are high resolution and high quality. In the past, it could have taken an older computer system hours or days to render a three-dimensional model into a single 2D image. With the development and advancement of computer 30 hardware, especially computer hardware specifically designed for computer 5 WO 2012/054618 PCT/US2011/056906 graphics applications (e.g., gaming, multimedia, entertainment, or mapping), present computer systems may be able to render each image within seconds or milliseconds. In fact, often it does not take all the available resources of a server to render a model into a single image. 5 FIGURE 5 illustrates an example system where a server 120 performs multiple renderings concurrently for multiple clients 130. Note that only four clients 130A, 130B, 130C, 130D are illustrated in FIGURE 5 in order to simplify the discussion. In practice, a server may concurrently perform renderings for any number of clients and there is no theoretical limitation on how many 10 clients a server may support at any time. Similarly, only one GPU 121 and one CPU 122 are illustrated in FIGURE 5 in order to simplify the discussion. In practice, a server may have any number of GPUs and CPUs. In particular embodiments, server 120 is connected with each of clients 130 via separate physical communication paths 150. In particular 15 embodiments, communication paths 150 between server 120 and clients 130 may comprise network connections via a computer network, such as, for example and without limitation, the Internet, an Intranet, a Local Area Network (LAN), a Wide Area Network (WAN), a wireless network, or a combination of two or more such computer networks. In particular 20 embodiments, each of network communication paths 150 may be a Transport Control Protocol (TCP) connection, a User Datagram Protocol (UDP) connection, or any other suitable connection. In particular embodiments, server 120 may have multiple TCP sockets 124, and each of clients 130 may be connected to one or more different TCP sockets 124. 25 In particular embodiments, data may be exchanged between server 120 and each of clients 130 bi-directionally via a corresponding communication path 150. For example, server 120 and client 130A may exchange data bi directionally via communication path 150A. The data may be in any suitable format. For example, server 120 may transmit data to clients 130 in the form 30 of video streams; and clients 130 may each transmit data to server 120. The 6 WO 2012/054618 PCT/US2011/056906 communications between server 120 and clients 130 may use any suitable protocol. For example, suppose an instance of application 131A is executed on server 120 for client 130A. The rendered output of the instance of application 131A executed on server 120 may be transmitted from server 120 5 to client 130A in the form of a video stream, with each rendered image representing the output of the instance of application 131A as a particular frame of the video stream. Input received at client 130A, particularly those input that may cause the instance of application 131A executed on server 120 to change state, may be transmitted from client 130A to server 120. 10 In particular embodiments, server 120 may have one or more Central Processing Units (CPUs) 122 and one or more Graphics Processing Units (GPUs) 121. CPUs and GPUs are well known in the field of computer. Briefly, a CPU is the portion of a computer system that carries out the computer's functions and the instructions of computer programs. A GPU is a 15 specialized processor that offloads graphics rendering from the microprocessor (e.g., the CPU). In general, GPUs are very efficient at manipulating computer graphics, and their highly parallel structure makes them more effective than general-purpose CPUs for a range of complex algorithms (e.g., graphics-related algorithms). In particular embodiments, 20 GPU 121 may be a part of a video card or on the motherboard of server 120. In particular embodiments, GPU 121 may include a rendering target. In particular embodiments, a rendering process renders the output of one or more applications as one or more images into the rendering target. In particular embodiments, the rendered 2D image may be stored in the 25 rendering target of GPU 121. In particular embodiments, the rendering target may be a frame buffer or any suitable type of memory or storage within GPU 121. As discussed below, a rendering target may be partitioned into a number of portions or frame regions. During playing of a game or use of an application hosted by server 120, 30 a client system 130 receives keyboard and/or controller input from the user, 7 WO 2012/054618 PCT/US2011/056906 and then it transmits the controller input via communications path 150 to server 120. Server 120 executes the gaming program code in response and generates successive frames of video output (a sequence of video images) for the game or application software. For example, if the user operates a joy stick 5 or other controller in a manner that would direct a player character on the screen to move to the right, the application hosted on server 120 would then create a sequence of video images showing the player character moving to the right). This sequence of video images may be compressed and transmitted to client system 130 for display. The client system 130 decodes the compressed 10 video stream and renders the decompressed video images on a display device, as discussed more fully below. Figure 1 provides a conceptual illustration of an embodiment of the invention. In one implementation, a client 20 hosting a browser or other client application may transmit an HTTP request for a web page that includes an 15 embedded video stream. The video stream may be part of an interactive game or a pre-recorded video. In response to the request for a web page, the server 30 transmits a HyperText Markup Language (HTML) page to the client 20 for processing by the browser. As one skilled in the art will recognize, other structured document formats, such as XML, SGML and the like, can be 20 used. In one implementation, the structured document may include a Javascript module that registers as a listener for various I/O input streams (such as mouse movement data, joystick data, keystrokes) and transmits the I/O input data to server 30. The HTML page returned to the client 20 includes embedded 25 references to a plurality of mjpeg streams. Each of the mjpeg streams corresponds to a unique region of the overall video image. As each mjpeg stream is a separate reference, the HTML code causes the browser to transmit separate HTTP requests for each stream, which in turn causes separate Transport Control Protocol (TCP) connections 25 to be established between 30 the client 20 and server 30, as Figure 1 illustrates. Relative to applications 8 WO 2012/054618 PCT/US2011/056906 hosted on the client 20 and server 30, data is written to so-called sockets that correspond to each of the connections 25. Figure 1 illustrates how a full video frame may be divided into sixteen unique frame regions. One skilled in the art will recognize that the number of grid cells and their aspect ratio may be 5 varied. For example, the full video frame may be divided in columns to create a 1 x N matrix, or by rows to create an N x 1 matrix. In addition, the grid cells need not be uniform in size. As discussed above, a property of mjpeg streams is that the JPEG images that form the sequence of video frames can be encoded and decoded 10 relatively rapidly with low latency. Another attribute of mjpeg stream processing is that a browser displays the last received frame until a new frame is received. Accordingly, if no new frames are received, the browser will continue to display the last received frame. The HTML code of the structured document is configured such that the 15 unique regions of the full video frame are aligned with respect to each other as shown in Figure 1. In one implementation, the frame regions can be aligned using an HTML table where each cell of the table corresponds to a different frame region. In other implementations, each frame region can corresponding to a DIV section. Cascading style sheet and absolute 20 positioning properties can be used to fix the relative locations of the frame regions as desired. In one implementation, the server 30 may generate a series of video frames, each of the frames stored in a buffer as a bitmap in the memory of GPU (for example) or main memory (if CPU processing is used). As each full frame is stored to a buffer, a video transmission process may 25 encode respective regions of the buffered full frame, and write encoded versions of respective regions of the buffered frame data to individual socket connections that correspond to each unique region of the full frame, as described in more detail below. Figure 2 illustrates an example process for selectively writing encoded 30 video frame data corresponding to unique regions of a full video frame. As 9 WO 2012/054618 PCT/US2011/056906 Figure 2 illustrates, a frame region delivery process accesses the currently rendered frame stored in a buffer (202) and determines whether the instant region of the rendered frame is perceptually different from the frame region stored in history buffer (204). If there is no perceptual difference between the 5 current frame region and the previously rendered region in the history buffer, the frame region delivery process does not write the frame region data to the corresponding communications socket. Determining whether one frame region is perceptually different from another frame region can be accomplished in a variety of manners. For 10 example, the frame region delivery process may perform a pixel by pixel XOR operation on the component values of the bit map to determine whether there are differences at each pixel. In another implementation, a memory comparison function, such as memcmp (a standard C library function, can be used to compare frame regions. In one implementation, any detected 15 difference is considered perceptually different. In other implementations, the frame region delivery process may perform a pixel-by-pixel comparison of the component values of the respective bit maps and compute a distance value (e.g., a Euclidian distance or the sum of the absolute values of the distances) between the component values of the respective bit maps. If the average or 20 mean distance exceeds a threshold value, the frame regions are considered perceptually different. If there is a perceptual difference between the current frame region and the previously rendered region in the history buffer, the frame region delivery process writes the frame region to the history buffer, overwriting a previously 25 stored frame region (206). The frame region delivery process encodes the frame region (208), in one implementation, by compressing the bitmap data into a JPEG image and writing the encoded frame region data to a socket that corresponds to the frame region (210). The frame region delivery process described above may be executed as 30 separate threads for each frame region and/or executed in parallel, such as 10 WO 2012/054618 PCT/US2011/056906 utilizing the massively parallel processing capabilities of a Graphics Processing Unit, as disclosed in U.S. Application Ser. No. 12/797,788, which is incorporated by reference herein for all purposes. Based on the foregoing, one can recognize that the foregoing arrangement, by only transmitting frame 5 region data when perceptual differences are detected in a given region, achieves a form of interframe compression utilizing a video compression and streaming method (here-M-JPEG) that is stateless. Accordingly, this form of enhanced video compression can be achieved in connection with remote hosts that only include a browser that supports M-JPEG and therefore does not 10 require special-purpose client applications or codecs to be installed. In the embodiment discussed above, the enhanced video compression functionality can be used to conserve bandwidth utilization. In other implementations, the video compression functionality can be used to increase video quality given some nominal or target bandwidth allocation. For 15 example, server 30 may allocate a certain amount of bandwidth to the session with client 20. Increasing the resolution of an image or a region of an image (such as compressing an image less aggressively) increases bandwidth utilization. When frame data for a given region is not transmitted to client 30, bandwidth is conserved. Server 30 may operate to re-claim this saved 20 bandwidth to increase the image resolution of other regions in the full video frame display. For example, if the video stream has been pre-recorded, a compression process can be executed to render each frame region in a first step and determine which regions have changes and which have not. In a second pass, the compression process may increase the video quality of one or 25 more regions in a given frame based on the amount of bandwidth saved. For real-time video streams, such as video streams generated by game logic of a video game, the compression process may employ a statistical approach to monitor on a historical basis the relative bandwidth utilization of each region and allocate bandwidth to more active regions by increasing image quality to 30 those regions. For example, based on the number of region frames 11 WO 2012/054618 PCT/US2011/056906 transmitted over a sliding window of time and the average size of the frame region data, the compression process may compute an average bandwidth utilization for each region. In other implementations, the compression process may actually increase the resolution or image quality of less active 5 regions under the assumption that less frames will be transmitted over some time interval. Figure 3 illustrates another implementation of the invention including one or more transparent, positional video streams, the pixel width and/or height of which can be modulated to translate the position at which a target 10 frame is rendered by a browser. Figure 3 shows a plurality of TCP connections 325a-h between client 20 and server 30. The full video frame rendered by client includes a plurality of rendered frame regions, some of which are statically positioned and sized, while other regions may change dynamically in size or position as discussed in more detail below. TCP 15 connections 325a-d correspond to regions 1-4 respectively of a full video frame. TCP connections 325e-g correspond to positional frames 5, 6, 7, while TCP connection 325h corresponds to translating frame region T. In the implementation shown, frame regions 1-4 are rendered as background images transmitted in an M-JPEG stream. Positional frames are 20 rendered as transparent frames overlayed on the background images of the frame regions and in the same layer as target frame region T. The positional frames may be rendered using a PNG format, the GIF format or any other format that supports transparency. Positional frames beyond being transparent essentially are invisible to the user as pixels are encoded with 25 transparency values in either the alpha or transparency channel. The target frame T is rendered by the browser as an overlay on the background image frames. In some implementations, the target frame T can be used to render a main or predominant object in a scene, such as a gun in a "first-person shooter" video game or a car in a first-person driving game. A mask can be 30 used to define transparent regions that surround the main object rendered in 12 WO 2012/054618 PCT/US2011/056906 the target frame. The background frame regions 1-4 can contain the remaining elements of the scene, such as landscapes and other objects. Accordingly, in one implementation, one or more objects are rendered separately in the T frames, while one or more other objects are rendered in the 5 frame regions 1-4. The generation, rendering, compression and transmission of frame regions 1-4 to a client 20 operate substantially the same as above. Moreover, there may be more than 4 background frame regions, such as 16 frame regions as discussed above. In addition, there may be one background frame or no background frame. 10 The positional frames 5-7 and target frame T are rendered by client application in the same layer. In the implementation shown, target frame T is positioned and rendered adjacent to the positional frames. In one implementation, this can be accomplished by transmitting a base HTML document that includes an HTML table element. The table can be a 2x2 table 15 with 3 of the cells corresponding to the positional frames 5-7, while the target frame corresponds to the last cell (such as the upper right cell). The HTML table can be anchored or positioned in a corner of the display. To translate the target frame, the image size of the positional frames rendered in the other cells can be changed such that expansion and contraction of one or more of 20 the positional frames causes translation of the target frame as perceived by the viewer. If only horizontal or vertical motion is desired a 1x2 or 2x1 table can be used. The positional frames 5-7 are aligned relative to background frame 3. However, the positional frames can also be aligned relative the overall display or other background frames. Accordingly, changes to the 25 width or height of the positional frames 5-7 can cause the browser to render the target frame in different positions relative to the background frame regions and the overall display. In implementations, where the target frame T can be tied to a corner of a single frame, only one positional frame can be used. In one implementation, an HTML table with a single cell or an HTML 30 DIV section can be used, where the background image is a transparent 13 WO 2012/054618 PCT/US2011/056906 positional frame and the target image is aligned to a side or corner of the table or DIV section. In such an implementation, a change to the width or height of the background positional frame image causes the target frame to be rendered in a different position on the display. Implementations of the invention 5 strategically modulate the aspect ratios of one or more of the positional frames to cause the browser to effectively change the position at which the target frame is rendered and displayed. In one implementation, this can be accomplished by transmitting over the TCP connections 325e-g transparent video frame data of a selected height 10 and width as mjpeg streams. As movement of the target frame is desired, positional logic may determine changes to the height or width of one or more of the positional frames and transmit a new frame having a selected height and width. Figure 4 illustrates an example process that may be used in a video game implementation. For example, assume for didactic purposes that 15 the process is used in connection with a first-person shooter, such as Crysis(r) published by Electronic Arts, Inc. of Redwood City California. In such a game, the gun can be rendered in the target frame, while the remaining game objects and scene are rendered in the background frame regions. As Figure 4 illustrates, server 20, in one implementation, may receive input/output inputs 20 from client 30 (402), such as data characterizing mouse clicks or movements, joystick movements, keystrokes, game controller movements and the like. In one implementation, the structured document that is first transmitted down to the remote client and includes the inline references to the various streams may also include a Javascript module or other code object to receive I/O 25 device inputs and transmit the inputs to the server for processing. Server 20 may execute the game logic based on the input/output inputs to adjust game state (404), such as the state of one or more objects in the game, such as player characters, non-player characters, buildings and the like. Server 20 may render video frames for the background including all objects except those 30 included in the target frame (406) and separately render target frames based 14 WO 2012/054618 PCT/US2011/056906 on the state of one or more objects associated with the target frame (408), such as a gun or a car. In one implementation, the rendering process for the target game renders the target object based on the object's state parameters, such as position and orientation, but centers the rendered object in the target frame. 5 Server 20 also computes, based on the target object, the positional parameters for the target frame itself--that is, the coordinates as to where in the client display the target frame should be rendered. These positional parameters determine the width and height of the positional frame(s) required to position the frame in a desired location. Server 20 then compresses the region, 10 positional and target frames and writes the compressed frames and transmits the region, target and positional frames to respective socket connections 325a h. Some implementations of the invention may achieve profound advantages. A mobile device, a laptop or desktop computer may not need to 15 have special purpose client applications or codecs installed to view high quality video and/or play high-quality video games. For example, the implementation described above allows a user to play a video game with high-definition graphics quality with a browser only. For example, a user may access a site using a browser hosted by a mobile phone and simply access 20 a page to play a video game. In another implementation, a user may play a high-quality video game simply by receiving an HTML-based email document. Particular embodiments may be implemented in a network environment. FIGURE 6 illustrates an example network environment 600. 25 Network environment 600 includes a network 610 coupling one or more servers 620 and one or more clients 630 to each other. In particular embodiments, network 610 is an intranet, an extranet, a virtual private network (VPN), a local area network (LAN), a wireless LAN (WLAN), a wide area network (WAN), a metropolitan area network (MAN), a communications 30 network, a satellite network, a portion of the Internet, or another network 610 15 WO 2012/054618 PCT/US2011/056906 or a combination of two or more such networks 610. The present disclosure contemplates any suitable network 610. One or more links 650 couple servers 620 or clients 630 to network 610. In particular embodiments, one or more links 650 each includes one or more 5 wired, wireless, or optical links 650. In particular embodiments, one or more links 650 each includes an intranet, an extranet, a VPN, a LAN, a WLAN, a WAN, a MAN, a communications network, a satellite network, a portion of the Internet, or another link 650 or a combination of two or more such links 650. The present disclosure contemplates any suitable links 650 coupling 10 servers 620 and clients 630 to network 610. In particular embodiments, each server 620 may be a unitary server or may be a distributed server spanning multiple computers or multiple datacenters. Servers 620 may be of various types, such as, for example and without limitation, web server, news server, mail server, message server, 15 advertising server, file server, application server, exchange server, database server, or proxy server. In particular embodiments, each server 620 may include hardware, software, or embedded logic components or a combination of two or more such components for carrying out the appropriate functionalities implemented or supported by server 620. For example, a web 20 server is generally capable of hosting websites containing web pages or particular elements of web pages. More specifically, a web server may host HTML files or other file types, or may dynamically create or constitute files upon a request, and communicate them to clients 630 in response to HTTP or other requests from clients 630. A mail server is generally capable of 25 providing electronic mail services to various clients 630. A database server is generally capable of providing an interface for managing data stored in one or more data stores. In particular embodiments, each client 630 may be an electronic device including hardware, software, or embedded logic components or a 30 combination of two or more such components and capable of carrying out the 16 WO 2012/054618 PCT/US2011/056906 appropriate functionalities implemented or supported by client 630. For example and without limitation, a client 630 may be a desktop computer system, a notebook computer system, a netbook computer system, a handheld electronic device, or a mobile telephone. A client 630 may enable an network 5 user at client 630 to access network 610. A client 630 may have a web browser, such as Microsoft Internet Explorer or Mozilla Firefox, and may have one or more add-ons, plug-ins, or other extensions, such as Google Toolbar or Yahoo Toolbar. A client 630 may enable its user to communicate with other users at other clients 630. The present disclosure contemplates any 10 suitable clients 630. In particular embodiments, one or more data storages 640 may be communicatively linked to one or more servers 620 via one or more links 650. In particular embodiments, data storages 640 may be used to store various types of information. In particular embodiments, the information stored in 15 data storages 640 may be organized according to specific data structures. Particular embodiments may provide interfaces that enable servers 620 or clients 630 to manage (e.g., retrieve, modify, add, or delete) the information stored in data storage 640. In particular embodiments, each server 620 may concurrently service 20 one or more clients 630 and perform renderings for the clients 630 it supports. A server 620 may transmit the images rendered for a particular client 630 it supports by encoding the rendered images in a video stream, with each rendered image as a particular frame, and transmits the video stream to the client 630. A client 630, upon receiving the video stream, may decode the 25 video stream to exact the image frames for display. U.S. Application Ser. Nos. 12/579,300 and 12/709,343, both of which are incorporated by reference herein for all purposes, discloses video codecs that may be used to deliver a compressed video stream to one or more clients 630. In addition, the foregoing applications also disclose how each server 620 may utilize the 30 parallel processing resources of the GPUs to generate and stream the video 17 WO 2012/054618 PCT/US2011/056906 data to the clients 630. Particular embodiments may be implemented as hardware, software, or a combination of hardware and software. For example and without limitation, one or more computer systems may execute particular logic or 5 software to perform one or more steps of one or more processes described or illustrated herein. One or more of the computer systems may be unitary or distributed, spanning multiple computer systems or multiple datacenters, where appropriate. The present disclosure contemplates any suitable computer system. In particular embodiments, performing one or more steps 10 of one or more processes described or illustrated herein need not necessarily be limited to one or more particular geographic locations and need not necessarily have temporal limitations. As an example and not by way of limitation, one or more computer systems may carry out their functions in "real time," "offline," in "batch mode," otherwise, or in a suitable 15 combination of the foregoing, where appropriate. One or more of the computer systems may carry out one or more portions of their functions at different times, at different locations, using different processing, where appropriate. Herein, reference to logic may encompass software, and vice versa, where appropriate. Reference to software may encompass one or more 20 computer programs, and vice versa, where appropriate. Reference to software may encompass data, instructions, or both, and vice versa, where appropriate. Similarly, reference to data may encompass instructions, and vice versa, where appropriate. One or more computer-readable storage media may store or otherwise 25 embody software implementing particular embodiments. A computer readable medium may be any medium capable of carrying, communicating, containing, holding, maintaining, propagating, retaining, storing, transmitting, transporting, or otherwise embodying software, where appropriate. A computer-readable medium may be a biological, chemical, 30 electronic, electromagnetic, infrared, magnetic, optical, quantum, or other 18 WO 2012/054618 PCT/US2011/056906 suitable medium or a combination of two or more such media, where appropriate. A computer-readable medium may include one or more nanometer-scale components or otherwise embody nanometer-scale design or fabrication. Example computer-readable storage media include, but are not 5 limited to, compact discs (CDs), field-programmable gate arrays (FPGAs), floppy disks, floptical disks, hard disks, holographic storage devices, integrated circuits (ICs) (such as application-specific integrated circuits (ASICs)), magnetic tape, caches, programmable logic devices (PLDs), random access memory (RAM) devices, read-only memory (ROM) devices, 10 semiconductor memory devices, and other suitable computer-readable storage media. Software implementing particular embodiments may be written in any suitable programming language (which may be procedural or object oriented) or combination of programming languages, where appropriate. Any suitable 15 type of computer system (such as a single- or multiple-processor computer system) or systems may execute software implementing particular embodiments, where appropriate. A general-purpose computer system may execute software implementing particular embodiments, where appropriate. For example, FIGURE 7 illustrates an example computer system 700 20 suitable for implementing one or more portions of particular embodiments. Although the present disclosure describes and illustrates a particular computer system 700 having particular components in a particular configuration, the present disclosure contemplates any suitable computer system having any suitable components in any suitable configuration. 25 Moreover, computer system 700 may have take any suitable physical form, such as for example one or more integrated circuit (ICs), one or more printed circuit boards (PCBs), one or more handheld or other devices (such as mobile telephones or PDAs), one or more personal computers, or one or more super computers. 30 System bus 710 couples subsystems of computer system 700 to each 19 WO 2012/054618 PCT/US2011/056906 other. Herein, reference to a bus encompasses one or more digital signal lines serving a common function. The present disclosure contemplates any suitable system bus 710 including any suitable bus structures (such as one or more memory buses, one or more peripheral buses, one or more a local buses, or a 5 combination of the foregoing) having any suitable bus architectures. Example bus architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Enhanced ISA (EISA) bus, Micro Channel Architecture (MCA) bus, Video Electronics Standards Association local (VLB) bus, Peripheral Component Interconnect (PCI) bus, PCI-Express bus (PCI-X), and 10 Accelerated Graphics Port (AGP) bus. Computer system 700 includes one or more processors 720 (or central processing units (CPUs)). A processor 720 may contain a cache 722 for temporary local storage of instructions, data, or computer addresses. Processors 720 are coupled to one or more storage devices, including memory 15 730. Memory 730 may include random access memory (RAM) 732 and read only memory (ROM) 734. Data and instructions may transfer bi-directionally between processors 720 and RAM 732. Data and instructions may transfer uni-directionally to processors 720 from ROM 734. RAM 732 and ROM 734 may include any suitable computer-readable storage media. 20 Computer system 700 includes fixed storage 740 coupled bi directionally to processors 720. Fixed storage 740 may be coupled to processors 720 via storage control unit 752. Fixed storage 740 may provide additional data storage capacity and may include any suitable computer readable storage media. Fixed storage 740 may store an operating system 25 (OS) 742, one or more executables 744, one or more applications or programs 746, data 748, and the like. Fixed storage 740 is typically a secondary storage medium (such as a hard disk) that is slower than primary storage. In appropriate cases, the information stored by fixed storage 740 may be incorporated as virtual memory into memory 730. 30 Processors 720 may be coupled to a variety of interfaces, such as, for 20 WO 2012/054618 PCT/US2011/056906 example, graphics control 754, video interface 758, input interface 760, output interface 762, and storage interface 764, which in turn may be respectively coupled to appropriate devices. Example input or output devices include, but are not limited to, video displays, track balls, mice, keyboards, microphones, 5 touch-sensitive displays, transducer card readers, magnetic or paper tape readers, tablets, styli, voice or handwriting recognizers, biometrics readers, or computer systems. Network interface 756 may couple processors 720 to another computer system or to network 780. With network interface 756, processors 720 may receive or send information from or to network 780 in the 10 course of performing steps of particular embodiments. Particular embodiments may execute solely on processors 720. Particular embodiments may execute on processors 720 and on one or more remote processors operating together. In a network environment, where computer system 700 is connected to 15 network 780, computer system 700 may communicate with other devices connected to network 780. Computer system 700 may communicate with network 780 via network interface 756. For example, computer system 700 may receive information (such as a request or a response from another device) from network 780 in the form of one or more incoming packets at network 20 interface 756 and memory 730 may store the incoming packets for subsequent processing. Computer system 700 may send information (such as a request or a response to another device) to network 780 in the form of one or more outgoing packets from network interface 756, which memory 730 may store prior to being sent. Processors 720 may access an incoming or outgoing 25 packet in memory 730 to process it, according to particular needs. Computer system 700 may have one or more input devices 766 (which may include a keypad, keyboard, mouse, stylus, etc.), one or more output devices 768 (which may include one or more displays, one or more speakers, one or more printers, etc.), one or more storage devices 770, and one or more 30 storage medium 772. An input device 766 may be external or internal to 21 WO 2012/054618 PCT/US2011/056906 computer system 700. An output device 768 may be external or internal to computer system 700. A storage device 770 may be external or internal to computer system 700. A storage medium 772 may be external or internal to computer system 700. 5 Particular embodiments involve one or more computer-storage products that include one or more computer-readable storage media that embody software for performing one or more steps of one or more processes described or illustrated herein. In particular embodiments, one or more portions of the media, the software, or both may be designed and 10 manufactured specifically to perform one or more steps of one or more processes described or illustrated herein. In addition or as an alternative, in particular embodiments, one or more portions of the media, the software, or both may be generally available without design or manufacture specific to processes described or illustrated herein. Example computer-readable storage 15 media include, but are not limited to, CDs (such as CD-ROMs), FPGAs, floppy disks, floptical disks, hard disks, holographic storage devices, ICs (such as ASICs), magnetic tape, caches, PLDs, RAM devices, ROM devices, semiconductor memory devices, and other suitable computer-readable storage media. In particular embodiments, software may be machine code 20 which a compiler may generate or one or more files containing higher-level code which a computer may execute using an interpreter. As an example and not by way of limitation, memory 730 may include one or more computer-readable storage media embodying software and computer system 700 may provide particular functionality described or 25 illustrated herein as a result of processors 720 executing the software. Memory 730 may store and processors 720 may execute the software. Memory 730 may read the software from the computer-readable storage media in mass storage device 730 embodying the software or from one or more other sources via network interface 756. When executing the software, 30 processors 720 may perform one or more steps of one or more processes 22 WO 2012/054618 PCT/US2011/056906 described or illustrated herein, which may include defining one or more data structures for storage in memory 730 and modifying one or more of the data structures as directed by one or more portions the software, according to particular needs. In addition or as an alternative, computer system 700 may 5 provide particular functionality described or illustrated herein as a result of logic hardwired or otherwise embodied in a circuit, which may operate in place of or together with software to perform one or more steps of one or more processes described or illustrated herein. The present disclosure encompasses any suitable combination of hardware and software, according 10 to particular needs. In particular embodiments, computer system 700 may include one or more Graphics Processing Units (GPUs) 724. In particular embodiments, GPU 724 may comprise one or more integrated circuits and/or processing cores that are directed to mathematical operations commonly used in graphics 15 rendering. In some embodiments, the GPU 724 may use a special graphics unit instruction set, while in other implementations, the GPU may use a CPU like (e.g. a modified x86) instruction set. Graphics processing unit 724 may implement a number of graphics primitive operations, such as blitting, texture mapping, pixel shading, frame buffering, and the like. In particular 20 embodiments, GPU 724 may be a graphics accelerator, a General Purpose GPU (GPGPU), or any other suitable processing unit. In particular embodiments, GPU 724 may be embodied in a graphics or display card that attaches to the hardware system architecture via a card slot. In other implementations, GPU 724 may be integrated on the motherboard of 25 computer system architecture. Suitable graphics processing units may include Advanced Micro Devices(r)AMD R7XX based GPU devices (Radeon(r) HD 4XXX), AMD R8XX based GPU devices (Radeon(r) HD 5XXX), Intel(r) Larabee based GPU devices (yet to be released), nVidia(r) 8 series GPUs, nVidia(r) 9 series GPUs, nVidia(r) 100 series GPUs, nVidia(r) 30 200 series GPUs, and any other DX11-capable GPUs. 23 WO 2012/054618 PCT/US2011/056906 Although the present disclosure describes or illustrates particular operations as occurring in a particular order, the present disclosure contemplates any suitable operations occurring in any suitable order. Moreover, the present disclosure contemplates any suitable operations being 5 repeated one or more times in any suitable order. Although the present disclosure describes or illustrates particular operations as occurring in sequence, the present disclosure contemplates any suitable operations occurring at substantially the same time, where appropriate. Any suitable operation or sequence of operations described or illustrated herein may be 10 interrupted, suspended, or otherwise controlled by another process, such as an operating system or kernel, where appropriate. The acts can operate in an operating system environment or as stand-alone routines occupying all or a substantial part of the system processing. The present disclosure encompasses all changes, substitutions, 15 variations, alterations, and modifications to the example embodiments herein that a person having ordinary skill in the art would comprehend. For example, other compression formats can be used, such as MJPEG-2000, Portable Network Graphics (PNG), and the like. Similarly, where appropriate, the appended claims encompass all changes, substitutions, 20 variations, alterations, and modifications to the example embodiments herein that a person having ordinary skill in the art would comprehend. 24

Claims (20)

1. A method, comprising communicating, by a processor, a structured document to a client application, the structured document comprises a first inline reference to a first video stream and code that causes the client application to render output data of the first video stream as an overlay video image in a window, the structured document further comprises one or more references to positional video streams and code that causes the client application to render the one or more positional video streams as transparent images adjacent to the first video stream such that a rendered location of the first video stream in the window depends on a rendered aspect ratio of the one or more positional video streams; in response to a request for the first video stream from the client application, rendering, by the processor, a first series of video frames of the first video stream; writing, by the processor, the first series of video frames to a corresponding socket connection as the first series of video frames are generated; and transmitting, by the processor, a second series of video frames for the positional video streams.
2. The method of claim 1, further comprising: modulating, by the processor, an aspect ratio of the second series of video frames such that a position of the overlay video image in the window rendered by the client application changes.
3. The method of claim 1, further comprising: receiving, by the processor from the client application, the request for the first video stream.
4. The method of claim 1, further comprising: receiving, by the processor, inputs from the client application.
5. The method of claim 4, further comprising: adjusting, by the processor, state of one or more objects to be rendered in the first video stream. 25
6. The method of claim 4, further comprising: modulating, by the processor, the rendered aspect ratio of the second series of frames in response to the received inputs.
7. The method of claim 4, transmitting a structured document further comprises: transmitting, by the processor, the structured document comprising code for rendering the first video stream and the positional video streams in the same layer.
8. The method of claim 1, wherein rendering the first series of video frames further comprises: rendering, by the processor, a target object based on the target object's state parameters.
9. The method of claim 8, further comprising: centering, by the processor, the target object within the first series of video frames.
10. The method of claim 1, further comprising: compressing, by the processor, the first series of video frames and the second series of video frames prior to the transmission.
11. An apparatus comprising a processor and a memory comprising processor executable logic for: transmitting a structured document to a client application, the structured document comprises a first inline reference to a first video stream and code that causes the client application to render output data of the first video stream as an overlay video image in a window, the structured document further comprises one or more references to positional video streams and code that causes the client application to render the one or more positional video streams as transparent images adjacent to the first video stream such that a rendered location of the first video stream in the window depends on a rendered aspect ratio of the one or more positional video streams; in response to a request for the first video stream from the client application, 26 rendering a first series of video frames of the first video stream, each of the series of video frames corresponding to the first video stream; writing the first series of video frames to a corresponding socket connection as the video frames are generated; and transmitting a second series of frames for the positional video streams.
12. The apparatus of claim 11, the processor-executable logic further comprising logic for: modulating an aspect ratio of the second series of frames such that a position of the overlay video image in the window rendered by the client application changes.
13. The apparatus of claim 11, the processor-executable logic further comprising logic for: receiving inputs from the client application.
14. The apparatus of claim 13, the processor-executable logic further comprising logic for: adjusting state of one or more objects to be rendered in the first video stream.
15. The apparatus of claim 13, the processor-executable logic further comprising logic for: modulating the aspect ratio of the second series of frames in response to the received inputs.
16. A processor-readable storage medium comprising processor-executable logic for: transmitting a structured document to a client application, the structured document comprises a first inline reference to a first video stream and code that causes the client application to render output data of the first video stream as an overlay video image in a window, the structured document further comprises one or more references to positional video streams and code that causes the client application to render the one or more positional video streams as transparent images adjacent to the first video stream such that a 27 rendered location of the first video stream in the window depends on a rendered aspect ratio of the one or more positional video streams; in response to a request for the first video stream from the client application, rendering a first series of video frames of the first video stream, each of the series of video frames corresponding to the first video stream; writing the first series of video frames to a corresponding socket connection as the video frames are generated; and transmitting a second series of frames for the positional video streams.
17. The processor-readable storage medium of claim 16, the processor-executable logic further comprising logic for: modulating an aspect ratio of the second series of frames such that a position of the overlay video image in the window rendered by the client application changes.
18. The processor-readable storage medium of claim 16, the processor-executable logic further comprising logic for: receiving inputs from the client application.
19. The processor-readable storage medium of claim 16, the processor-executable logic further comprising logic for: adjusting state of one or more objects to be rendered in the first video stream.
20. The processor-readable storage medium of claim 16, the processor-executable logic further comprising logic for: modulating the aspect ratio of the second series of frames in response to the received inputs. 28
AU2015203292A 2010-10-19 2015-06-16 Composite video streaming using stateless compression Active AU2015203292B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU2015203292A AU2015203292B2 (en) 2010-10-19 2015-06-16 Composite video streaming using stateless compression

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
US12/907,906 US9998749B2 (en) 2010-10-19 2010-10-19 Composite video streaming using stateless compression
US12/907,906 2010-10-19
PCT/US2011/056906 WO2012054618A2 (en) 2010-10-19 2011-10-19 Composite video streaming using stateless compression
AU2011317052A AU2011317052B2 (en) 2010-10-19 2011-10-19 Composite video streaming using stateless compression
AU2015203292A AU2015203292B2 (en) 2010-10-19 2015-06-16 Composite video streaming using stateless compression

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
AU2011317052A Division AU2011317052B2 (en) 2010-10-19 2011-10-19 Composite video streaming using stateless compression

Publications (2)

Publication Number Publication Date
AU2015203292A1 true AU2015203292A1 (en) 2015-07-09
AU2015203292B2 AU2015203292B2 (en) 2017-03-23

Family

ID=53627724

Family Applications (1)

Application Number Title Priority Date Filing Date
AU2015203292A Active AU2015203292B2 (en) 2010-10-19 2015-06-16 Composite video streaming using stateless compression

Country Status (1)

Country Link
AU (1) AU2015203292B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115115557A (en) * 2022-06-20 2022-09-27 中国电信股份有限公司 Image expansion processing method and device, electronic equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115115557A (en) * 2022-06-20 2022-09-27 中国电信股份有限公司 Image expansion processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
AU2015203292B2 (en) 2017-03-23

Similar Documents

Publication Publication Date Title
US20180270496A1 (en) Composite video streaming using stateless compression
US10230565B2 (en) Allocation of GPU resources across multiple clients
CN112104879B (en) Video coding method and device, electronic equipment and storage medium
KR20210029746A (en) System for cloud streaming service, method of cloud streaming service using still image compression technique and apparatus for the same
US10237566B2 (en) Video decoding using point sprites
AU2015203292B2 (en) Composite video streaming using stateless compression
CN116916028A (en) Video stream scaling using virtual resolution adjustment

Legal Events

Date Code Title Description
FGA Letters patent sealed or granted (standard patent)