# US 2022/0030229 A1 · Method for generating video- and audience-specific encoding ladders

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

- Number: US 2022/0030229 A1
- Document ID: US20220030229A1
- Status: Published application
- Kind: A1
- Application number: 17/495,154
- Filed: 2021-10-06
- Published: 2022-01-27
- Earliest claimed: 2019-03-15
- Assignees: Mux, Inc.
- Applicants: Mux, Inc.
- Inventors: Nick Chadwick; Adam Brown; Jon Dahl; Masroor Hasan; Ben Dodson
- Web page: https://patentgrep.com/patent/US20220030229A1

## CPC

- H04N 19/149: by estimating the code amount by means of a model, e.g. mathematical model or statistical model
- G06F 18/214: Generating training patterns; Bootstrap methods, e.g. bagging or boosting
- G06V 10/454: {Integrating the filters into a hierarchical structure, e.g. convolutional neural networks [CNN]}
- G06V 10/764: using classification, e.g. of video objects
- G06V 10/7715: {Feature extraction, e.g. by transforming the feature space, e.g. multi-dimensional scaling [MDS]; Mappings, e.g. subspace methods}
- G06V 10/82: using neural networks
- G06V 20/46: {Extracting features or characteristics from the video content, e.g. video fingerprints, representative shots or key frames}
- H04N 19/115: Selection of the code volume for a coding unit prior to coding
- H04N 19/139: Analysis of motion vectors, e.g. their magnitude, direction, variance or reliability
- H04N 19/14: Coding unit complexity, e.g. amount of activity or edge presence estimation (H04N19/146 takes precedence)
- H04N 19/177: the unit being a group of pictures [GOP]
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

A method including: extracting a set of video features representing properties of a video segment; generating a set of bitrate-resolution pairs based on the set of video features, each bitrate-resolution pair in the set of bitrate-resolution pairs defining a bitrate and defining a resolution estimated to maximize a quality score characterizing the video segment encoded at the bitrate; accessing a distribution of audience bandwidths; selecting a top bitrate-resolution pair in the set of bitrate-resolution pairs; selecting a bottom bitrate-resolution pair in the set of bitrate-resolution pairs; selecting a subset of bitrate-resolution pairs in the set of bitrate-resolution pairs based on the distribution of audience bandwidths, the subset of bitrate-resolution pairs defining bitrates less than the top bitrate and greater than the bottom bitrate; and generating an encoding ladder for the video segment comprising the top bitrate-resolution pair, the bottom bitrate-resolution pair, and the subset of bitrate-resolution pairs.

## Claims

### Claim 1

A method for generating an encoding ladder comprising:
extracting a set of video features representing properties of the video segment based on a sequence of frames, the set of video features comprising:
a set of motion features;
a set of visual complexity features; and
a set of content features;
generating a set of bitrate-resolution pairs based on the set of video features, each bitrate-resolution pair in the set of bitrate-resolution pairs:
defining a bitrate; and
defining a resolution predicted to yield a quality score, approximating a maximum quality score, characterizing the video segment encoded at the bitrate and the resolution;
accessing a distribution of audience bandwidths representative of likely viewers of the video segment;
selecting a subset of bitrate-resolution pairs in the set of bitrate-resolution pairs based on the distribution of audience bandwidths; and
generating an encoding ladder for the video segment comprising the subset of bitrate-resolution pairs.

### Claim 2 (depends on 1)

The method of claim 1:
further comprising, selecting a highest bitrate-resolution pair in the set of bitrate-resolution pairs, the highest bitrate-resolution pair defining a highest bitrate; and
wherein selecting the subset of bitrate-resolution pairs in the set of bitrate-resolution pairs based on the distribution of audience bandwidths comprises selecting the subset of bitrate-resolution pairs in the set of bitrate-resolution pairs based on the distribution of audience bandwidths, the subset of bitrate-resolution pairs defining bitrates less than the highest bitrate.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
selecting a lowest bitrate-resolution pair in the set of bitrate-resolution pairs, the lowest bitrate-resolution pair defining a lowest bitrate; and
wherein selecting the subset of bitrate-resolution pairs in the set of bitrate-resolution pairs based on the distribution of audience bandwidths comprises selecting the subset of bitrate-resolution pairs in the set of bitrate-resolution pairs based on the distribution of audience bandwidths, the subset of bitrate-resolution pairs defining bitrates greater than the lowest bitrate.

### Claim 4 (depends on 1)

The method of claim 1, wherein extracting a set of video features representing properties of the video segment based on the sequence of frames comprises:
calculating the set of motion features based on consecutive frames in the sequence of frames;
for each frame in the sequence of frames:
calculating a set of frame-level visual complexity features for the frame; and
storing the frame-level visual complexity feature for the frame in the set of visual complexity features;
passing the sequence of frames into a video classification model; and
extracting an intermediate layer activation of the video classification model executing on the sequence of frames to generate the set of content features, the set of content features representing a content classification of the video segment.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
identifying a set of groups-of-pictures in the video segment; and
extracting an I-frame from each group-of-pictures in the video segment.

### Claim 6 (depends on 1)

The method of claim 1, wherein selecting the subset of bitrate-resolution pairs in the set of bitrate-resolution pairs based on the distribution of audience bandwidths comprises selecting the subset of bitrate resolution pairs predicted to yield an aggregate quality score approximating a maximum aggregate quality score of the video segment viewed according to the distribution of audience bandwidths.

