# US 2026/0101050 A1 · Methods for encoding video data

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

- Number: US 2026/0101050 A1
- Document ID: US20260101050A1
- Status: Published application
- Kind: A1
- Application number: 19/348,587
- Filed: 2025-10-02
- Published: 2026-04-09
- Earliest claimed: 2024-10-03
- Applicants: Sony Interactive Entertainment Europe Ltd.
- Inventors: Shakarim Soltanayev; Odysseas Zisimopoulos; Mohammad Ashraful Anam; Ioannis Andreopoulos
- Web page: https://patentgrep.com/patent/US20260101050A1

## CPC

- H04N 19/115: Selection of the code volume for a coding unit prior to coding
- H04N 19/172: the region being a picture, frame or field
- G06N 3/045: Combinations of networks
- G06N 3/08: Learning methods
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/088: Non-supervised learning, e.g. competitive learning
- G06N 20/00: Machine learning
- H04N 19/132: Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
- H04N 19/147: according to rate distortion criteria (rate-distortion as a criterion for motion estimation H04N19/567)
- H04N 19/149: by estimating the code amount by means of a model, e.g. mathematical model or statistical model
- H04N 19/154: Measured or subjectively estimated visual quality after decoding, e.g. measurement of distortion (use of rate-distortion criteria H04N19/147)
- H04N 19/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/177: the unit being a group of pictures [GOP]
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A method for encoding video data, comprising: receiving, at a machine learning model, encoding statistics derived from an encoding, performed by an external encoder, of at least one frame of a first video scene; processing the received encoding statistics using the machine learning model to determine one or more encoder settings for the external encoder; and outputting, from the machine learning model, the determined one or more encoder settings for use by the external encoder to encode a second video scene. The machine learning model is trained to predict, using encoding statistics input into the machine learning model, encoder settings which, when used by the external encoder to encode video data, optimise a data rate and/or video quality associated with the encoded video data.

## Claims

### Claim 1

A computer-implemented method for encoding video data, the method comprising:
receiving, at a machine learning model, encoding statistics derived from an encoding, performed by an external encoder, of at least one frame of a first video scene;
processing the received encoding statistics using the machine learning model to determine one or more encoder settings for the external encoder; and
outputting, from the machine learning model, the determined one or more encoder settings for use by the external encoder to encode a second video scene,
wherein the machine learning model is trained to predict, using encoding statistics input into the machine learning model, encoder settings which, when used by the external encoder to encode video data, optimise a data rate and/or video quality associated with the encoded video data.

### Claim 2 (depends on 1)

The computer-implemented method according to claim 1, the method further comprising encoding, at the external encoder, the second video scene using the determined one or more encoder settings.

### Claim 3 (depends on 2)

The computer-implemented method according to claim 2, wherein the method further comprises:
obtaining additional encoding statistics derived from the encoding of the second video scene performed by the external encoder using the determined one or more encoder settings;
processing the additional encoding statistics using the machine learning model to determine one or more updated encoder settings for the external encoder; and
outputting, from the machine learning model, the one or more updated encoder settings for use by the external encoder to encode a third video scene.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the processing the received encoding statistics is performed prior to completion of an encoding of at least one further frame of the first video scene performed by the external encoder.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein the machine learning model is trained to predict encoder settings which correspond to an optimal rate-quality convex hull for encoding video data.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein the one or more encoder settings comprise one or more of: an encoding resolution, one or more scene-cut detection parameters, one or more coding block encoding modes, and one or more rate control and/or encoding buffer control parameters.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1,
wherein processing the received encoding statistics using the machine learning model further comprises determining, using the machine learning model, one or more decoder settings for decoding encoded data of the second video scene, and
wherein the method comprises outputting, from the machine learning model, the determined one or more decoder settings for use by a decoder to decode the encoded data of the second video scene.

### Claim 8 (depends on 7)

The computer-implemented method according to claim 7, wherein the one or more decoder settings comprise one or more upscaling algorithm parameters and/or one or more post-processing algorithm parameters.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, wherein the encoding statistics are derived from an encoding, performed by the external encoder, of frames from a plurality of video scenes including the first video scene.

### Claim 10 (depends on 1)

