# US 10,958,947 B1 · Content delivery of live streams with playback-conditions-adaptive encoding

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

- Number: US 10,958,947 B1
- Document ID: US10958947B1
- Status: Granted
- Kind: B1
- Application number: 16/817,129
- Filed: 2020-03-12
- Granted: 2021-03-23
- Earliest claimed: 2020-03-12
- Assignees: Amazon Technologies, Inc.
- Applicants: Amazon Technologies, Inc.
- Inventors: Hai Wei; Brian Manuel Alvarez; Yongjun Wu; Abhishek Kumar; Lei Li
- Web page: https://patentgrep.com/patent/US10958947B1

## CPC

- H04N 21/2187: Live feed
- H04N 21/234: Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N 21/23439: {for generating different versions}
- H04N 21/236: Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream {(multiplexing of data packets for data networks, e.g. RTP/UDP H04L65/00)}
- H04N 21/2402: {Monitoring of the downstream path of the transmission network, e.g. bandwidth available (traffic monitoring in data switching networks H04L43/00; monitoring data switching networks utilization H04L43/0876)}
- H04N 21/2407: {Monitoring of transmitted content, e.g. distribution time, number of downloads (arrangements for monitoring programmes for broadcast or for distribution combined with broadcast H04H20/14)}
- H04N 21/251: {Learning process for intelligent management, e.g. learning user preferences for recommending movies (details of learning user preferences for the retrieval of video data in a video database G06F16/739; computer systems using learning methods G06N3/08)}
- H04N 21/25825: {involving client display capabilities, e.g. screen resolution of a mobile phone (optimising the visualisation of content during browsing in the Internet G06F16/9577; processing of terminal status or physical abilities in wireless networks H04W8/22; authentication in wireless network security H04W12/06)}
- 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

## Abstract

Techniques are described for creating and using playback-conditions-adaptive live video encoding ladders.

## Claims

### Claim 1

A method, comprising:
configuring one or more live stream encoders with a first encoding ladder;
encoding, with the one or more live stream encoders configured with the first encoding ladder, at least first portions of a live video presentation;
streaming the encoded first portions of the live video presentation to a dynamically-changing plurality of client devices;
monitoring, during the live video presentation, a fraction of the dynamically-changing plurality of client devices having display screens smaller than a predetermined threshold;
determining, during the live video presentation, that the fraction has changed from an initial value to an updated value, the updated value differing from the initial value by more than a threshold amount;
selecting, based on determining that the fraction has changed from the initial value to the updated value, a second encoding ladder different from the first encoding ladder;
configuring the one or more live stream encoders with the second encoding ladder;
encoding, with the one or more live stream encoders configured with the second encoding ladder, at least second portions of a live video presentation, the second portions following the first portions of the live video presentation; and
streaming the encoded second portions of the live video presentation to the dynamically-changing plurality of client devices.

### Claim 2 (depends on 1)

The method of claim 1 further comprising:
obtaining or generating a prediction prior to or at the start of the live video presentation, the prediction including a predicted fraction of client device display screens smaller than the predetermined threshold; and
selecting, based at least in part on the predicted fraction, the first encoding ladder from amongst a plurality of encoding ladders.

### Claim 3 (depends on 1)

The method of claim 1 further comprising generating the first encoding ladder, wherein generating the first encoding ladder comprises:
analyzing previously-live video presentations;
determining, based on the analysis, a typical fraction of client devices having display screens smaller than the predetermined threshold for the previously-live video presentations; and
generating the first encoding ladder based on the determined typical fraction.

### Claim 4 (depends on 3)

The method of claim 3, wherein the live video presentation and the previously-live video presentations comprises video presentations of a shared content category.

### Claim 5 (depends on 4)