### Claim 7 (depends on 2)

The method of claim 2, further comprising:
selecting a lowest bitrate-resolution pair in the set of bitrate-resolution pairs, the lowest bitrate-resolution pair defining a lowest bitrate; and
wherein selecting the subset of bitrate-resolution pairs in the set of bitrate-resolution pairs based on the distribution of audience bandwidths comprises selecting the subset of bitrate-resolution pairs in the set of bitrate-resolution pairs based on the distribution of audience bandwidths, the subset of bitrate-resolution pairs defining bitrates greater than the lowest bitrate.

### Claim 8 (depends on 7)

The method of claim 7, wherein extracting a set of video features representing properties of the video segment based on the sequence of frames comprises:
calculating the set of motion features based on consecutive frames in the sequence of frames;
for each frame in the sequence of frames:
calculating a set of frame-level visual complexity features for the frame; and
storing the frame-level visual complexity feature for the frame in the set of visual complexity features;
passing the sequence of frames into a video classification model; and
extracting an intermediate layer activation of the video classification model executing on the sequence of frames to generate the set of content features, the set of content features representing a content classification of the video segment.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
identifying a set of groups-of-pictures in the video segment; and
extracting an I-frame from each group-of-pictures in the video segment.

### Claim 10 (depends on 9)

The method of claim 9, wherein selecting the subset of bitrate-resolution pairs in the set of bitrate-resolution pairs based on the distribution of audience bandwidths comprises selecting the subset of bitrate resolution pairs predicted to yield an aggregate quality score approximating a maximum aggregate quality score of the video segment viewed according to the distribution of audience bandwidths.

### Claim 11

A method for generating an encoding ladder comprising:
extracting a set of video features representing properties of the video segment based on the sequence of frames;
generating a set of bitrate-resolution pairs based on the set of video features, each bitrate-resolution pair in the set of bitrate-resolution pairs:
defining a bitrate; and
defining a resolution predicted to yield a quality score, approximating a maximum quality score, characterizing the video segment encoded at the bitrate and the resolution;
accessing a distribution of audience bandwidths representative of likely viewers of the video segment;
selecting a subset of bitrate-resolution pairs in the set of bitrate-resolution pairs based on the distribution of audience bandwidths; and
generating an encoding ladder for the video segment comprising the subset of bitrate-resolution pairs.

### Claim 12 (depends on 11)

The method of claim 11, further comprising selecting a highest bitrate-resolution pair in the set of bitrate-resolution pairs, the highest bitrate-resolution pair defining a highest bitrate.

### Claim 13 (depends on 12)

The method of claim 12, wherein selecting the subset of bitrate-resolution pairs in the set of bitrate-resolution pairs based on the distribution of audience bandwidths comprises selecting the subset of bitrate-resolution pairs in the set of bitrate-resolution pairs based on the distribution of audience bandwidths, the subset of bitrate-resolution pairs defining bitrates less than the highest bitrate.

### Claim 14 (depends on 11)

The method of claim 11, further comprising selecting a lowest bitrate-resolution pair in the set of bitrate-resolution pairs, the lowest bitrate-resolution pair defining a lowest bitrate.

### Claim 15 (depends on 14)

The method of claim 14, wherein selecting the subset of bitrate-resolution pairs in the set of bitrate-resolution pairs based on the distribution of audience bandwidths comprises selecting the subset of bitrate-resolution pairs in the set of bitrate-resolution pairs based on the distribution of audience bandwidths, the subset of bitrate-resolution pairs defining bitrates greater than the lowest bitrate.

### Claim 16 (depends on 11)

The method of claim 11, wherein extracting a set of video features representing properties of the video segment based on the sequence of frames comprises:
calculating the set of motion features based on consecutive frames in the sequence of frames;
passing the sequence of frames into a video classification model; and
extracting an intermediate layer activation of the video classification model executing on the sequence of frames to generate the set of content features, the set of content features representing a content classification of the video segment.

### Claim 17 (depends on 15)

The method of claim 15, further comprising, for each frame in the sequence of frames:
calculating a set of frame-level visual complexity features for the frame; and
storing the frame-level visual complexity feature for the frame in the set of visual complexity features.

### Claim 18

The method of Claim i6, further comprising:
identifying a set of groups-of-pictures in the video segment; and
extracting an I-frame from each group-of-pictures in the video segment.

### Claim 19

The method of Claim ii, wherein selecting the subset of bitrate-resolution pairs in the set of bitrate-resolution pairs based on the distribution of audience bandwidths comprises selecting the subset of bitrate resolution pairs predicted to yield an aggregate quality score approximating a maximum aggregate quality score of the video segment viewed according to the distribution of audience bandwidths.

### Claim 20

A method for generating an encoding ladder comprising:
extracting a set of video features representing properties of the video segment based on a sequence of frames:
generating a set of bitrate-resolution pairs based on the set of video features;
accessing a distribution of audience bandwidths representative of likely viewers of the video segment;
selecting a subset of bitrate resolution pairs predicted to yield an aggregate quality score approximating a maximum aggregate quality score of the video segment viewed according to the distribution of audience bandwidths; and
generating an encoding ladder for the video segment comprising the subset of bitrate-resolution pairs.
