# US 2017/0257639 A1 · Syntax and semantics for buffering information to simplify video splicing

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2017/0257639 A1
- Document ID: US20170257639A1
- Status: Published application
- Kind: A1
- Application number: 15/601,615
- Filed: 2017-05-22
- Published: 2017-09-07
- Earliest claimed: 2013-01-07
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Gary J. Sullivan; Lihua Zhu
- Web page: https://patentgrep.com/patent/US20170257639A1

## CPC

- H04N 19/46: Embedding additional information in the video signal during the compression process (H04N19/517, H04N19/68, H04N19/70 take precedence)
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N 21/23424: {involving splicing one content stream with another content stream, e.g. for inserting or substituting an advertisement}
- H04N 21/44016: {involving splicing one content stream with another content stream, e.g. for substituting a video clip}
- H04N 7/147: {Communication arrangements, e.g. identifying the communication as a video-communication, intermediate storage of the signals (selecting H04Q)}
- H04N 7/15: Conference systems
- H04N 7/18: Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
- H04N 19/573: Motion compensation with multiple frame prediction using two or more reference frames in a given prediction direction
- H04N 19/58: Motion compensation with long-term prediction, i.e. the reference frame for a current frame not being the temporally closest one (H04N19/23 takes precedence)
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Innovations in syntax and semantics of coded picture buffer removal delay (“CPBRD”) values potentially simplify splicing operations. For example, a video encoder sets a CPBRD value for a current picture that indicates an increment value relative to a nominal coded picture buffer removal time of a preceding picture in decoding order, regardless of whether the preceding picture has a buffering period SEI message. The encoder can signal the CPBRD value according to a single-value approach in which a flag indicates how to interpret the CPBRD value, according to a two-value approach in which another CPBRD value (having a different interpretation) is also signaled, or according to a two-value approach that uses a flag and a delta value. A corresponding video decoder receives and parses the CPBRD value for the current picture. A splicing tool can perform simple concatenation operations to splice bitstreams using the CPBRD value for the current picture.

## Claims

### Claim at position 1

-20. (canceled)

### Claim 21

In a computing device that implements a video encoder, a method comprising:
encoding video for a video sequence, including:
setting a coded picture buffer removal delay (“CPBRD”) delta value for a given access unit for a current picture of the video sequence, the current picture having a buffering period SEI message associated with the current picture;
setting a value of a flag for the given access unit, wherein:
if the value of the flag is a first value, a CPBRD value in a picture timing SEI message for the given access unit indicates an increment value specifying a nominal coded picture buffer (“CPB”) removal time of the current picture relative to a nominal CPB removal time of a first preceding picture in decoding order, the first preceding picture having a buffering period SEI message associated with the first preceding picture; and
if the value of the flag is a second value, the nominal CPB removal time of the current picture is indicated, by the CPBRD delta value, as an increment value relative to a nominal CPB removal time of a second preceding picture in decoding order; and
signaling the CPBRD delta value and the value of the flag for the given access unit in the buffering period SEI message associated with the current picture; and
outputting the encoded video.

### Claim 22 (depends on 21)

The method of claim 21, wherein the CPBRD delta value is signaled in the buffering period SEI message associated with the current picture as a syntax element representing the CPBRD delta value minus 1.

### Claim 23 (depends on 21)

The method of claim 21, wherein the second preceding picture immediately precedes the current picture in decoding order.

### Claim 24 (depends on 21)

The method of claim 21, wherein the encoding further comprises:
setting the CPBRD value for the given access unit; and
signaling the CPBRD value for the given access unit in the picture timing SEI message as a syntax element representing the CPBRD value minus 1.

### Claim 25 (depends on 21)

The method of claim 21, wherein, if the value of the flag is the first value:
if the second preceding picture lacks a buffering period SEI message associated with the second preceding picture, the CPBRD delta value indicates a difference between the CPBRD value for the given access unit and a CPBRD value for the second preceding picture; and
if the second preceding picture has a buffering period SEI message associated with the second preceding picture, the CPBRD delta value equals the CPBRD value for the given access unit.

### Claim 26 (depends on 21)

The method of claim 21, wherein:
the second preceding picture lacks a buffering period SEI message associated with the second preceding picture, and the first preceding picture and the second preceding picture are different pictures; or
the second preceding picture has a buffering period SEI message associated with the second preceding picture, and the first preceding picture is the second preceding picture.

### Claim 27

One or more computer-readable memory or storage devices having stored thereon computer-executable instructions for causing a computing device, when programmed thereby, to perform operations comprising:
encoding video for a video sequence, including:
setting a coded picture buffer removal delay (“CPBRD”) delta value for a given access unit for a current picture of the video sequence, the current picture having a buffering period SEI message associated with the current picture;
setting a value of a flag for the given access unit, wherein:
if the value of the flag is a first value, a CPBRD value in a picture timing SEI message for the given access unit indicates an increment value specifying a nominal coded picture buffer (“CPB”) removal time of the current picture relative to a nominal CPB removal time of a first preceding picture in decoding order, the first preceding picture having a buffering period SEI message associated with the first preceding picture; and
if the value of the flag is a second value, the nominal CPB removal time of the current picture is indicated, by the CPBRD delta value, as an increment value relative to a nominal CPB removal time of a second preceding picture in decoding order; and
signaling the CPBRD delta value and the value of the flag for the given access unit in the buffering period SEI message associated with the current picture; and
outputting the encoded video.