The method of claim 4, wherein the shared content category comprises a category selected from the group consisting of: sporting events held by a given sports league, events in which a given team is playing, sporting events broadcast by a given media network, regular season sporting events of a given sports league, playoff season sporting events of a given sports league, live motorsports events, live outdoor concerts, live indoor concerts, newscasts, live variety shows, online auction broadcasts, online gaming broadcasts, live broadcasts using fixed or stationary cameras, and live broadcasts using mobile cameras.

### Claim 6

A method, comprising:
encoding, with one or more live stream encoders of a live streaming service, first portions of a live video presentation using a first encoding ladder;
streaming the encoded first portions of the live video presentation to a dynamically-changing plurality of client devices;
monitoring, during streaming of the live video presentation, playback conditions associated with consumption of the live presentation by the client devices;
determining, during the live video presentation, that the playback conditions have changed by more than a threshold amount; and
reconfiguring, based on determining that the playback conditions have changed by more than the threshold amount, the one or more live stream encoders with a second encoding ladder different from the first encoding ladder;
encoding, with the one or more live stream encoders, second portions of the live video presentation using the second encoding ladder; and
streaming the encoded second portions of the live video presentation to the dynamically-changing plurality of client devices.

### Claim 7 (depends on 6)

The method of claim 6 further comprising:
monitoring, during streaming of the encoded second portions of the live video presentation, playback conditions associated with consumption of the live presentation by the client devices;
determining, during streaming of the encoded second portions of the live video presentation, that the playback conditions have changed by more than an additional threshold amount; and
reconfiguring, based on determining that the playback conditions have changed by more than the additional threshold amount, the one or more live stream encoders with a third encoding ladder different from the first and second encoding ladders;
encoding, with the one or more live stream encoders, third portions of the live video presentation using the third encoding ladder; and
streaming the encoded third portions of the live video presentation to the dynamically-changing plurality of client devices.

### Claim 8 (depends on 6)

The method of claim 6, wherein the playback conditions include screen sizes of the dynamically-changing plurality of client devices and wherein determining that the playback conditions have changed by more than the threshold amount comprises determining that a fraction of the client devices having screen sizes below a predetermined threshold has changed by more than a predetermined amount during the live video presentation.

### Claim 9 (depends on 8)

The method of claim 8, wherein determining that the fraction of the client devices having screen sizes below the predetermined threshold has changed by more than the predetermined amount during the live video presentation comprises determining that the fraction has increased by more than the predetermined amount and wherein the second encoding ladder is optimized for delivering video content to client devices having screen sizes below the predetermined threshold.

### Claim 10 (depends on 8)

The method of claim 8, wherein determining that the fraction of the client devices having screen sizes below the predetermined threshold has changed by more than the predetermined amount during the live video presentation comprises determining that the fraction has increased by more than the predetermined amount and wherein the second encoding ladder includes more resolution options below a particular resolution than the first encoding ladder.

### Claim 11 (depends on 6)

The method of claim 6, wherein the second encoding ladder includes, for a given resolution, at least one bitrate option higher than any bitrate option for the given resolution in the first encoding ladder or includes, for the given resolution, at least one bitrate option lower than any bitrate option for the given resolution in the first encoding ladder.

### Claim 12 (depends on 6)

The method of claim 6, wherein monitoring the playback conditions comprising monitoring an amount of unused bandwidth between the live streaming services and the client devices, wherein determining that the playback conditions have changed by more than the threshold amount comprises determining that the amount of unused bandwidth is now less than a bandwidth threshold, and wherein the first encoding ladder includes, for a given resolution, at least one bitrate option higher than any bitrate option for the given resolution in the second encoding ladder or includes at least one resolution option higher than any resolution option in the second encoding ladder.

### Claim 13 (depends on 6)

The method of claim 6, wherein the second encoding ladder includes at least one bitrate option higher than any bitrate option in the first encoding ladder or at least one bitrate option lower than any bitrate option in the first encoding ladder.

### Claim 14 (depends on 6)

