Re-encoding predicted image frames in live video streaming applications
By converting the GOP structure of inter-frames into intra-frames, the problem of low efficiency and storage waste in the live streaming media capture system when capturing segments is solved, and fast and flexible capture of live media stream segments is achieved.
Patent Information
- Application Number
- CN202010101676.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-11-21
- Filing Date
- 2020-02-19
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2040-02-19
AI Technical Summary
Existing live streaming media capture systems require additional computer processing and network resources when capturing segments of live media streams, resulting in inefficiency and the inability to accurately record action sequences without first receiving the entire stream, especially when the P frame is unique Under the GOP structure, storage memory needs to be wasted to re-encode uninteresting parts.
The re-encoding engine converts the GOP structure of inter frames into intra frames, allowing for selective capture of fragments of the media stream, reducing processor load and reducing the need to transcode and store the entire stream before generating fragments. Flexible capture of live media streams.
It realizes the rapid capture of segments of live media streams without increasing the system processor load, reduces the transcoding and storage requirements for the entire stream, and improves the efficiency and flexibility of capture.
Smart Images

Figure CN112073737B_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims the benefit of priority to U.S. Provisional Application No. 62 / 860,212, filed on June 11, 2019, which is hereby incorporated by reference in its entirety. Background Art
[0003] Live streaming refers to any number of services in which a live media (e.g., video) stream or signal is digitized, compressed, and transmitted from a source to a destination, where it can then be decompressed, decoded, and displayed. Live streaming has the power to open up a vast range of possibilities for residential, commercial, and government applications. For example, in recent years, live streaming has evolved into a tool for engaging audiences around the world, with live streaming services now spanning a variety of platforms from social media and professional sports to movies and cloud video games (e.g., NVIDIA GeForce Now). While the popularity of live streaming has increased in recent years, the desire to capture (e.g., save) portions of a live stream for later use (e.g., for re-watching, distribution, sharing, etc.) has also increased.
[0004] In conventional systems, capturing portions (e.g., segments) of a live media stream for later use is a processing, storage, and time intensive task. For example, live streaming requires more computer processing and network resources than other streaming methods (e.g., streaming pre-recorded video), but at the same time reduces efficiency (low latency during encoding and streaming). In order to reduce the processing overhead and bandwidth required for transmission while maintaining the perceived quality of the media stream (e.g., reducing visual artifacts such as blockiness, blur, edge activity, noise, jitter, pixelation, etc.), many live streaming systems utilize digital video codecs (e.g., encoder / decoders, compressor / decompressors, etc.) to compress (e.g., encode) video data (e.g., frames) into a specially arranged series, each series being referred to as a group of pictures (GOP). For example, many conventional live media systems encode live media streams (e.g., video frame sequences) into an inter-frame unique GOP structure (e.g., IPPPPPPPP), where the first frame is an intra-coded (I) frame (or other intra-frame type) and the remaining frames are predictive coded (P) frames (or other inter-frame types). In general, I-frames (and other intra-frame types) are the largest frame types (requiring the most bits) and can be decoded at the receiving end without requiring data from any other frames. For example, an I-frame may include data representing the pixel values of every pixel in the frame. In contrast, P-frames are smaller than I-frames and may be encoded with motion or pixel values that vary from the most recent I or P frame (e.g., a P-frame only contains information that is different from one or more previous frames).
[0005] Since live streaming requires additional computer processing and network resources, the type of GOP structure with unique inter-frames is widely used due to its low encoding latency, reduced bandwidth requirements, and minimal storage consumption. In addition, although the GOP structure and length may vary greatly, the use of a GOP structure with a longer sequence of unique inter-frames is also widely used to reduce bandwidth and reduce processor load on the encoder and / or decoder. However, since inter-frames (P) always refer to previous or future frames (e.g., I-frames, P-frames, B-frames, etc.), capturing selected portions or fragments of the inter-frame unique GOP structure in a live media stream requires first receiving the entire stream and saving the entire stream, and then capturing the selected portion or fragment starting from at least one intra-frame. For example, a user (e.g., a player, a streamer, etc.) may be playing a game instance of a video game through a live broadcast in a cloud gaming architecture and may decide to record a specific sequence of actions (e.g., production highlights). If the action sequence starts from a point (e.g., a frame) in a live media stream, and the live media stream has a GOP structure with only P frames, the live media streaming system will not be able to start recording at the desired location without first receiving, saving, and analyzing the entire stream due to the lack of intra frames that the P frames use as reference.
[0006] To compensate for these deficiencies, some live media stream capture systems locate the most recent I frame to begin recording. However, this technique requires the system to waste storage memory to re-encode additional portions of the live media stream, as well as to re-encode portions of the stream that the user is not interested in. In addition, as described above, since there may be only one I frame in a unique GOP structure of a P frame, the most recent I frame is often the first I frame, which means that the method described above requires storing a large portion (if not all) of the stream. In contrast, other traditional live media stream capture systems convert (e.g., decode, re-encode) the entire live media stream into a different GOP structure format to save the selected portion of the live media stream. However, this technique not only wastes time resources, but also increases the processor load on the system. Summary of the invention
[0007] Embodiments of the present disclosure relate to re-encoding image frames to capture segments in live video streaming applications. The disclosed systems and methods utilize a re-encoding engine to convert (e.g., periodically or based on an indication) inter-frames of an existing unique inter-frame GOP structured media stream into one or more intra-frames to selectively capture segments of the media stream while minimizing processor load (e.g., reducing the burden on CPU and / or GPU usage) and reducing the need to transcode and store the entire stream before generating the segments.
[0008] Compared to conventional systems (such as those described above), the present system identifies and converts inter-frames of a video stream (such as a media stream) into intra-frames to enable selective recording of segments of the video stream. For example, a user (e.g., a game player) wishes to record and / or save a specific sequence of actions (e.g., making highlights) while playing an instance of a video game (e.g., a live media stream) and indicates a specific point at which the user wishes to begin recording. When a request to save a specific portion of a live media stream is received, the re-encoding engine converts the inter-frames (e.g., P-frames and B-frames) associated with the starting point into intra-frames (I-frames, instantaneous decoder refresh (IDR) frames, etc.) corresponding to the original live media stream (using a codec such as H.263, H.264, MPEG4, HEVC, 3GP, MPEG2, etc.).
[0009] In another example, instead of converting inter-frames (e.g., P-frames or B-frames) to intra-frames (e.g., I-frames, IDR-frames, etc.) based on receiving an indication to start recording, the re-encoding engine may analyze the incoming live media stream and determine when intra-frames need to be added to the stream based on the GOP length of the output stream and / or a hard-coded periodicity. For example, the re-encoding engine may hard-code the conversion of inter-frames (e.g., P-frames, B-frames, etc.) to intra-frames (e.g., I-frames, IDR-frames, etc.) at a period of every 30 frames.
[0010] After conversion, the re-encoding engine may merge the intra-frame into the original live media stream and update the headers of subsequent inter-frames of the live media stream to reference the newly converted and merged intra-frame. The live media stream with the merged (e.g., inserted, replaced) intra-frame (or a fragment containing it) may then be recorded and saved for later use (e.g., viewing, sharing, etc.). Thus, the system may benefit from the efficiency and reduced computational requirements of a unique inter-frame stream (e.g., a unique P-frame stream (such as a live stream)) while being able to capture and store fragments of the stream without first transcoding the entire stream. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] A system and method for re-encoding image frames to capture segments in a video streaming application will be described in detail below with reference to the accompanying drawings, wherein:
[0012] Figure 1 is an example system for re-encoding image frames to capture segments in a video streaming application according to some embodiments of the present disclosure;
[0013] Figure 2A A data flow chart for re-encoding an inter-frame of a GOP structure in which only inter-frames are present into an intra-frame based on receiving an indication of starting recording according to some embodiments of the present disclosure;
[0014] Figure 2BA data flow chart for periodically re-encoding an inter-frame into an intra-frame according to some embodiments of the present disclosure;
[0015] Figure 2C A data flow diagram for re-encoding an inter-frame of an IP frame GOP structure into an intra-frame based on receiving an indication of starting recording according to some embodiments of the present disclosure;
[0016] Figure 3 A flowchart showing a method for re-encoding image frames to capture segments in a video streaming application according to some embodiments of the present disclosure;
[0017] Figure 4 A flowchart showing a method for periodically re-encoding an inter-frame into an intra-frame according to some embodiments of the present disclosure;
[0018] Figure 5 is an example system diagram of a game streaming system according to some embodiments of the present disclosure; and
[0019] Figure 6 is a block diagram of an example of a computing device suitable for implementing some embodiments of the present disclosure. DETAILED DESCRIPTION
[0020] The present disclosure relates to systems and methods for re-encoding image frames to capture segments in video streaming applications. For example, when a user plays an instance of a video game (e.g., in a cloud gaming environment, such as the environment shown in the figure) or streams a live or pre-recorded event, the user may wish to record and / or save a specific portion or segment of the stream and may indicate a specific point at which the recording should begin. In certain embodiments, when a request is received to save a specific portion of a live or pre-recorded media stream, a re-encoding engine may receive an uncompressed inter-frame associated with an indicated start position from the live media stream. The re-encoding engine may convert the inter-frame (e.g., P-frame or B-frame) into an intra-frame (e.g., I-frame, IDR-frame, etc.) that conforms to the original live media stream (e.g., using a codec such as H.263, H.264, MPEG4, HEVC, 3GP, MPEG2, etc.). To ensure that newly encoded or re-encoded intra frames conform to the original media stream, the re-encoding engine may convert inter frames to intra frames based on at least parameters directly derived from a sequence parameter set (SPS) and a picture parameter set (PPS) of the original live media stream (e.g., a bitstream). In some embodiments, rather than converting inter frames to intra frames based on receiving an indication to start recording, the re-encoding engine may analyze the incoming live media stream and determine when intra frames need to be added to the stream based on the GOP length of the output stream. For example, the re-encoding engine may be hard-coded to periodically convert inter frames to intra frames, such as, without limitation, every 20 frames, every 30 frames, every second, every three seconds, and so on.
[0021] After conversion, the re-encoding engine may merge the intra-frame into the original live media stream and update the headers of subsequent inter-frames of the live media stream to reference the newly converted and merged intra-frame. The live media stream with the merged (e.g., inserted) intra-frame is then sent to a stream recorder, which uses the inserted intra-frame as a starting (or reference) point to extract a specific portion of the live media stream (e.g., a capture segment), and may generate and output the capture segment to a file receiver. The file receiver (e.g., an MP4 file receiver, a 3GP file receiver, a WMV file receiver, an FLV file receiver, etc.) may store the capture segment in a container file (e.g., an MPEG4 container file, a 3GP container file, an MPEG-2 container file, etc.) format for later use (e.g., viewing, sharing, streaming, distribution, etc.).
[0022] Thus, by using a re-encoding engine to periodically convert existing inter-frames of a (live) media stream with a unique GOP structure of inter-frames to intra-frames, the currently disclosed systems and methods are able to selectively capture segments of a live media stream while minimizing processor load (e.g., reducing CPU burden and GPU usage), as well as reducing the need to transcode and store the entire stream before generating the segments. In addition, by allowing the flexibility of inserting intra-frames at any point in the media stream (e.g., a live media stream using a unique GOP structure of P frames), segment capture may occur faster than traditional transcoding-based file capture systems because the entire stream does not need to be saved and / or transcoded first.
[0023] Reference Figure 1 , Figure 1 An example system 100 for re-encoding image frames to capture segments in a video streaming application (e.g., a cloud gaming environment) according to some embodiments of the present disclosure is provided. It should be understood that this arrangement and other arrangements described herein are listed as examples only. In addition to the arrangements and elements shown, other arrangements and elements (e.g., machines, interfaces, functions, orders, functional groupings, etc.) may also be used, and some elements may be omitted entirely. In addition, many of the elements described herein are functional entities that may be implemented as discrete or distributed components, or may be used in combination with other components, and implemented in any suitable combination and location. The various functions described herein as performed by an entity may be performed by hardware, firmware, and / or software. For example, a processor that executes instructions stored in a memory may perform various functions.
[0024] The re-encoding system 100 may include, among other components and / or devices, a bitstream 102, a bitstream parser 104, a bitstream provider 106, a video decoder 108, a video renderer 110, a user device 112, a re-encoding engine 114, a bitstream recorder 124, a file receiver 126, and a file 128. In some non-limiting embodiments, the re-encoding system 100 (and / or components and / or features thereof) may be implemented using a game streaming system, as will be described in detail herein. Figure 5 In other non-limiting embodiments, the re-encoding system 100 (and / or components and / or features thereof) may be implemented using any media streaming system, such as a system for live streaming and / or pre-recorded media streaming. In addition, the re-encoding system 100 (and / or components and / or features thereof) may be implemented using one or more computing devices, such as those described in detail herein. Figure 6 A computing device 600 is provided.
[0025] Each device and / or component of the recoding system 100 can communicate via a network (not shown). The network can include a wide area network (WAN) (e.g., the Internet, a public switched telephone network (PSTN), etc.), a local area network (LAN) (e.g., Wi-Fi, ZigBee, Z-wave, Bluetooth, Bluetooth low energy (BLE), Ethernet, etc.), and / or other types of networks. In any example, each device and / or component of the recoding system 100 can communicate with one or more other devices and / or components via one or more networks.
[0026] The bitstream parser 104 may generally be configured to parse an incoming bitstream (e.g., a video stream, a media stream, etc.), such as the bitstream 102, into a GOP structure equivalent. As described herein, the bitstream 102 may be one of any number of bitstreams, such as a live media video bitstream or a pre-recorded media video bitstream. The bitstream 102 may be received by the re-encoding system 100 from a remote device (e.g., a remote server, a remote user device, and / or a streaming environment, a cloud gaming environment (e.g., Figure 5 ) and / or another device type in another streaming environment) is received in a compressed format. In addition, the bitstream 102 can be in one of any number of formats, such as, without limitation, a Motion Pictures Expert Group (MPEG) video format (e.g., MP4), an Apple QuickTime Movie (MOV) video format, a Windows Media Video (WMV) video format, a Flash Video Format (FLV), an Audio Video Interleave (AVI) video format, and / or other video formats. A GOP structure equivalent to a bitstream (such as the bitstream 102) can be in one of any number of GOP structure types, such as a P-frame unique GOP structure (or other inter-frame unique structure) (e.g., IPPPPPP...P) and an IP-frame GOP structure (e.g., IPPPIPPP...IPPP). For example, the bitstream parser 104 may parse an incoming bitstream 102 associated with a media stream instance (e.g., a video game stream in a cloud gaming environment) into its GOP structure equivalent, such as an inter-frame unique GOP structure (e.g., IPPPPPP).
[0027] The bitstream 102 may be associated with various parameter sets, such as a sequence parameter set (SPS) and a picture parameter set (PPS). The parameter sets may generally contain information (such as pixel values, etc.) that does not change from frame to frame in a GOP structure. In particular, the SPS may generally apply to a series of consecutive frames (e.g., a picture sequence) within a GOP structure, while the PPS may generally apply to decoding (e.g., decompressing) one or more individual frames in a GOP structure. The bitstream 102 may be further associated with a quantization parameter (QP), which is used to determine a quantizer value for a frame in a GOP structure. The QP may generally adjust how much spatial detail is retained (e.g., preserved) per frame during video encoding (e.g., compression), as well as the degree of visual impairment (e.g., blockiness, blurring, edge busyness, mosquito noise, ringing, quantization noise, jitter, ablation, etc.) introduced into each frame during video encoding.
[0028] The bitstream provider 106 may generally be configured to split the parsed bitstream 102 into two separate (e.g., identical) output streams. In operation, the first parsed bitstream may be decoded (e.g., by the video decoder 108) for display to a user (e.g., by the user device 112), and the second parsed (e.g., by the video decoder 108) bitstream may also be decoded and used to record a portion of the bitstream 102 (e.g., using the re-encoding engine 114) for later use.
[0029] As described above, the video decoder 108 may generally be configured to decode (e.g., decompress) frames contained in a GOP structure of the parsed bitstream 102. The video decoder 108 may include, but is not limited to, any number of types of video decoders (e.g., MPEG-4 Part 2, MPEG-4, etc.). The video renderer 110 may generally be configured to process the parsed and decoded bitstream 102 to generate and display a visual representation of the bitstream 102 on a display screen of a user device 112.
[0030] User device 112 includes, but is not limited to, a smartphone, a laptop, a tablet, a desktop computer, a wearable device, a gaming console, a virtual reality system (e.g., a headset, a computer, a gaming console, a remote control, a controller, and / or other components), NVIDIA SHIELD, a smart home device that may include an intelligent personal assistant, and / or other types of devices capable of supporting at least displaying a video stream (e.g., a live video stream, a pre-recorded video stream, etc.). User device 112 may be one or more components (e.g., a communication component, a network interface, etc.) and functionality for communicating across one or more networks. As a non-limiting example, to communicate within re-encoding system 100, user device 112 may access the Internet through a router using a wired Ethernet connection and / or a Wi-Fi connection. In some examples, user device 112 may include Figure 6Some or all components of the example computing device 600 are shown in FIG.
[0031] The re-encoding engine 114 may be generally configured to re-encode frames of a decoded (e.g., decompressed) bitstream to capture segments of a bitstream associated with a video streaming application. In particular, the re-encoding engine 114 may be generally configured to re-encode inter-frames of a bitstream into intra-frames to capture individual segments of the bitstream. In some embodiments, the re-encoding engine 114 may re-encode frames of a parsed and decompressed bitstream based on an indication of receiving a start recording. In other embodiments, as described herein, the re-encoding engine 114 may periodically re-encode frames of a parsed and decompressed bitstream. The re-encoding engine 114 may include a re-encoding frame selector 120, an intra-frame encoder 116, and a frame merger 118. The re-encoding frame selector 120 may be generally configured to select inter-frames from a portion of a bitstream to be re-encoded into intra-frames. The intra-frame encoder 116 may be generally configured to re-encode inter-frames into intra-frames. The frame merger 118 may generally be configured to merge the re-encoded intra frames into the bitstream to replace the selected inter frames.
[0032] As described above, the re-encoding frame selector 120 can generally be configured to select inter-frames from a portion of the bitstream for re-encoding as intra-frames. In some embodiments, the re-encoding system 100 may receive an indication to start recording a portion of the bitstream 102. The indication may include information indicating which frame in the bitstream is to be used as a recording start point. For example, a signal may be generated (e.g., in response to user input) indicating the point at which the recording should be generated. In some examples, the signal corresponds to an exact frame, and the exact frame is selectable. In other examples, the signal may correspond to one or more frames, but the re-encoding frame selector 120 may select a previous frame or a subsequent frame other than the frame to which the signal corresponds (e.g., in the case where the signal is generated after the actual desired recording start point, a buffer is constructed). In such embodiments, based on receiving an indication of the start frame of the start of recording a portion of the bitstream, the re-encoding frame selector 120 may select a frame associated with the start point from the bitstream 102 for re-encoding. In other embodiments, the re-encoding frame selector may be configured to periodically determine which frame in the bitstream 102 is selected for re-encoding the inter-frame as an intra-frame. For example, the re-encoded frame selector 120 may be configured to select every x-th inter-frame (e.g., every 5th inter-frame, every 30th inter-frame, etc.) for re-encoding as an intra-frame, or may be configured to select a frame every x seconds (e.g., every second, every two seconds, etc.). In such embodiments, the re-encoded frame selector 120 may be configured by a user of the re-encoding system 100. Once the selected inter-frame is converted to an intra-frame by the intra-frame encoder 116, the frame merger 118 may be signaled to merge the re-encoded intra-frame into the bitstream to replace the selected inter-frame.
[0033] To select an inter-frame for re-encoding, the re-encoding frame selector 120 may send a request (e.g., a signal representing the request) to the video decoder 108, the request requiring an uncompressed (e.g., decompressed, decoded) version of the inter-frame to be re-encoded. Based on receiving the request from the re-encoding engine 114, the video decoder 108 may transmit the uncompressed inter-frame selected for re-encoding to the intra-frame encoder 116 for re-encoding.
[0034] As described herein, the intra-frame encoder 116 may generally be configured to re-encode an inter-frame into an intra-frame. In some embodiments, the intra-frame encoder 116 may re-encode the inter-frame into an intra-frame based on encoding parameters associated with the bitstream 102 from which the inter-frame is selected. By re-encoding the inter-frame into an intra-frame based at least on encoding parameters associated with the bitstream 102 from which the inter-frame is selected, the newly encoded intra-frame is more compatible with the bitstream (e.g., can be merged back into the bitstream to replace the encoded inter-frame). In a non-limiting embodiment, the intra-frame encoder 116 may re-encode the inter-frame into an intra-frame using parameters, features, or other information associated with the bitstream 102 (e.g., SPS, PPS, QP, and / or other parameters, features, or information associated with the bitstream 102). In at least one embodiment, the quantization value of the intra-frame used for re-encoding may be set or determined to be at least one level lower than the quantization value of the inter-frame used for re-encoding. In this way, compatibility with the bitstream 102 may be more likely to be achieved (eg, ensuring that intra frames may be incorporated into the bitstream to replace inter frames).
[0035] Furthermore, although the re-encoded intra-frame may be slightly different from the inter-frame it is replacing, by re-encoding the inter-frame as an intra-frame and incorporating it into the bitstream 102, the refresh rate of the bitstream 102 can be increased. Increasing the refresh rate can prevent or reduce errors (e.g., degradation of the perceived quality of the bitstream due to block distortion, blur, edge motion, noise, ringing, jitter, pixelation, etc.). The re-encoded intra-frame quantization value is set to be at least one level lower than the quantization value of the inter-frame to be replaced in the bitstream 102, thereby further helping to prevent cumulative errors.
[0036] As described herein, the frame merger 118 may generally be configured to merge the re-encoded intra-frame into the bitstream to replace the selected inter-frame. In an embodiment, after the intra-frame encoder 116 re-encodes the inter-frame into the intra-frame, the intra-frame encoder 116 may communicate to the frame merger 118 (e.g., send a signal to it) that the inter-frame has been re-encoded into the intra-frame. Based on receiving an indication that the inter-frame has been converted to an intra-frame, the frame merger 118 may merge the re-encoded intra-frame into the bitstream (e.g., at the same position as the original inter-frame) to replace the inter-frame. In some embodiments, in order to merge the intra-frame into the bitstream, the frame merger 118 may update the header and / or other information of the inter-frame, and the updated inter-frame is after the re-encoded intra-frame (e.g., P-frame) and / or before the re-encoded intra-frame (e.g., B-frame). As described herein, an inter-frame (e.g., P-frame or B-frame) may generally refer to its closest previous frame (intra-frame and / or inter-frame). Thus, each header included in an inter-frame may specify which intra-frame and / or inter-frame the inter-frame should reference. To ensure that preceding and / or subsequent inter-frames reference the newly encoded intra-frame, the frame merger 118 may be configured to update the headers and / or other information of the inter-frames in the bitstream to ensure that the captured segment or portion of the bitstream (including the re-encoded intra-frame) is played back correctly.
[0037] The bitstream recorder 124 may generally be configured to extract segments of the bitstream including the re-encoded intra-frames and output the segments of the bitstream to a file receiver 126 for storage or saving as a file for later use (e.g., viewing, sharing, streaming, transmission, etc.). In one or more embodiments, the file receiver may be implemented as a pipeline object that receives media data as one or more media stream targets. In an embodiment, the bitstream recorder 124 may select a segment based on an indication of which segment of the bitstream the user wants to record. In other embodiments, the bitstream recorder 124 may select a starting point of the segment to start recording based on a starting point noted in an indication to start recording.
[0038] The file receiver 126 may be configured to store segments of the bitstream, such as in the form of a container file 128. The file receiver 126 may be one of any number of media receivers, such as an MP4 file receiver, a 3GP file receiver, a WMV file receiver, an FLV file receiver, and / or the like. The container file, such as the container file 128, may be one of any number of container files, such as an MPEG4 container file, a 3GP container file, an MPEG-2 container file, etc.
[0039] For example, viewer A who is watching a live stream instance of a game being played by player B in a cloud gaming environment may decide that they want to start recording at a specific time associated with the start of a high intensity combat scene. If the bitstream associated with the live stream of the game being played by player B and being viewed by viewer A is an inter-frame only bitstream (e.g., an IPPPPPP GOP structure), then in such an example, the re-encoding system 100 (using the re-encoding frame selector 120) may select an inter-frame associated with the starting position or recording and receive an uncompressed version of the frame from the video decoder 108, convert the inter-frame to an intra-frame using the intra-frame encoder 116, and then merge the intra-frame into the bitstream using the frame merger 118. Thereafter, the system 100 may record using the bitstream recorder 124 and save the segment of the bitstream indicated by viewer A using the file receiver 126 for later use (e.g., viewing, sharing, etc.).
[0040] Reference now Figure 2A-2C , Figure 2A-2C Various non-limiting examples of converting inter-frames to intra-frames to capture segments of streams having various GOP stream formats are described. Figure 1 The recoding system 100 is described Figure 2A-2C However, different or alternative systems may be used to generate the same as Figure 2A-2C The relevant part.
[0041] For example, refer to Figure 2A , Figure 2A The data flow diagram is a method for re-encoding an inter-frame in a GOP structure with only inter-frames into an intra-frame based on receiving an indication of starting recording according to some embodiments of the present disclosure. Figure 2AIn the embodiment of the present invention, a bitstream 202 may be received, wherein the bitstream 202 may include a GOP structured bitstream unique to inter-frames. Based on receiving a request to capture a segment of the bitstream 202, wherein the request indicates a starting point (e.g., an inter-frame 230) to begin recording, an inter-frame 230 associated with the starting point may be identified as shown in a segment 204 of the bitstream 202. To convert the inter-frame 230 identified in the segment 204, the inter-frame 230 may be processed by the re-encoding engine 114. Based on at least the SPS, PPS, QP, and / or other information associated with the bitstream 202, the re-encoding engine 114 may convert the selected inter-frame 230 into an intra-frame 232, as described in detail herein. Once the inter-frame 230 is re-encoded as an intra-frame 232, as shown in the updated segment 206 of the bitstream 202, the re-encoded intra-frame 232 may be merged (e.g., replacing the inter-frame 230) into the segment 204 at the location of the selected (e.g., identified) inter-frame 230. In an embodiment, when the re-encoded intra-frame 232 is merged, the headers of subsequent inter-frames may be updated to reference the re-encoded intra-frame 232. The re-encoded intra-frame 232 may then be recorded and stored (e.g., using Figure 1 The captured segment 208 (e.g., which may include the updated segment 206 and / or a portion thereof) associated with a request to capture a segment of the bitstream 202 is captured by the bitstream recorder 124 and / or the file receiver 126 in the embodiment of the present invention. Thus, using this process, the captured segment 208 may start from the re-encoded intra-frame 232.
[0042] In another embodiment, reference Figure 2B , Figure 2B FIG. 1 is a data flow chart for periodically re-encoding an inter-frame into an intra-frame according to some embodiments of the present disclosure. Figure 2BIn an embodiment, a bitstream 210 may be received, wherein the bitstream 210 includes a GOP structured bitstream unique to inter-frames. In an embodiment, the re-encoding system 100 may periodically convert inter-frames 240 (e.g., inter-frames 240A, 240B, and 240C) in the bitstream 212 that are identified by slashes and associated with the bitstream 210 to intra-frames 242 (e.g., intra-frames 242A, 242B, and 242C). For example, the re-encoding engine 114 may identify every x-th frame or every x-th time interval to be converted from the inter-frame 240 to the intra-frame 242 according to the indication of the bitstream 212. As described throughout, the re-encoding engine 114 may be configured (e.g., manually or otherwise) to select inter-frames 240 from the bitstream 210 based on a periodicity. For example, the re-encoding engine 114 may select every 5th inter-frame 240 or select every 30th inter-frame 240 to be converted to an intra-frame 242. As described in detail herein, the re-encoding engine 114 may convert the selected inter-frame 240 to an intra-frame 242 based on at least the SPS, PPS, QP, and / or other information associated with the bitstream 210. As shown in the converted segment 214, once the inter-frame 240 is re-encoded as the intra-frame 242, the re-encoded intra-frame 242 may be merged (e.g., replacing the inter-frame 240) at the location of the selected (e.g., identified) inter-frame 240 in the segment 210. In an embodiment, when the re-encoded intra-frame 242 is merged, the headers of subsequent frames and / or previous frames may be updated to reference the re-encoded intra-frame 242. Since the updated segment 214 may be generated on a periodic basis, when a request for a captured segment 216 of a stream is received, the captured segment 216 may be generated using the updated segment 214.
[0043] As a further example, see Figure 2C , Figure 2C The present invention is a data flow diagram for re-encoding an inter-frame of an IP frame GOP structure into an intra-frame based on receiving an indication of starting recording according to some embodiments of the present disclosure. Figure 2CIn the embodiment of the present invention, a bitstream 218 may be received, wherein the bitstream 218 may include an IP frame GOP structure bitstream. Based on receiving a request to capture a segment of the bitstream 218, wherein the request may indicate a starting point (e.g., an inter-frame 250) to begin recording, an inter-frame 250 associated with the starting point may be identified. In order to convert the inter-frame 250 identified in the segment 220, the inter-frame 250 may be processed by the re-encoding engine 114. As described in detail herein, the re-encoding engine 114 may convert the selected inter-frame 250 into an intra-frame 252 based on at least an SPS, a PPS, a QP, and / or other information associated with the bitstream 218. As shown in the updated segment 222, once the inter-frame 250 is re-encoded as an intra-frame 252, the re-encoded intra-frame 252 may be merged (e.g., replacing the inter-frame 250) at the location of the selected (e.g., identified) inter-frame 250 in the captured segment 224. In an embodiment, when a re-encoded intra frame 252 is merged, the headers of subsequent inter frames may be updated to reference the re-encoded intra frame 252. The captured segment 224 may then be captured from the updated segment 222 and stored (e.g., using Figure 1 ). Thus, using this process, the captured segment 224 may start with the re-encoded intra-frame 252 rather than the original intra-frame 254, resulting in a more accurate or more desired (e.g., based on a user request) frame grouping in the captured 224 segment.
[0044] Reference now Figure 3 and Figure 4 , each block of methods 300 and 400 described herein comprises a computing process that can be performed using any combination of hardware, firmware, and / or software. For example, a processor executing instructions stored in a memory can perform various functions. Methods 300 and 400 can also be embodied as computer usable instructions stored on a computer storage medium. Methods 300 and 400 may be provided by a stand-alone application, a service or a hosted service (standalone or in combination with other hosted services), or a plug-in to another product, to name a few. In addition, for example, Figure 1 Methods 300 and 400 are described as systems. However, these methods 300 and 400 may be performed in addition or by any one system or any combination of systems, including but not limited to the methods described herein.
[0045] refer to Figure 3 , Figure 3 1 is a flowchart showing a method for re-encoding an image frame to capture a segment in a video streaming application according to some embodiments of the present disclosure. At block B302, method 300 includes receiving first data representing a stream. For example, Figure 1A bitstream parser 104 in may receive a bitstream 102. The bitstream 102 may include relevant information or data representing SPS, PPS, QP, and / or other information associated with frames of the bitstream 102. The bitstream 102 may be a live video stream, a pre-recorded video stream, and / or other stream types. When parsed (e.g., by the bitstream parser 104), the bitstream 102 may be associated with one of any number of GOP structure types, such as a GOP structure type unique to intra-frames).
[0046] At block B304, method 300 includes determining that a portion of a segment of a stream contains unique inter-frames. For example, re-encoding system 100 may receive an indication to begin recording a portion of a bitstream. The indication may include information indicating which frame in the bitstream is to be used as a starting point for recording. In such embodiments, based on the indication received, recording of the portion of the bitstream is to begin at the frame indicated by the indication, and re-encoding frame selector 120 may determine that the starting point (e.g., portion) of the segment to be recorded is an inter-frame and / or an intra-frame is not within a threshold number of inter-frame frames.
[0047] At block B306, method 300 includes converting a first frame of a portion of the segment of the stream into an intra frame based on encoding parameters associated with the stream. As described herein, the encoding parameters may include at least one of an SPS, a PPS, and / or a QP. For example, the inter frame is re-encoded as an intra frame based on at least the encoding parameters associated with the bitstream from the inter frame, thereby ensuring that the newly encoded intra frame is compatible with the original bitstream (e.g., can be merged back into the original bitstream to replace the inter frame) when re-encoded.
[0048] At block B308, method 300 includes merging the intra frame into the segment of the stream to replace the first inter frame. For example, to merge the intra frame into the bitstream, frame merger 118 may update headers of inter frames following and / or preceding the re-encoded intra frame.
[0049] At block B310, method 300 includes storing segments of the stream. For example, segments of the bitstream 102 are stored for later use (e.g., viewing, sharing, etc.). Here, the bitstream recorder 124 can extract segments of the bitstream to be recorded, wherein the segments include re-encoded intraframes. The bitstream recorder 124 can output the segments of the bitstream to the file receiver 126 to save them to the file for later use (e.g., viewing, sharing, transmission, etc.). In an embodiment, the bitstream recorder 124 can select the segment according to the indication of which segment of the bitstream to be recorded by the received user. In other embodiments, the bitstream recorder 124 can select the starting point of the segment to be recorded and stored according to the starting point noted in the indication of starting recording.
[0050] Reference now Figure 4 , Figure 4 A method flow chart for periodically recoding interframes into intraframes is shown in accordance with some embodiments of the present disclosure. At block B402, the method includes receiving first data representing a stream containing an interframe sequence. For example, a bitstream 102 may be received by a bitstream parser 104. The bitstream 102 may include various relevant information, such as SPS, PPS, QP, and / or other information. The bitstream 102 may be a live video stream, a pre-recorded video stream, and / or other video stream types. When parsed by the bitstream parser 104, the bitstream 102 may be associated with one of any number of GOP structure types (such as a unique GOP structure type for interframes).
[0051] At block B404, method 400 includes selecting an inter-frame from the sequence of inter-frames at intervals. For example, in some embodiments, rather than converting an inter-frame to an intra-frame based on receiving an indication to start recording, re-encoding system 100 may analyze the incoming bitstream and determine when an intra-frame needs to be added to the bitstream. Re-encoding system 100 may determine when an intra-frame should be converted to an intra-frame based on the GOP length of the incoming bitstream 102. In other embodiments, re-encoding system 100 may determine when an intra-frame should be converted to an intra-frame based on a hard-coded period (e.g., every 5 frames, every 30 frames, etc.).
[0052] At block B406, method 400 includes converting the selected inter-frame to an intra-frame based on encoding parameters associated with the bitstream. For example, as described herein, the encoding parameters may include at least one of an SPS, a PPS, a QP, and / or other information associated with a frame represented by and included in the bitstream 102. The inter-frame is re-encoded as an intra-frame using the encoding parameters associated with the bitstream 102 from which the inter-frame was selected, ensuring that the newly encoded intra-frame is compatible with the original bitstream when re-encoded (e.g., can be merged back into the original bitstream to replace the inter-frame).
[0053] At block B408, method 400 includes merging the intra frame into the stream to replace the selected inter frame. For example, to merge the intra frame into the bitstream, frame merger 118 may update the inter frame header after and / or before the re-encoded intra frame.
[0054] Reference now Figure 5 , Figure 5 FIG. 4 is an exemplary system diagram of a game streaming system according to some embodiments of the present disclosure. Figure 5 Including game server 502 (which may include Figure 6 ), client device 504 (which may include components, features, and / or functions similar to computing device 600 in Figure 6), and network 506. In some embodiments, system 500 may be implemented as at least a portion of recoding system 100. For example, recoding system 100 may utilize a cloud computing environment of system 500, in which case the components and / or functionality of the recoding system may be similar to client device 504.
[0055] In system 500, for a game session, client device 504 may only receive input data in response to input data from input device 526, transmit the input data to game server 502, receive encoded display data from game server 502, and display the display data on display screen 524. Thus, more computationally intensive calculations and processing are offloaded to game server 502 (e.g., rendering of the game session is performed by a GPU of game server 502), and the game session is streamed from game server 502 to client device 504, thereby reducing the graphics processing and rendering requirements of client device 504.
[0056] For example, for instantiation of a game session, based on display data received from one or more game servers 502, the client device 504 can display a frame of the game session on the display 524. The client device 504 can receive input from one of the one or more input devices and generate input data in response. The client device 504 can transmit the input data to the one or more game servers 502 via the communication interface 520 and through the network 506 (such as the Internet), and the one or more game servers 502 can receive the input data via the communication interface 518. One or more CPUs can receive the input data, process the input data, and transmit the data to one or more GPUs, so that the one or more GPUs generate a rendering of the game session. For example, the input data may represent the movement of a user's character in the game, firing a weapon, reloading, passing a ball, turning a vehicle, etc. The rendering component 512 can render the game session (e.g., representing the result of the input data), and the rendering capture component 514 can capture the rendering of the game session as display data (e.g., capturing image data of the rendered frame of the game session). The encoder 516 can then encode the display data to generate encoded display data, which can be transmitted to the client device 504 via the communication interface 518 through one or more networks 506. The client device 504 can receive the encoded display data through the communication interface 520, and the decoder 522 can decode the encoded display data to generate display data. The client device 504 can then display the display data through the display screen 524.
[0057] In some embodiments, the encoded display data may represent Figure 1The bitstream 102 of the live game is provided so that the re-encoding system 100 can capture segments of the encoded display data to generate captured segments of the game instance. Thus, compared to conventional game systems that require the game instance to receive, store, and process its entire stream before capturing the segments, the re-encoding system 100 can allow segments of the game instance to be generated (e.g., to create highlights) at any point during the live game stream.
[0058] Figure 6 6 is a block diagram of an example of a computing device 600 suitable for implementing some embodiments of the recoding system 100 of the present disclosure. The computing device 600 may include a bus 602 that directly or indirectly couples the following devices: a memory 604, one or more central processing units 606 (CPUs), one or more graphics processing units 608 (GPU(s), graphics processing units), a communication interface 610, an input / output (I / O) port 612, an input / output component 614, a power supply 616, and one or more presentation components 618 (e.g., a display).
[0059] although Figure 6 The various blocks are shown as being connected to the bus 602 with lines, but this is not intended to be limiting and is for clarity only. For example, in some embodiments, the component 618 (such as a display device) may be considered to be the I / O component 614 (for example, if the display is a touch screen). Another example is that the CPU 606 and / or the GPU 608 may include a memory (for example, the memory 604 may represent a storage device in addition to the memory of the GPU 608, the CPU 606 and / or other components). In other words, Figure 6 The computing devices in the Term are illustrative only. No distinction is made between categories such as “workstation,” “server,” “laptop,” “desktop,” “tablet,” “client device,” “mobile device,” “handheld device,” “gaming console,” “electronic control unit (ECU),” “virtual reality system,” and / or other device or system types, as all categories are in the Figure 6 is considered within the context of computing devices.
[0060] The bus 602 may represent one or more buses, such as an address bus, a data bus, a control bus, or a combination thereof. The bus 602 may include one or more bus types, such as an industry standard architecture (ISA) bus, an extended industry standard architecture (EISA) bus, a video electronics standards association (VESA) bus, a peripheral component interconnect (PCI) bus, a peripheral component interconnect express (PCIe) bus, and / or other types of buses.
[0061] The memory 604 may include any of a variety of computer-readable media. Computer-readable media may be any available media that can be accessed by the computing device 600. Computer-readable media may include volatile and non-volatile media and removable and non-removable media. For example, and without limitation, computer-readable media may include computer storage media and communication media.
[0062] Computer storage media may include volatile and nonvolatile media and / or removable and non-removable media implemented in any method or technology for storing, for example, computer-readable instructions, data structures, program modules, and / or other data types. For example, memory 604 may store computer-readable instructions (e.g., instructions representing programs and / or program elements, such as an operating system). Computer storage media may include, but are not limited to, RAM, ROM, EEPROM, flash memory or other storage technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, cassettes, magnetic tape, magnetic disk storage or other disk storage devices, or any other medium that can be used to store the desired information and can be accessed by computing device 600. As used herein, computer storage media does not itself include signals.
[0063] Communication media may embody computer readable instructions, data structures, program modules and / or other data types in a modulated data signal such as a carrier wave or other transport mechanism, and include any information delivery media. The term "modulated data signal" may refer to a signal having one or more characteristics set or changed to encode information in the signal so as to encode information in the signal. For example, and not limitation, the communication media may include wired media such as a wired network or a direct wired connection, as well as acoustic, radio frequency, infrared and other wireless media. Any combination of the above should also be included in the scope of computer readable media.
[0064] The CPU 606 may be configured to execute computer-readable instructions to control one or more components of the computing device 600 to perform one or more recoding methods and / or processes described herein. Each CPU 606 may include one or more cores (e.g., one, two, four, eight, twenty-eight, seventy-two, etc.) capable of processing multiple software threads simultaneously. The CPU 606 may include any type of processor, and may include different types of processors depending on the implementation type of the computing device 600 (e.g., a processor with fewer cores for a mobile device and a processor with more cores for a server). For example, depending on the type of computing device 600, the processor may be an ARM processor implemented using Reduced Instruction Set Computing (RISC) or an x86 processor implemented using Complex Instruction Set Computing (CISC). The computing device 600 may include one or more CPUs 606, as well as one or more microprocessors or auxiliary coprocessors, such as math coprocessors.
[0065] The computing device 600 may use a GPU 608 to render graphics (e.g., 3D graphics). The GPU 608 may include hundreds or thousands of cores that are capable of processing hundreds or thousands of software threads simultaneously. The GPU 608 may generate pixel data for an output image in response to a rendering command (e.g., receiving a rendering command from the CPU 606 via a host interface). The GPU 608 may include a graphics memory, such as a display memory, for storing pixel data. The display memory may be part of the memory 604. The GPU 708 may include two or more GPUs running in parallel (e.g., by linking). When combined together, each GPU 608 may generate pixel data for a different portion of an output image or a different output image (e.g., a first GPU for a first image and a second GPU for a second image). Each GPU may include its own private memory or may share memory with other GPUs.
[0066] In examples where computing device 600 does not include GPU 608 , CPU 606 may be used to render graphics.
[0067] The communication interface 610 may include one or more receivers, transmitters, and / or transceivers to enable the computing device 600 to communicate with other computing devices via an electronic communication network including wired and / or wireless communications. The communication interface 610 may include components and functionality to enable communication over any of a variety of networks such as wireless networks (e.g., Wi-Fi, Z-wave, Bluetooth, Bluetooth LE, ZigBee, etc.), wired networks (e.g., communicating via Ethernet), low-power wide area networks (e.g., LoRaWAN, SigFox, etc.), and / or the Internet.
[0068] I / O ports 612 may enable computing device 600 to be logically coupled to other devices, including I / O components 614, presentation components 618, and / or other components, some of which may be built into (e.g., integrated into) computing device 600. Illustrative I / O components 614 include microphones, mice, keyboards, joysticks, game keyboards, game controllers, satellite dishes, scanners, printers, wireless devices, and the like. I / O components 614 may provide a natural user interface (NUI) for processing air gestures, voice, or other physiological inputs generated by a user. In some cases, the input may be transmitted to an appropriate network element for further processing. The NUI may implement any combination of voice recognition, stylus recognition, facial recognition, biometrics, gesture recognition on and near the screen, air gestures, head and eye tracking, and touch recognition (as described in more detail below) associated with the display screen of computing device 600. Computing device 600 may include a depth camera, such as a stereo camera system, an infrared camera system, an RGB camera system, a touch screen technology, and combinations thereof, for gesture detection and recognition. In addition, computing device 600 may include an accelerometer or gyroscope (e.g., as part of an inertial measurement unit (IMU)) for detecting motion. In some examples, the output of the accelerometer or gyroscope may be used by computing device 600 to render immersive augmented reality or virtual reality.
[0069] The power supply 616 may include a hardwired power supply, a battery power supply, or a combination thereof. The power supply 616 may provide power to the computing device 600 to enable the components of the computing device 600 to operate.
[0070] The presentation component 618 may include a display (e.g., a monitor, a touch screen, a television screen, a heads-up display (HUD), other display types, or combinations thereof), speakers, and / or other presentation components. The presentation component 618 may receive data from other components (e.g., GPU 608, CPU 606, etc.) and output data (e.g., as images, video, sound, etc.).
[0071] The present disclosure may be described in the general context of computer code or machine-usable instructions, including computer-executable instructions (such as program modules) executed by a computer or other computer (such as a personal data assistant or other handheld device). In general, program modules (including routines, programs, objects, components, data structures, etc.) refer to code that performs a specific task or implements a specific abstract data type. The present disclosure may be implemented in a variety of system configurations, including handheld devices, consumer electronics, general-purpose computers, more specialized computing devices, etc. The present disclosure may also perform tasks in a distributed computing environment via remote processing devices linked by a communication network.
[0072] As used herein, the "and / or" specification of two or more elements should be interpreted as referring to only one element or a combination of elements. For example, "element A, element B, and / or element C" includes only element A, only element B, only element C, element A and element B, element A and element C, element B and element C, or elements A, B, and C. In addition, "at least one of element A or element B" can include at least one element A, at least one element B, or at least one of element A and at least one of element B. In addition, "at least one of element A and element B" can include at least one element A, at least one element B, or at least one of at least one of element A and element B.
[0073] The subject matter of the present disclosure is specifically described herein to satisfy statutory requirements. However, the description itself is not intended to limit the scope of the present disclosure. Rather, the inventors have contemplated that the claimed subject matter may also be embodied in other ways, including with different steps or combinations of steps similar to those described in this document, and in conjunction with other existing or future technologies. Furthermore, although the terms "step" and / or "block" may be used herein to refer to different elements of the method employed, unless the order of the various steps is explicitly described, the terms should not be interpreted as implying any particular order between or among the various steps disclosed herein.
Claims
1. A method comprising: receiving first data representing a bitstream, the bitstream comprising a bitstream segment to be recorded; determining that at least an initial portion of the bitstream segment includes unique inter-frames; converting at least an initial inter-frame from the initial portion to an intra-frame, the converting being based at least in part on encoding parameters associated with the first data; merging the intra frame into the bitstream segment to replace the initial inter frame; For at least one inter-frame in the bitstream segment subsequent to the intra-frame, updating header information so that at least one inter-frame refers to the intra-frame; as well as The bitstream segment is stored. 2 . The method according to claim 1 , wherein the encoding parameter is determined by at least one of a sequence parameter set (SPS) or a picture parameter set (PPS) associated with the bitstream.
3. The method of claim 1, wherein the encoding parameters include a quantization parameter (QP) for establishing a first quantization value for the intra frame, the QP being at least one level lower than a second quantization value associated with the initial inter frame.
4. The method of claim 1, wherein the initial inter-frame is one of a predicted P-picture frame or a bidirectional B-picture frame, and the intra-frame is one of an intra-coded I-picture frame or an instantaneous decoder refresh (IDR) frame.
5. The method of claim 1, wherein determining that at least the initial portion of the bitstream segment to be recorded includes unique inter-frames is based at least in part on receiving second data representing a request to capture the bitstream segment.
6. The method of claim 1, wherein the bitstream is received from a remote device in a compressed format, and the method further comprises: generating second data representing a request for the initial interframe in an uncompressed format; as well as Third data representing the initial inter-frame is received in an uncompressed format, the third data being generated based at least in part on a decoder decoding a compressed version of the initial inter-frame from the bitstream.
7. The method of claim 1, wherein the bitstream is received in a first MPEG format and the bitstream segments are stored in a second MPEG format different from the first MPEG format.
8. A method comprising: receiving first data representing a sequence of inter-frames of a bitstream; selecting inter-frames from the inter-frame sequence at intervals; converting the inter-frame to an intra-frame based at least in part on encoding parameters associated with the first data; merging second data representing the intra frame into the first data to replace the inter frame; as well as For at least one inter-frame in the bitstream segment subsequent to the intra-frame, header information is updated so that the at least one inter-frame refers to the intra-frame.
9. The method of claim 8, further comprising capturing a segment of the bitstream, the segment starting from the intra-frame.
10. The method of claim 8, wherein the encoding parameter is determined by at least one of a sequence parameter set (SPS) or a picture parameter set (PPS) associated with the bitstream. The method of claim 8 , wherein the bitstream is a live stream.
12. The method of claim 8, wherein the bitstream is a live stream of a game instance received by a user device in a cloud gaming environment, the bitstream representing the game instance being remotely rendered by one or more servers of the user device.
13. The method of claim 8, wherein the bitstream is received from a remote device in a compressed format, and the method further comprises: generating third data representing a request for the interframe; as well as Fourth data representing the inter-frame is received in an uncompressed format, the fourth data being generated based at least in part on a decoder decoding a compressed version of the inter-frame.
14. A system comprising: A computing device comprising one or more processing devices and one or more memory devices communicatively coupled to the one or more processing devices storing programmed instructions which, when executed by the processing devices, result in the following operations: A bitstream provider, configured to receive first data representing a bitstream; a frame selector for determining that at least an initial portion of the bitstream segment to be recorded comprises a unique inter-frame; an intra-frame encoder for converting at least initial inter-frames from the initial portion into intra-frames, the conversion being based at least in part on encoding parameters associated with the first data; a frame merger, configured to merge the intra-frame into the bitstream segment to replace the initial inter-frame, and update header information of at least one inter-frame in the bitstream segment subsequent to the intra-frame so that at least one inter-frame refers to the intra-frame; The file receiver is used to store the bitstream segment.
15. The system of claim 14, wherein the encoding parameter is determined by at least one of a sequence parameter set (SPS) or a picture parameter set (PPS) associated with the bitstream.
16. The system of claim 14, wherein the encoding parameters include a quantization parameter (QP) for establishing a first quantization value for the intra frame, the QP being at least one level lower than a second quantization value associated with the initial inter frame.
17. The system of claim 14, further comprising: A bitstream parser for receiving a bitstream, the bitstream being received from a remote device in a compressed format; wherein the frame selector further generates second data representing a request in an uncompressed format for the initial interframe; and The intra-frame encoder also receives third data representing the initial inter-frame in an uncompressed format, the third data generated based at least in part on a video decoder decoding a compressed version of the initial inter-frame from the bitstream.
18. The system of claim 14, wherein the bitstream is received at a bitstream parser in a first MPEG format, and the bitstream segments are stored by the file receiver in a second MPEG format different from the first MPEG format.
