# US 2022/0046305 A1 · Segment quality-guided adaptive stream creation

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

- Number: US 2022/0046305 A1
- Document ID: US20220046305A1
- Status: Published application
- Kind: A1
- Application number: 17/506,489
- Filed: 2021-10-20
- Published: 2022-02-10
- Earliest claimed: 2020-06-25
- Assignees: Disney Enterprises, Inc.
- Applicants: Disney Enterprises, Inc.
- Inventors: Scott C. LABROZZI; Chetan K. MATHUR; Yuanyi XUE; Michael J. BRACCO
- Web page: https://patentgrep.com/patent/US20220046305A1

## CPC

- H04N 21/8456: {by decomposing the content in the time domain, e.g. in time segments}
- H04L 65/70: Media network packetisation
- H04L 65/80: Responding to QoS
- H04N 21/234345: {the reformatting operation being performed only on part of the stream, e.g. a region of the image or a time segment}
- H04N 21/23439: {for generating different versions}
- H04N 21/2662: Controlling the complexity of the video stream, e.g. by scaling the resolution or bitrate of the video stream based on the client capabilities
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Embodiments provide for improved stream generation. A target average bitrate (TAB) segment is generated by encoding a first segment, of a plurality of segments in a video, using a first maximum average bitrate (MAB) of a plurality of MABs specified in an encoding ladder. An intermediate average bitrate (IAB) segment is generated by encoding the first segment using a first intermediate bitrate, wherein the first intermediate bitrate is lower than the first MAB. Upon receiving a request for the first segment at the first MAB, the IAB segment is output based at least in part on determining that a first quality score of the IAB segment is within a predefined tolerance of a second quality score of the TAB segment.

## Claims

### Claim 1

A method, comprising:
generating a first target average bitrate (TAB) segment by encoding a first segment, of a plurality of segments in a video, using a first maximum average bitrate (MAB) of a plurality of MABs specified in an encoding ladder;
generating a first intermediate average bitrate (IAB) segment by encoding the first segment using a first intermediate bitrate, wherein the first intermediate bitrate is lower than the first MAB; and
upon receiving a request for the first segment at the first MAB, outputting the first IAB segment based at least in part on determining that a first quality score of the first IAB segment is within a predefined tolerance of a second quality score of the first TAB segment.

### Claim 2 (depends on 1)

The method of claim 1, the method further comprising:
selecting, for the first segment at a second MAB of the plurality of MABs, the first IAB segment; and
upon determining that the first IAB segment is used for both the first segment at the first MAB and the first segment at the second MAB:
storing a shared copy of the first IAB segment; and
associating the first segment at the first MAB and the first segment at the second MAB with the shared copy of the first IAB segment.

### Claim 3 (depends on 1)

The method of claim 1, the method further comprising:
selecting, for the first MAB, a first sequence of output segments for the plurality of segments;
selecting, for a second MAB of the plurality of MABs, a second sequence of output segments for the plurality of segments; and
upon determining that the first sequence of output segments is within a predefined threshold difference from the second sequence of output segments, eliminating either the first MAB or the second MAB.

### Claim 4 (depends on 1)

The method of claim 1, wherein the first quality score of the first IAB segment is generated by evaluating the first IAB segment using one or more objective quality algorithms configured to evaluate visual quality of the first IAB segment.

### Claim 5 (depends on 1)

The method of claim 1, the method further comprising:
determining, for the first segment at the first MAB, a pool of potential segments comprising the first TAB segment, one or more additional TAB segments encoded at bitrates below the first MAB, and one or more IAB segments encoded at bitrates below the first MAB; and
selecting the first IAB segment for the first segment at the first MAB by selecting a segment from the pool of potential segments.

### Claim 6 (depends on 5)

The method of claim 5, wherein selecting a segment from the pool of potential segments comprises:
identifying a lowest bitrate segment in the pool of potential segments, wherein the lowest bitrate segment is associated with a quality score within a predefined tolerance of a the second quality score associated with the first TAB segment.

### Claim 7 (depends on 1)

The method of claim 1, the method further comprising:
selecting, for the first MAB, a sequence of output segments for the plurality of segments, wherein each output segment in the sequence of output segments is encoded at a bitrate that is equal to or lower than the first MAB; and
upon receiving a request for the video at the first MAB, outputting the sequence of output segments.

### Claim 8 (depends on 1)

The method of claim 1, wherein the encoding ladder is a content-specific encoding ladder selected based on a type of the video.

### Claim 9

A non-transitory computer-readable medium containing computer program code that, when executed by operation of one or more computer processors, performs an operation comprising:
generating a first target average bitrate (TAB) segment by encoding a first segment, of a plurality of segments in a video, using a first maximum average bitrate (MAB) of a plurality of MABs specified in an encoding ladder;
generating a first intermediate average bitrate (IAB) segment by encoding the first segment using a first intermediate bitrate, wherein the first intermediate bitrate is lower than the first MAB; and
upon receiving a request for the first segment at the first MAB, outputting the first IAB segment based at least in part on determining that a first quality score of the first IAB segment is within a predefined tolerance of a second quality score of the first TAB segment.