The method of claim 6, wherein the second encoding ladder includes at least one resolution option higher than any resolution option in the first encoding ladder or at least one resolution option lower than any resolution option in the first encoding ladder.

### Claim 15 (depends on 6)

The method of claim 6, wherein the playback conditions include types of network connections of the dynamically-changing plurality of client devices and wherein determining that the playback conditions have changed by more than the threshold amount comprises determining that a fraction of the client devices relying upon cellular network connections has changed by more than a predetermined amount during the live video presentation.

### Claim 16 (depends on 15)

The method of claim 15, wherein determining that the fraction of the client devices relying upon cellular network connections has changed by more than the predetermined amount during the live video presentation comprises determining that the fraction has increased by more than the predetermined amount and wherein the second encoding ladder is optimized for delivering video content to client devices relying upon cellular network connections.

### Claim 17

A system, comprising
one or more processors and memory configured to:
encode, with one or more live stream encoders of a live streaming service, first portions of a live video presentation using a first encoding ladder;
stream the encoded first portions of the live video presentation to a dynamically-changing plurality of client devices;
monitor, during streaming of the live video presentation, playback conditions associated with consumption of the live presentation by the client devices;
predict, during the live video presentation, that the playback conditions will change by more than a threshold amount;
reconfigure, based on predicting that the playback conditions will change by more than the threshold amount, the one or more live stream encoders with a second encoding ladder different from the first encoding ladder;
encode, with the one or more live stream encoders, second portions of the live video presentation using the second encoding ladder; and
stream the encoded second portions of the live video presentation to the dynamically-changing plurality of client devices.

### Claim 18 (depends on 17)

The system of claim 17, wherein the playback conditions include screen sizes of the dynamically-changing plurality of client devices and wherein the one or more processors and memory are configured to predict that the playback conditions will change by more than the threshold amount by determining that a fraction of the client devices having screen sizes above a predetermined threshold are more likely than not to change by more than a predetermined amount during the live video presentation.

### Claim 19 (depends on 18)

The system of claim 18, wherein the one or more processors and memory are configured to predict that the fraction of the client devices having screen sizes above the predetermined threshold will change by more than the predetermined amount during the live video presentation by determining a trendline of the fraction and extrapolating that trendline out in time and wherein the second encoding ladder is optimized for delivering video content to client devices having screen sizes above the predetermined threshold.

### Claim 20 (depends on 18)

The system of claim 18, wherein the one or more processors and memory are configured to predict that the fraction of the client devices having screen sizes above the predetermined threshold will change by more than the predetermined amount during the live video presentation by determining a trendline of the fraction and extrapolating that trendline out in time and wherein the second encoding ladder includes more resolution options above a particular resolution than the first encoding ladder.

### Claim 21 (depends on 17)

The system of claim 17, wherein the second encoding ladder includes at least one bitrate option higher than any bitrate option in the first encoding ladder or at least one bitrate option lower than any bitrate option in the first encoding ladder.

### Claim 22 (depends on 17)

The system of claim 17, wherein the second encoding ladder includes at least one resolution option higher than any resolution option in the first encoding ladder or at least one resolution option lower than any resolution option in the first encoding ladder.

### Claim 23 (depends on 17)

The system of claim 17, wherein the playback conditions include types of network connections of the dynamically-changing plurality of client devices and wherein the one or more processors and memory are configured to predict that the playback conditions will change by more than the threshold amount by determining a trendline of a fraction of the client devices relying upon cellular network connections and extrapolating that trendline out in time to predict that the fraction will change by more than a predetermined amount during the live video presentation.

### Claim 24 (depends on 23)

The system of claim 23, wherein the one or more processors and memory are configured to predict that the fraction of the client devices relying upon cellular network connections will change by more than the predetermined amount during the live video presentation by predicting from the extrapolated trendline that the fraction will increase by more than the predetermined amount and wherein the second encoding ladder is optimized for delivering video content to client devices relying upon cellular network connections.