The computer-implemented method of claim 1, wherein the method comprises:
receiving a compressed bitstream, generated by the external encoder, of the at least one frame of the first video scene;
processing the compressed bitstream to derive the encoding statistics; and
inputting the derived encoding statistics into the machine learning model.

### Claim 11 (depends on 1)

The computer-implemented method of claim 1, wherein the encoding statistics comprise one or more of: a number of intra-encoded coding blocks in the at least one frame, a number of skipped coding blocks in the at least one frame, a number of inter-encoded coding blocks in the at least one frame, an average, minimum and/or maximum quantization step size used in the at least one frame, a number of intra-, skip and/or inter-encoded blocks of encoding of each slice within the at least one frame, an average, minimum and/or maximum sum-of-absolute-difference of each encoding slice within the at least one frame, and a compressed bitstream size of each encoding slice within the at least one frame.

### Claim 12 (depends on 1)

The computer-implemented method of claim 1, wherein the machine learning model is trained by:
for each encoder setting of a plurality of different encoder settings of the external encoder:
encoding a training video scene with the external encoder using the encoder setting; and
calculating one or more rate-quality values based on the encoding of the training video scene with the external encoder using the encoder setting;
determining a rate-quality convex hull using the calculated rate-quality values for the plurality of different encoder settings;
calculating slope values for the determined rate-quality convex hull;
based on a comparison of the calculated slope values with a predetermined threshold, discarding one or more encoder settings of the plurality of different encoder settings to obtain a reduced set of encoder settings; and
adjusting one or more parameters of the machine learning model using the reduced set of encoder settings.

### Claim 13 (depends on 1)

The computer-implemented method of claim 1, wherein the processing the received encoding statistics using the machine learning model is performed prior to any encoding of the second video scene performed by the external encoder.

### Claim 14

A computing device comprising:
one or more processors; and
memory,
wherein the computing device is arranged to perform, using the one or more processors, operations comprising:
receiving, at a machine learning model, encoding statistics derived from an encoding, performed by an external encoder, of at least one frame of a first video scene;
processing the received encoding statistics using the machine learning model to determine one or more encoder settings for the external encoder; and
outputting, from the machine learning model, the determined one or more encoder settings for use by the external encoder to encode a second video scene,
wherein the machine learning model is trained to predict, using encoding statistics input into the machine learning model, encoder settings which, when used by the external encoder to encode video data, optimise a data rate and/or video quality associated with the encoded video data.

### Claim 15

A non-transitory computer-readable medium that stores instructions which, when executed by one or more processors, causes the one or more processors to perform operations comprising:
receiving, at a machine learning model, encoding statistics derived from an encoding, performed by an external encoder, of at least one frame of a first video scene;
processing the received encoding statistics using the machine learning model to determine one or more encoder settings for the external encoder; and
outputting, from the machine learning model, the determined one or more encoder settings for use by the external encoder to encode a second video scene,
wherein the machine learning model is trained to predict, using encoding statistics input into the machine learning model, encoder settings which, when used by the external encoder to encode video data, optimise a data rate and/or video quality associated with the encoded video data.

### Claim 16 (depends on 15)

The medium of claim 15, the operations comprising encoding, at the external encoder, the second video scene using the determined one or more encoder settings.

### Claim 17 (depends on 16)

The medium of claim 16, wherein the operations further comprise:
obtaining additional encoding statistics derived from the encoding of the second video scene performed by the external encoder using the determined one or more encoder settings;
processing the additional encoding statistics using the machine learning model to determine one or more updated encoder settings for the external encoder; and
outputting, from the machine learning model, the one or more updated encoder settings for use by the external encoder to encode a third video scene.

### Claim 18 (depends on 15)

The medium of claim 15, wherein the processing the received encoding statistics is performed prior to completion of an encoding of at least one further frame of the first video scene performed by the external encoder.

### Claim 19 (depends on 15)

The medium of claim 15, wherein the machine learning model is trained to predict encoder settings which correspond to an optimal rate-quality convex hull for encoding video data.

### Claim 20 (depends on 15)

The medium of claim 15, wherein the one or more encoder settings comprise one or more of: an encoding resolution, one or more scene-cut detection parameters, one or more coding block encoding modes, and one or more rate control and/or encoding buffer control parameters.