### Claim 10 (depends on 9)

The non-transitory computer-readable medium of claim 9, the operation further comprising:
selecting, for the first segment at a second MAB of the plurality of MABs, the first IAB segment; and
upon determining that the first IAB segment is used for both the first segment at the first MAB and the first segment at the second MAB:
storing a shared copy of the first IAB segment; and
associating the first segment at the first MAB and the first segment at the second MAB with the shared copy of the first IAB segment.

### Claim 11 (depends on 9)

The non-transitory computer-readable medium of claim 9, the operation further comprising:
selecting, for the first MAB, a first sequence of output segments for the plurality of segments;
selecting, for a second MAB of the plurality of MABs, a second sequence of output segments for the plurality of segments; and
upon determining that the first sequence of output segments is within a predefined threshold difference from the second sequence of output segments, eliminating either the first MAB or the second MAB.

### Claim 12 (depends on 9)

The non-transitory computer-readable medium of claim 9, the operation further comprising:
determining, for the first segment at the first MAB, a pool of potential segments comprising the first TAB segment, one or more additional TAB segments encoded at bitrates below the first MAB, and one or more IAB segments encoded at bitrates below the first MAB; and
selecting the first IAB segment for the first segment at the first MAB by selecting a segment from the pool of potential segments, comprising:
identifying a lowest bitrate segment in the pool of potential segments, wherein the lowest bitrate segment is associated with a quality score within a predefined tolerance of a the second quality score associated with the first TAB segment.

### Claim 13 (depends on 12)

The non-transitory computer-readable medium of claim 12, wherein selecting a segment from the pool of potential segments comprises:
identifying a lowest bitrate segment in the pool of potential segments, wherein the lowest bitrate segment is associated with a quality score within a predefined tolerance of a the second quality score associated with the first TAB segment.

### Claim 14 (depends on 9)

The non-transitory computer-readable medium of claim 9, the operation further comprising:
selecting, for the first MAB, a sequence of output segments for the plurality of segments, wherein each output segment in the sequence of output segments is encoded at a bitrate that is equal to or lower than the first MAB; and
upon receiving a request for the video at the first MAB, outputting the sequence of output segments.

### Claim 15

A system, comprising:
one or more computer processors; and
a memory containing a program which when executed by the one or more computer processors performs an operation, the operation comprising:
generating a first target average bitrate (TAB) segment by encoding a first segment, of a plurality of segments in a video, using a first maximum average bitrate (MAB) of a plurality of MABs specified in an encoding ladder;
generating a first intermediate average bitrate (IAB) segment by encoding the first segment using a first intermediate bitrate, wherein the first intermediate bitrate is lower than the first MAB; and
upon receiving a request for the first segment at the first MAB, outputting the first IAB segment based at least in part on determining that a first quality score of the first IAB segment is within a predefined tolerance of a second quality score of the first TAB segment.

### Claim 16 (depends on 15)

The system of claim 15, the operation further comprising:
selecting, for the first segment at a second MAB of the plurality of MABs, the first IAB segment; and
upon determining that the first IAB segment is used for both the first segment at the first MAB and the first segment at the second MAB:
storing a shared copy of the first IAB segment; and
associating the first segment at the first MAB and the first segment at the second MAB with the shared copy of the first IAB segment.

### Claim 17 (depends on 15)

The system of claim 15, the operation further comprising:
selecting, for the first MAB, a first sequence of output segments for the plurality of segments;
selecting, for a second MAB of the plurality of MABs, a second sequence of output segments for the plurality of segments; and
upon determining that the first sequence of output segments is within a predefined threshold difference from the second sequence of output segments, eliminating either the first MAB or the second MAB.

### Claim 18 (depends on 15)

The system of claim 15, the operation further comprising:
determining, for the first segment at the first MAB, a pool of potential segments comprising the first TAB segment, one or more additional TAB segments encoded at bitrates below the first MAB, and one or more IAB segments encoded at bitrates below the first MAB; and
selecting the first IAB segment for the first segment at the first MAB by selecting a segment from the pool of potential segments.

### Claim 19 (depends on 18)

The system of claim 18, wherein selecting a segment from the pool of potential segments comprises:
identifying a lowest bitrate segment in the pool of potential segments, wherein the lowest bitrate segment is associated with a quality score within a predefined tolerance of a the second quality score associated with the first TAB segment.

### Claim 20 (depends on 15)

The system of claim 15, the operation further comprising:
selecting, for the first MAB, a sequence of output segments for the plurality of segments, wherein each output segment in the sequence of output segments is encoded at a bitrate that is equal to or lower than the first MAB; and
upon receiving a request for the video at the first MAB, outputting the sequence of output segments.