### Claim 28 (depends on 27)

The one or more computer-readable memory or storage devices of claim 27, wherein the CPBRD delta value is signaled in the buffering period SEI message associated with the current picture as a syntax element representing the CPBRD delta value minus 1.

### Claim 29 (depends on 27)

The one or more computer-readable memory or storage devices of claim 27, wherein the second preceding picture immediately precedes the current picture in decoding order.

### Claim 30 (depends on 27)

The one or more computer-readable memory or storage devices of claim 27, wherein the encoding further comprises:
setting the CPBRD value for the given access unit; and
signaling the CPBRD value for the given access unit in the picture timing SEI message as a syntax element representing the CPBRD value minus 1.

### Claim 31 (depends on 27)

The one or more computer-readable memory or storage devices of claim 27, wherein, if the value of the flag is the first value:
if the second preceding picture lacks a buffering period SEI message associated with the second preceding picture, the CPBRD delta value indicates a difference between the CPBRD value for the given access unit and a CPBRD value for the second preceding picture; and
if the second preceding picture has a buffering period SEI message associated with the second preceding picture, the CPBRD delta value equals the CPBRD value for the given access unit.

### Claim 32 (depends on 27)

The one or more computer-readable memory or storage devices of claim 27, wherein:
the second preceding picture lacks a buffering period SEI message associated with the second preceding picture, and the first preceding picture and the second preceding picture are different pictures; or
the second preceding picture has a buffering period SEI message associated with the second preceding picture, and the first preceding picture is the second preceding picture.

### Claim 33

A computing device comprising:
a buffer configured to store encoded video for a video sequence; and
a video decoder configured to perform operations including:
receiving a coded picture buffer removal delay (“CPBRD”) delta value for a given access unit for a current picture of the video sequence, the current picture having a buffering period SEI message associated with the current picture; and
receiving a value of a flag for the given access unit, wherein:
if the value of the flag is a first value, a CPBRD value in a picture timing SEI message for the given access unit indicates an increment value specifying a nominal coded picture buffer (“CPB”) removal time of the current picture relative to a nominal CPB removal time of a first preceding picture in decoding order, the first preceding picture having a buffering period SEI message associated with the first preceding picture; and
if the value of the flag is a second value, the nominal CPB removal time of the current picture is indicated, by the CPBRD delta value, as an increment value relative to a nominal CPB removal time of a second preceding picture in decoding order; and
decoding the encoded video, including parsing the CPBRD delta value and the value of the flag for the given access unit from the buffering period SEI message associated with the current picture.

### Claim 34 (depends on 33)

The computing device of claim 33, wherein the CPBRD delta value is signaled in the buffering period SEI message associated with the current picture as a syntax element representing the CPBRD delta value minus 1.

### Claim 35 (depends on 33)

The computing device of claim 33, wherein the operations further include:
receiving the CPBRD value for the given access unit, signaled in the picture timing SEI message for the given access unit as a syntax element representing the CPBRD value minus 1.

### Claim 36 (depends on 35)

The computing device of claim 35, wherein the operations further include:
detecting loss of data by comparing the CPBRD value for the given access unit to a sum based on a CPBRD value for the second preceding picture and the CPBRD delta value for the given access unit.

### Claim 37 (depends on 33)

The computing device of claim 33, wherein, for a spliced bitstream, the nominal CPB removal time of the current picture can be computed as a sum of (a) the nominal CPB removal time of the second preceding picture and (b) a product of a clock tick value and the CPBRD delta value for the given access unit, constrained by a constraint that ensures that delay is at least as long as it would be if decoding started at the given access unit.

### Claim 38 (depends on 33)

The computing device of claim 33, wherein the operations further include:
based at least in part on the CPBRD delta value for the given access unit, computing the nominal CPB removal time of the current picture.

### Claim 39 (depends on 33)

The computing device of claim 33, wherein, if the value of the flag is the first value:
if the second preceding picture lacks a buffering period SEI message associated with the second preceding picture, the CPBRD delta value indicates a difference between the CPBRD value for the given access unit and a CPBRD value for the second preceding picture; and
if the second preceding picture has a buffering period SEI message associated with the second preceding picture, the CPBRD delta value equals the CPBRD value for the given access unit.

### Claim 40 (depends on 33)

The computing device of claim 33, wherein:
the second preceding picture lacks a buffering period SEI message associated with the second preceding picture, and the first preceding picture and the second preceding picture are different pictures; or
the second preceding picture has a buffering period SEI message associated with the second preceding picture, and the first preceding picture is the second preceding picture.
