Partial Video Decoding Method, Device and System

20220007036 · 2022-01-06

    Inventors

    Cpc classification

    International classification

    Abstract

    Encoded video data representing partial video images is decoded from a first video stream such as a HEVC bitstream. The first video stream comprises video images divided into a spatial array of independently decodable slices. The first video stream comprises network abstraction layer units that each contain video content data for a respective one of the slices preceded by a header that comprises parameters relating to the respective one of the slices in relation to the first video stream. Previously prepared information such as meta data about positions of parameters in the network abstraction layer units or a plurality of different versions of the network abstraction layer units for different partial image sizes (different picture sizes) is used. The meta data may be used for partially rewriting the network abstraction layer units for a sub-array of slices, the network abstraction layer units being rewritten at a location selected on the basis of meta data, to make the network abstraction layer units consistent with a second video stream of encoded video data only for the sub-array of slices. Versions of the network abstraction layer units may be selected for the sub-array of slices, from the plurality of different versions. Subsequently, the partial video images are generated by decoding the encoded video data from the rewritten network abstraction layer units.

    Claims

    1. A video stream source system, comprising a storage system, a transmission interface and a controller, the controller being configured to: receive a first indication of a selection of a sub-array of a spatial array of independently decodable slices in a first video stream that encodes full video images divided into the spatial array, the first video stream comprising network abstraction layer units that each contain video data for a respective slice preceded by a header that comprises parameters relating to the respective slice in relation to the first video stream; and cause network abstraction layer units for the selected sub-array in the first video stream to be retrieved from the storage system and to be transmitted via the transmission interface.

    2. A video stream source system according to claim 1, wherein the controller is configured to: receive a second indication of a selection of a new sub-array of a spatial array; cause network abstraction layer units for the selected new sub-array in the first video stream to be retrieved from the storage system and to be transmitted via the transmission interface, using network abstraction layer units from a first and second version of the first video stream for slices within and outside an overlap between the previous sub-array and the new sub-array respectively, the first version comprising inter frame relation based image data and the second version comprising only data encoded independent of inter frame relations, until a frame wherein the first version comprises image data encoded independent of inter frame relations; and subsequently cause network abstraction layer units comprising image data from the first version for all slices within the new sub-array to be retrieved from the storage system and to be transmitted via the transmission interface.

    3. A decoding system for decoding partial video images from a first video stream that encodes full video images divided into a spatial array of independently decodable slices, wherein the first video stream comprises network abstraction layer units that each contain video content data for a respective one of the slices preceded by a header that comprises parameters relating to the respective one of the slices in relation to the first video stream, and wherein information defining versions of network abstraction layer units corresponding to derived streams with differently sized images are provided, the decoding system comprising: a storage system; a controller, configured to indicate a selection of a sub-array of a spatial array of independently decodable slices in the first video stream; a stream generator, configured to retrieve the information defining versions of the network abstraction layer units from the storage system and to obtain the versions of the network abstraction layer units with video content data corresponding to the first video stream and headers for network abstraction layer units of a second video stream with an image size corresponding to the selected sub-array, based on the retrieved information; and a decoder, with an input coupled to a stream pre-processor, and configured to decode partial video images containing only video data from the sub-array, from the obtained versions of the network abstraction layer units.

    4. A decoding system according to claim 3, wherein the information defining versions of network abstraction layer units comprises stored versions of the headers with field sizes for indicating the spatial location of the slices in a plurality of different image sizes.

    5. A decoding system according to claim 3, comprising: a stream pre-processor, coupled between the stream generator and the decoder, configured to receive the obtained versions of the network abstraction layer units from the stream generator and to modify the obtained versions of the network abstraction layer units by replacing values of the indications of the spatial location of the slices in the network abstraction layer units, using values of the indications of the spatial location of the slices from a predetermined set of shortened values of the indications of the spatial location of the slices that is independent of a location of the sub-array within the full video images.

    Description

    BRIEF DESCRIPTION OF THE DRAWING

    [0036] These and other objects and advantages will become apparent from a description of exemplary embodiments with reference to the following figures

    [0037] FIG. 1 shows a video transmission system

    [0038] FIG. 2 shows a decoder system

    [0039] FIG. 3 shows a flow chart of a process at the destination system

    [0040] FIG. 4 shows a flow chart of a process at the source system

    [0041] FIG. 5 illustrates sub-array overlap

    [0042] FIG. 6 shows a flow chart of a process at the source system

    [0043] FIG. 7 shows an embodiment of a network source system

    DETAILED DESCRIPTION OF EXEMPLARY EMBODIMENTS

    [0044] For the purpose of the invention, the term video stream, when comprising encoded video data relates to a bitstream that is the intended input of a decoder apparatus. E.g. the bitstream is intended to be parsed for the purpose of decoding the encoded video data embedded in it. This interpretation is in line with what is understood in the technical field of encoding by the term “bitstream”.

    [0045] FIG. 1 shows an exemplary video transmission system, comprising a network 10, a network source system 12 and a network destination system 14. Network source 12 comprises a storage system 120, a controller 122 and a network interface 124. Storage system 120 stores data representing a coded video stream. By way of example, the coded video bit stream may be a HEVC coded video bitstream. HEVC uses slices, which are parts of the video stream that are encoded independent of each other. In the described embodiments the slices are used so that each slice is associated with a respective spatial location (of a subregion) in the images. A HEVC coded video bitstream comprises slice headers and video content data. Controller 122 is coupled to storage system 120, for retrieving HEVC bitstream data from storage system 120, and to network interface 124 for receiving commands via network interface and for supplying HEVC bit-stream data to network interface 124 in response. Network interface 124 is a network transmitter coupled to network 10.

    [0046] FIG. 2 shows an exemplary network destination system 14. Network destination system 14 comprises a network interface 140, a stream pre-processor 142, a decoder 144, a post-processor 146 and a controller 148. Network interface 140 has an input to network 10 and an output coupled to an input of stream pre-processor 142. Stream pre-processor 142 has an output coupled to an input of decoder 144. Decoder 144 has an output coupled to an input of post-processor 146. Post-processor 146 may be configured to shuffle (re-arrange) the positions of blocks of pixels in the decoded image received from decoder 144. Post-processor 146 has a video output, which may be coupled to a video display device such as an LCD screen (not shown) or to further video processing units (not shown). Controller 148 is coupled to network interface 140 and controller 148 has control outputs coupled to control inputs of stream pre-processor 142, decoder 144 and to post-processor 146.

    [0047] A HEVC coded bitstream may comprise encoded parameter sets, slice headers and video content data. The parameter sets are located in SPS and PPS NAL units. Among others, the parameter sets define the picture size and the numbers of rows and columns of tiles in the pictures (each tile contains at least one slice). Each NAL unit with video data for a slice contains a header and payload data. In terms of the HEVC standard, the payload data contains encoded video content data preceded by a slice header, i.e. the data of slices is composed of a slice header and a slice payload. But herein the slice header will also be referred to as header data, or more briefly “header”. Headers, or at least part of the parameters in the header, are encoded by means of a variable length code, which means that the total header length of the header may change from slice to slice and frame to frame.

    [0048] Among other things, according to an embodiment of the invention, the slice header contains an identification of the slice that is encoded in the NAL unit (this may be referred to as the slice (segment) address, and is an example of an indication of a spatial location of the slice), a flag that indicates whether the slice is the first (top-left) slice in a picture, a temporal sequence number of the picture to which the slice belongs, the reference picture set used for intra slice coding and a quantization delta with respect to the reference picture set. The identification of the slice may be represented by the number of the first coding tree block in the slice in a coding tree block raster scan of a picture. The HEVC standard uses the concept of tiles. Each image of the video stream can be partitioned into a matrix of these tiles. When each tile contains exactly one slice, each slice may be associated with a respective spatial location (of a region) in the images and by means of this association the slices may form a spatial array of independently decodable slices. The same applies when each tile contains a plurality of slices. As a result, the identification of the slice in the NAL unit forms an (indirect) indication of the spatial location of the slice. When each tile comprises one slice, or more than one slice, it is possible to derive the spatial position of a slice in a frame from the identification of the slice (the identification of the slice can be the slice address, which according to HEVC would be the address of the first CTB (Coding Tree Block) of a slice). It should be emphasized that the indication of the spatial location of the slice may be a direct indication or an indirect indication. An example of a direct indication is as a set of coordinates of a location such as a corner of a rectangle in the image that contains video data encoded in the slice. Indirect indications are indications from which such direct indications can be derived, if need be with the aid of additional information.

    [0049] For example in an embodiment of the invention wherein a video image (frame) is partitioned in tiles, whereby each tiles contains one slice, from the tile set dimensioning and the slice address, the spatial location of each slice (e.g. the region of the video image (frame) occupied by the video data of the slice) can be easily determined. At the end of the header and before the video content data the NAL unit contains zero, one or more padding bits (also called stuffing bits), the number of padding bits being selected to ensure word boundary alignment (e.g. byte alignment) of the start of the video content data, irrespective of the header bit length produced by the variable length encoding of the header. The number of padding bits is selected so that the sum of the bit length Lh of the header plus the number N of padding bits is an integer multiple of the word length W (e.g. W=8), preferably with N<W.

    [0050] In addition to the HEVC coded bitstream, storage system 120 stores meta data that indicates the location of the padding bits in the slice headers and optionally the location (e.g. offset in bits from the start of the NAL unit) and length of one or more fields in the slice headers. The indicated fields may include any one of the fields for the representation of the spatial location of the slice, the flag that indicates whether the slice is the first slice, the temporal sequence number of the picture to which the slice belongs, the indication of the reference picture set used for intra slice coding and the quantization delta with respect to the reference picture set. The meta data may also indicate the location and length of certain fields in the encoded parameter sets. The meta data may be generated when the stream is encoded, by adding different headers before the same encoded video data, or later by parsing the encoded stream to determine the location of different parameters in the NAL units and/or the number of padding bits. The meta data may be compiled in advance, before the location of a requested sub-array is known (i.e. non-real time).

    [0051] In an embodiment the meta data, preferably in the form of a meta data file, comprises key-value (or name-value or attribute-value) pairs of the parameters of the header data. These may include one or more attributes indicating parameters and an attribute value indicating the positions by means of an offset in bits from the start of the video data. The meta data file may be binary encoded. In an embodiment the meta data may be stored as separate meta data files that each contains meta data for one or more NAL units. In an embodiment each NAL unit may be stored with a file wrapper that contains the meta data for the NAL unit. A wrapper may be placed around a binary encoded meta data file and the corresponding NAL unit, for instance using Google Protobuf.

    [0052] Preferably, the stored video data in storage system 120 also contains a full I-frame encoded version of the video data and an encoded version based on inter frame relations (i.e. using a combination of I-frames and motion predicted frames organized in a Group Of Pictures).

    [0053] In operation, network source system 12 transmits a partial HEVC bitstream, containing parameter sets of the stored HEVC bitstream, and NAL units representing a sub-array of selected slices rather than all slices of the stored HEVC stream. The number of slices in the sub-array is smaller than the number of slices in the images that are encoded by the HEVC bitstream. Both its height and width in terms of numbers of slices may be smaller than the height and width in terms of numbers of slices of the images encoded by the HEVC bitstream.

    [0054] The network source system 12 may be configured to operate basically either as a file server that merely transmits data requested by a network destination system, or as an active video stream source which compiles data to be transmitted based on parameters provided by the network destination system, e.g. defining a sub-array size and location. For operation as a file server, the HEVC bitstream may be stored in the form of known MPEG DASH (hereafter simply referred to as DASH) segments for example. In that case additional metadata related to MPEG DASH is added to the HEVC bitstream (e.g. the HEVC bitstream is encapsulated such that parts of it may be retrieved using the MPEG DASH protocol). Furthermore a manifest file called Media Presentation Description (MPD) may be stored in network source system 12. This manifest file comprises the URLs of the DASH segments, for use to enable network destination system 14 to request selected DASH segments from network source system 12.

    [0055] In another embodiment that supports operation as a file server, the HEVC bitstream may be stored as Transport Stream packets or MP4 file segments (the latter for example in the form of a fragmented MP4 file). In this case storing it in a further format usually encompasses adding metadata related to such format. A HTTP Live Streaming (HLS) playlist file comprising the URLs of the HLS segments (fragments) may be stored in network source system 12. HLS playlist files are known per se. The HLS playlist file comprises the URLs of the HLS segments.

    [0056] FIGS. 3 and 4 show a flow-charts of operation of network destination system 14 and network source system 12. An embodiment will be described wherein the destination system uses the network source system as a file server, for obtaining encoded video information for a sub-array of slices. Herein the network destination system obtains information e.g. by providing the controller so that it is configured to transmit requests specifying the information to the network source system and receiving the specified information at the pre-processor in response to such requests. NAL units may be obtained for example as DASH segments, Transport Stream packets or MP4 file segments specified e.g. by indicating their URLs based on a manifest file, playlist etc.

    [0057] The flow-chart of FIG. 3 may be part of a process wherein a sub-array of slices is selected, e.g. based on user controlled navigation or another form of external control of the selection of the location of the sub-array and possibly its size. For example detection of an orientation of a head set may be used to select the location based on signals from one or more orientation sensors. In a first step 31 of the flow-chart of FIG. 3, the network destination system obtains a manifest file or a playlist for a desired video stream from the network source system. In a second step 32 of the flow-chart of FIG. 3, the network destination system (e.g. its controller) obtains parameter sets from the network source system and modifies them to make them correspond with use of the sub-array as the whole image. The network destination system 14 makes the stream HEVC compatible with use of a sub-array of the whole image by modifying the parameter sets to set the picture size and the numbers of rows and columns of tiles in the pictures in correspondence with the selected sub-array. In a third step 33, the network destination system (e.g. its controller) initiates decoder 144 of network destination system 14 using the modified parameter sets to initiate the decoder.

    [0058] Furthermore, the controller may configure the stream pre-processor and the postprocessor in third step 33. The stream pre-processor is configured to modify received NAL units from the network source system in correspondence with the modified parameter sets. The stream pre-processor may be configurable to map received indications of spatial locations of the slices from the original full size HEVC image to indications of the spatial location of the slices in images with a size of the sub-array. In an embodiment, the stream pre-processor may comprise a configurable mapping table that defines this mapping for individual indications of the spatial location of the slices, e.g. containing indication of the spatial location of the slice in a full image in table entries for each slice in the sub-array. For reasons that will be described later, the stream pre-processor and the postprocessor may be configured to apply configurable tile mappings. The stream pre-processor may be configurable to map received indications of the spatial location of the slices in an ‘out-of-spatial-order’ way. The postprocessor may be configured to map different tiles from the decoded image in different ways ‘out-of-spatial-order’ to positions in the output image, so as to restore their original order from the full image. The postprocessor may comprise a configurable mapping table for this purpose, e.g. containing addresses of image blocks in the decoded image in table entries for blocks in the output image, or addresses of block corner locations the output image in table entries for blocks in the decoded image.

    [0059] Decoded images from decoder 144 and post-processed output images from postprocessor 146 may be distinguished. In an embodiment, postprocessor is configured to obtain the output images from the decoded images not just by remapping indications of the spatial location of the slices, but also by deriving output images that correspond to cropped sub-images of the remapped decoded images. The controller may configure the position of the cropping window to be used by postprocessor 146. Optionally, the stream pre-processor and the postprocessor may be arranged to apply a configurable rotation between the area in the decoded image from which the output image must be extracted, after the remapping the indication of the spatial location of the slice. In this case the controller may configure the rotation angle as well.

    [0060] In a fourth step 34, the stream preprocessor obtains NAL units and meta data for the headers of these NAL units from the network source system via the network. In a fifth step 35, the stream pre-processor rewrites the slice headers of the NAL units to make them compatible with the modified parameter sets. The stream pre-processor replaces the addresses of the slices by shortened indication of the spatial location of the slice, from a predetermined set of shortened addresses. Herein the predetermined set of shortened addresses depends on the dimensions of the sub-array (which may be predetermined or not) and the predetermined set of shortened addresses is predetermined in the sense that it does not depend on the position of the sub-array in the full video images, so as to produce indications of the spatial location of the slices within the sub-array as configured by the controller e.g. in the mapping table. The stream preprocessor rewrites the flag that indicates whether the slice is the first slice for one of the transmitted slices.

    [0061] Also the stream pre-processor may change the position of unmodified parts of the slice headers relative to the start of the NAL unit in order to account for field length modifications corresponding to the use of the sub-array (the smaller size of the sub-array may imply use of fewer bits for indications of the spatial location of the slices). Furthermore, the stream pre-processor adds or removes padding bits to ensure byte alignment of the NAL data behind the slice headers, when this is necessary due to the shifting.

    [0062] Stream pre-processor 142 uses the location of the padding bits from the meta data (e.g. signaled through the metadata) to determine the locations in the NAL units where the padding bits are added or removed. Stream pre-processor 142 may also use indications of locations of the relevant fields from the meta data to select the locations where the data is modified and/or where shifts are started. Alternatively, stream pre-processor 142 may use predetermined indications of one or more of the field locations and/or sizes to select the locations. This is possible because at least some of these are the same for all slice headers.

    [0063] In a sixth step 36, the stream preprocessor forwards the NAL units with the rewritten fields and added or removed padding bits to the decoder. In a seventh step 37, the decoder decodes the forwarded NAL units and transmits the resulting decoded image to the post-processor. In an eight step 38, the post-processor post-processes the decoded image.

    [0064] In an embodiment the process may repeat from fourth step 34 after eight step 38. However, FIG. 3 illustrates an embodiment wherein the process contains a ninth step 39, wherein network destination system 14 is able to change the position of the sub-array during operation.

    [0065] The network source system may transmit the meta data separately from the corresponding NAL units or in-band with the NAL units, for example as part of a wrapper files. In an embodiment, the meta data may be transmitted inside an HEVC SEI message for each respective NAL unit. In another embodiment the meta data file is transmitted out of band. For instance the binary encoded meta data file may be transmitted in the HTTP header from the network source system to the network destination system in response to a HTTP GET request command from the network destination system to start a partial HEVC stream containing the indicated selection of slices. In yet another embodiment the meta data can be formatted using the JSON-data format and transmitted using for example any of the transport protocols as mentioned above between the network destination system and network source system.

    [0066] FIG. 4 illustrates the operation of the network source system in the alternative embodiment wherein the network source system is an active video stream source. In this embodiment, the steps wherein the network destination system obtains information need not all involve a request transmitted to the network source system. In this embodiment, first step 31 of the flow-chart of FIG. 3 comprises transmitting a command to start the (transmission of the) partial HEVC stream, indicating a selection of slices, e.g. in terms of the location of the two dimensional sub-array of slices within the images coded by the HEVC coded stream. Preferably, the command also indicates the height and width of the array in terms of numbers of slices. Alternatively, a predetermined height and width may be used, e.g. 3×3 slices. Furthermore, the command may comprise an identification of the stream and optionally a starting time location in the stream. Alternatively, the command may apply to a predetermined stream, or the identification of the stream may be provided in a separate command.

    [0067] In a first step 41 of the flow-chart of active stream operation of FIG. 4, the network source system tests whether it has received the command from the network destination system to start a partial HEVC stream containing the indicated selection of slices. If so, the network source system proceeds to a second step 42, wherein it retrieves the parameter sets of the HEVC coded stream and transmits the retrieved parameter sets to the network destination system.

    [0068] Subsequently, the network source system proceeds to a third step 43, wherein it retrieves the NAL units that contain the video content data for the indicated selection of slices and the meta data for the headers of these NAL units. Next, the network source system proceeds to a fourth step 44, wherein it transmits the meta data for the headers of these NAL unit and the NAL units to the network destination system via the network, without transmitting NAL units from the full-image HEVC stream outside the selected array. In a fifth step 45, the network source system tests whether it should proceed with transmission. If so, the network source system repeats the process from third step 43.

    Slice Remapping

    [0069] The controller of network destination system 14 may be configured to check whether there is a need to change the position of the output image relative to the full image of the HEVC stream and optionally whether its rotation needs to be changed. This may be needed for example in response to a user command or detected movement of a head set that is used to display the image.

    [0070] In a ninth step 39, the controller determines whether the position and optionally rotation change necessitates a change of the sub-array, i.e. whether the changes have moved any part of the image outside the sub-array. If so, the controller changes the selection of slices for which it will obtain NAL units in fourth step 34.

    [0071] FIG. 5 illustrates an embodiment that also involves a change of the address mapping that is performed by the stream pre-processor. This may be used to ensure temporal continuity in the stream of slices as much as possible. Furthermore it may be used to avoid or minimize use of additional bandwidth from the I-frame only video stream after changing the sub-array. When the controller selects a new sub-array of slices 50, the new sub-array may partly overlap with the previous sub-array at a number of slices indicated by cross-shading. To ensure temporal continuity of operation of the decoder (i.e. the ability to use decode slice data by references to earlier slice data) it is desirable that the remapped indications of the spatial location of the slices of the (cross-shaded) slices in the overlap do not change, and that the slices that are new in the new sub-array of slices 50 (indicated by a first type of single shading) are remapped to addresses of slices from the previous sub-array that are not used in the new sub-array 50 (indicated by a second type of single shading).

    [0072] Thus for example, if a row of the slices in the previous sub-array have addresses corresponding to two-dimensional slice coordinates (n,n), (n+1,n), (n+2,n), these may be mapped to shortened indications of the spatial location of the slices corresponding to two-dimensional slice coordinates (0,0), (1,0), (2,0) in the rewritten stream supplied to the decoder. When the new sub-array is shifted by one slice to the right from the previous sub-array i.e. wherein a row of slices have addresses in the full image corresponding to two-dimensional slice coordinates (n+1,n), (n+2,n), (n+3,n), these may be mapped to shortened indications of the spatial location of the slices corresponding to two-dimensional slice coordinates (1,0), (2,0), (0,0) in the rewritten stream respectively, so that full stream indications of the spatial location of the slices corresponding to two-dimensional slice coordinates (n+1,n), (n+2,n) remain mapped to rewritten addresses corresponding to two-dimensional slice coordinates (1,0), (2,0).

    [0073] However, this form of address mapping has the effect that the slices will turn up spatially out of order in the decoded image. This is corrected by the postprocessor. The postprocessor provides for configurable mapping of slices from the decoded image to ensure that the slices appear in the output image in their order according to the full image. Thus, in the preceding example, the slices of a row at shortened addresses corresponding to two-dimensional slice coordinates (0,0), (1,0), (2,0) in the decoded image are mapped to shortened addresses corresponding to two-dimensional slice coordinates (2,0), (0,0), (1,0) in the output image of the post-processor.

    [0074] To implement this, in ninth step 39, the controller may reconfigure the stream pre-processor and the postprocessor to re-configure the desired mapping. In the re-configured mapping the slices in the overlap between the new and previous sub-arrays retain their mapped indication of the spatial location of the slice and the slices in the new sub-array outside the overlap are assigned indications of the spatial location of the slices of slices in the previous sub-array that lie outside the overlap. The mapping of tiles from the decoded image is re-configured to restore the spatial order according to the original (full-image) indications of the spatial location of the slices.

    [0075] In addition, the postprocessor may subject the result of mapping to a further position shift to obtain the output image, e.g. to provide for sub-slice position shifts. Optionally, rotations may be provided for as well. In ninth step 39, the controller may re-configure the post-processor to perform output image adjustments according to such a position shift and/or rotation. These may be seen as a form of remapping, which may be occasioned by changes of the location of the output image relative to the full image, but it should be noted that not all adjustments of the position shift and/or rotation result in changes of the selected sub-array in the decoded image and hence to slice remapping.

    [0076] In the embodiment wherein the network source system is an active video stream source, ninth step 39 may comprise transmitting a command to change the indicated selection of slices to network source system 12, to transmit a different set of slices and their corresponding meta data. In this embodiment, a fifth step 45 may be added to the flow-chart of FIG. 4, wherein the network source system tests whether it has received such a command and if so the network source system modifies the indicated selection of slices, so that the slices of the indicated selection of slices will be retrieved and transmitted in third step 43 and fourth step 44. For the purpose of synchronization, the network source system may include an indication in the meta data to mark the first image in which the modified indicated selection of slices applies.

    I-Frame Only Substitution

    [0077] In a further embodiment, an I-frame only version is transmitted temporarily of the slices of the new sub-array that lie outside the overlap with the previous sub-array. As is known per se, images forming a video stream can be encoded dependent or independent of any other image in the stream. An image that is encoded independent of any other image in the stream is referred to as an I-frame, a slice of such an image is referred to as an I-frame encoded slice and a representation (version) of a stream that is encoded with I-frames only is referred to as an I-frame only version of the stream. An image that is encoded dependent on one or more other images, e.g. by means of motion vectors relative to such an other image is referred to as an inter frame encoded image. A representation (version) of a stream that includes inter frame encoded images is referred to as an inter frame relation based representation or version of the stream. Such an inter frame relation based representation or version of the stream may also be referred to as an inter frame encoded representation or version of the stream. As is known per se, such a representation or version of the stream may also include I-frames, e.g. at the start of a group of pictures (GOP). Frames of a GOP can be decoded independent of other GOP's.

    [0078] As noted, the stored video data in storage system 120 preferably contains a full I-frame encoded version of the video data as well as an encoded version based on inter frame relations (i.e. using a combination of I-frames and motion predicted frames organized in a Group Of Pictures, e.g. in terms of temporal relations such as motion vectors). Preferably, identical sets of reference images (reference picture sets) are used for both versions. In an embodiment, the stored stream may be created from an original stream by adding reference picture sets that are supersets containing the reference picture sets of both versions and modifying the references to the reference picture sets to references in the superset.

    [0079] In a first embodiment, in fourth step 34 the network destination system obtains frames from the I-frame only version for slices of the new sub-array that lie outside the overlap with the previous sub-array. The I-frame only version of these slices may be obtained until a frame is reached where the inter frame relation based version contains an I-frame, after which frames from the latter may be transmitted. The controller of the network destination system may determine when this occurs, by keeping track of the position of frames in the transmitted group of pictures (GOP). Based on this the frame numbers can be used to determine the first frame of the next group of pictures, from which transmission of frames from the that inter frame relation based version is started. Preferably, the network destination system obtains the inter-frame encoded version for slices of the new sub-array that lie within the overlap with the previous sub-array. Alternatively, the I-frame only version may be obtained for all slices, but this increases bandwidth use.

    [0080] In the embodiment wherein the network source system is an active video stream source, the network source system may determine whether to send an I-frame only version or an inter frame relation based version for selected slices. FIG. 6 shows a flow-chart of the operation of the network source system in this embodiment. Steps that are identical to those in FIG. 4 are indicated by the same labels. Third step 43 of FIG. 4 has been replaced by a modified retrieval step 63.

    [0081] In a fifth step 65, the controller of the network source system tests whether it has received a command that changes the indicated selection of slices. If so the controller executes a sixth step 66 in which it modifies the indicated selection of slices in a sixth step 66, and sets a transmission status of this slice. The transmission status is used to indicate whether the inter frame relation based version of the slice or the I-frames only version must be transmitted. Initially, the transmission status of each slice is set to indicate the prediction based version or the I-frames only version according to whether the slice is in the overlap between the new and the previous sub-array or not, respectively.

    [0082] After sixth step 66, or after fifth step 65 when the indicated selection of slices has not changed, the process returns to modified retrieval step 63. In modified retrieval step 63, the controller of network source system retrieves the inter frame relation based version of the slices for the current frame. For slices for which the transmission status is set to I-frame only transmission, the controller tests whether the inter frame relation based version of the slices for the current frame contains an I-frame. For those slices for which this is the case, the controller sets the transmission status to transmission of the prediction based version. For the slices for which the transmission status is set to I-frame only transmission and the inter frame relation based version of the slices for the current frame does not contain an I-frame, the controller retrieves the I-frame only version for the current frame. Subsequently, in fourth step 44 NAL units with the I-frame only version is transmitted for those slices for which it was retrieved and the inter frame relation based version of the other slices is transmitted. This may comprise retrieving and transmitting meta data applicable to the I-frame only version or the inter frame relation based version, whichever was transmitted.

    [0083] In the network source system the slices are decoded according which version was transmitted. This enables decoding of the slices outside the overlap between the new and previous sub-array to be decoded from the first frame in which the indicated selection of slices becomes effective and to continue inter frame relation based version decoding for the slices in the overlap.

    [0084] Although embodiments have been shown wherein the headers of the NAL units are rewritten in the network destination system, it may be noted that alternatively the network source system may be configured to transmit adapted NAL units.

    [0085] In an embodiment, alternative versions of the header and number of padding bits for the NAL units of all slices of the full encoded bitstream may be stored for each NAL unit in the storage system 120 of the network source system 12. Each alternative version corresponds to a different length of the indication of the spatial location of the slice. That is, it may comprise a number of padding bits that ensures that the video content data will start at a word boundary when an indication of the spatial location of the slice of the relevant length is used. Such alternative versions may be created for example based on an original HEVC bitstream, by rewriting the original video bitstream a number of times with padding for different lengths length of the indication of the spatial location of the slice. Such re-writing may be done before the specific locations of requested sub-arrays are known, e.g. by determining the required padding based on meta data or by parsing of the bitstream. Alternatively, the different versions may be generated already when the stream is encoded to begin with.

    [0086] At least a version for sizes of the indication of the spatial location of the slice in the full video image and a version for one standard size of the indication of the spatial location of the slice for a sub-array may be stored, but in addition more versions for different lengths of the indication of the spatial location of the slice may be stored, e.g. for eight different sizes. The alternative versions of the header and padding bits may be part of alternative NAL units that contain the same video content data.

    [0087] In this embodiment, the network destination system may be configured to obtain a selected version of the NAL units, dependent on the sub-array dimension. In this embodiment, the stream pre-processor of the network destination system substitutes the indications of the spatial location of the slices in the NAL units before they are passed to the decoder. Preferably, the alternative versions stored in the network source system contain the original indications of the spatial location of the slices needed to distinguish slices in the full image, i.e. addresses with a larger length of the indication of the spatial location of the slice than the lengths of the indication of the spatial location of the slice for which the versions are intended, and with a number of padding bits corresponding to that version. That is, in the versions obtained from the network source system the start of the video data need not yet be aligned to a word boundary, but the padding bits are selected so that it will be aligned after substitution with the shortened slice indication of the spatial location of the slice. Accordingly, stream pre-processor 142 may be configured to read the original indication of the spatial location of the slice from the obtained version of the NAL unit, map this original indication of the spatial location of the slice to the shortened address, substitute the resulting shortened address in the obtained version of the NAL unit and move the subsequent part of the obtained version of the NAL unit relative to its starting point so as to compensate for the shorter length of the shortened address. The number of padding bits in the obtained version is selected so that this results in alignment of the start of the video content data.

    [0088] Alternatively, least significant parts of the indications of the spatial location of the slices may be stored in the versions of the NAL unit, i.e. indications that uniquely distinguish slices within any sub-arrays, but may be the same for slices that are farther apart, with a length that corresponds to the length of the indication of the spatial location of the slice associated with the version. In this case, the pre-processor of the network destination system may request the NAL unit from the network source system based on their full addresses, and the stream pre-processor 142 may be configured to map the least significant part of the original indication of the spatial location of the slice from the NAL unit to the shortened address.

    [0089] FIG. 7 shows an embodiment of a network source system with a (bit-)stream generator 70 between storage system 120 and a network interface 124. Stream generator 70 may be part of controller 122, but for the sake of illustration stream generator 70 is shown separately, and controller 122 is shown coupled to all units. In operation controller 122 receives an indication of the selected sub-array via network interface 124 from a network destination system (not shown). In response, controller 122 causes transmission of a video stream with selected NAL units from the network source system.

    [0090] In a first embodiment, stream generator 70 may be a stream pre-processor similar to the stream pre-processor 142 disclosed for the network destination system. Such a stream generator 70 in the network source system may be configured rewrite the NAL units before transmission, in a way as described for the stream pre-processor of the network destination system, using the meta data. In this case the meta data need not be transmitted to the network destination system and stream pre-processor of the network destination system may be omitted.

    [0091] In an alternative embodiment, the stream generator 70 in the network source system may be configured to perform only part of the rewriting. For example, the stream generator 70 in the network source system may be configured to change the position of the part of the header after the field for the indication of the spatial location of the slice to ensure word boundary alignment of the video data after the header, without rewriting the indications of the spatial location of the slices or merely truncating the indications of the spatial location of the slices in terms of the full image, e.g. by leaving out a part that distinguishes between slices that as so far apart that they cannot be part of the same sub-array (this part will be referred to as the most significant part). The stream-preprocessor may be configured to rewrite these indications or the postprocessor may be configured to remap the slices, based on information about the selected sub-array and on the slices within the sub-array that correspond to different truncated indications. For example, the stream pre-processor of the network destination system may be configured to substitute the indications of the spatial location of the slices without changing the position of the part of the header after the field for indication of the spatial location of the slice. Frequent transmission of meta data may be omitted in this case if stream pre-processor of the network destination system rewrites only data at predetermined locations. As described, substitute indications of the spatial location of the slices that address slices using a predetermined set of values of the indications of the spatial location of the slices may be used, where the predetermined set depends on the dimensions of the sub-array, but not on its location in the full images.

    [0092] In the embodiment wherein the storage system 120 stores alternative versions of the header and number of padding bits for the NAL units of all slices of the full video stream, the controller 122 of the network source system or the stream generator 70 may be configured to select between the different versions dependent on the sub-array dimension selected by the network destination system. The stream generator 70 may be configured to pass only the selected versions of the network layer application units for the selected slices to the network interface 124 for transmission, after obtaining the alternative versions of the header and number of padding bits for the selected slices address length from storage system 120.

    [0093] In this embodiment, the stream pre-processor of the network destination system substitutes the indications of the spatial location of the slices in the NAL units before they are passed to the decoder. In an alternative embodiment, this may be done by the stream generator. But this would increase the source side computational burden, since the stream generator would have to apply address mapping specific to the destination. In this case alternative versions of the header and number of padding bits need not be stored as part of complete alternative NAL units. The stream generator 70 may retrieve video content data for the network abstraction layer (NAL) unit, which is the same for all lengths of indications of the spatial location of the slice from the storage system 122 and append it to a retrieved header for the selected slice address length, for use in the transmission.

    [0094] For the sake of illustration the embodiments have been described in terms of the HEVC standard. But it should be appreciated that the invention is not limited to this standard. The HEVC standard merely illustrates a type of encoded video stream wherein full video images are encoded divided into a spatial array of independently decodable slices, using network abstraction layer units that each contain video content data for a respective one of the slices preceded by a header that comprises parameters relating to the respective one of the slices in relation to the first video stream. The HEVC standard merely is merely an example of a way of encoding wherein each independently decodable slices can be associated with a respective spatial location (of a region) in the images, using a direct or indirect indication of the location of the slice in the image. Use of a slice identification is merely an example of such an indication of the location of the slice. Other indications, such as coordinates, sequence number etc. may be used.

    [0095] Furthermore, although applications have been described in terms of communication of the network abstraction layer units by network source and destination devices over a network such as the Internet, it should be appreciated that instead source and destination devices may be used that communicate over other networks or via communication channels that are not networks e.g. via a wired or wireless point to point communication channel, a communication bus etc.