# US 10,958,988 B2 · Methods and apparatus for media content asset changes

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

- Number: US 10,958,988 B2
- Document ID: US10958988B2
- Status: Granted
- Kind: B2
- Application number: 15/927,454
- Filed: 2018-03-21
- Published: 2018-09-27
- Granted: 2021-03-23
- Earliest claimed: 2017-03-24
- Assignees: Mediatek Inc.
- Applicants: MediaTek Inc.
- Inventors: Lulin Chen
- Web page: https://patentgrep.com/patent/US10958988B2

## CPC

- H04N 21/845: Structuring of content, e.g. decomposing content into time segments
- H04N 19/107: between spatial and temporal predictive coding, e.g. picture refresh
- H04N 19/142: Detection of scene cut or scene change
- H04N 19/172: the region being a picture, frame or field
- H04N 21/23424: {involving splicing one content stream with another content stream, e.g. for inserting or substituting an advertisement}
- H04N 21/23439: {for generating different versions}
- H04N 21/8455: {involving pointers to the content, e.g. pointers to the I-frames of the video stream}
- H04N 21/85406: {involving a specific file format, e.g. MP4 format}
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

The techniques described herein relate to methods, apparatus, and computer readable media configured to process asset change point locations. A processor or encoder is configured to operate according to a set of constraints that constrain the encoding process for asset changes, wherein the set of constraints configures a set of allowable asset change point locations from a set of possible asset change point locations, wherein the set of allowable asset change point locations is a subset of the set of possible asset change point locations, and configures a set of allowable data access types from a set of possible data access types, wherein the set of allowable data access types is a subset of the set of possible data access types. Video data is encoded based on the set of constraints to generate encoded first video data, such that the encoded first video data comprises a set of asset change point locations and associated data access types in compliance with the set of constraints.

## Claims

### Claim 1

A method for encoding video data, comprising:
configuring an encoding module to operate according to a set of constraints that constrain the encoding process for asset changes, wherein the set of constraints:
configures a set of allowable asset change point locations from a set of possible asset change point locations, wherein the set of allowable asset change point locations is a subset of the set of possible asset change point locations; and
configures a set of allowable data access types from a set of possible data access types for each asset change point location in the set of allowable asset change point locations, wherein:
the set of allowable data access types comprises an allowable set of stream access point (SAP) types determined based on a change type provided in an associated Asset Change Request (ACR) message, wherein the change type comprises a replacement, an overlay, or an insertion; and
the set of constraints configures, for each change type, the allowable set of SAP types for each asset change point location in the set of allowable asset change point locations, wherein:
the allowable set of SAP types is a subset of a set of possible SAP types;
the allowable set of SAP types configured for each asset change point location is the same or not based on the change type; and
the allowable set of SAP types specify one or more starting points for access units in decoding order and in presentation order; and
encoding, by the encoding module, video data using Moving Picture Experts Group (MPEG) media transport (MMT) protocol (MMTP) packets based on the set of constraints to generate encoded first MMT video data, comprising, for an MMTP packet of the encoded first MMT video data:
setting one or more fields in a MMTP packet header of the MMTP packet to indicate an allowable asset change point from the set of allowable asset change points is present in an MMTP payload associated with the MMTP packet header,
such that the encoded first MMT video data comprises a set of asset change point locations and associated data access types in compliance with the set of constraints.

### Claim 2 (depends on 1)

The method of claim 1, wherein configuring the encoding module to operate according to the set of constraints that constrain the encoding process for asset changes comprises:
configuring the set of allowable asset change point locations to be asset change points at Media Processing Unit (MPU) boundaries; and
configuring the set of allowable data access types such that a first target MPU, a first designated MPU, or both, start with a SAP of a set of specified SAP types.

### Claim 3 (depends on 1)

The method of claim 1, wherein configuring the encoding module to operate according to the set of constraints that constrain the encoding process for asset changes comprises:
configuring the set of allowable asset change point locations to be asset change points at a start of a SAP; and
configuring the set of allowable data access types such that a first target SAP, a first designated SAP, or both, are of a set of specified SAP types.

### Claim 4 (depends on 1)

The method of claim 1, wherein setting one or more fields in the MMTP packet header comprises setting a random access point flag for the MMTP packet header of each packet associated with each asset change point location in a set of asset change point locations in the video data.

### Claim 5 (depends on 1)

The method of claim 1, wherein:
the set of possible asset change point locations comprises a Media Processing Unit (MPU) boundary and a start of a SAP; and
the set of possible data access types comprises a set of SAP types for each asset change point location in the set of allowable asset change point locations.

### Claim 6 (depends on 1)

The method of claim 1, wherein the set of constraints configures, (a) for each change type and (b) each change point location, the allowable set of SAP types for each asset change point location in the set of allowable asset change point locations.

### Claim 7 (depends on 2)

The method of claim 2, wherein the set of specified SAP types comprises:
a first type, in which all access units, in decoding order, can be correctly decoded, and an access unit in decoding order is also the first access unit in presentation order; and
a second type in which the first access unit in decoding order in the media stream does not correspond to a first access unit in presentation order.

### Claim 8 (depends on 2)

The method of claim 2, further comprising setting a flag to mark a first SAP of an MPU.

### Claim 9 (depends on 3)

The method of claim 3, wherein the set of specified SAP types comprises:
a first type, in which all access units, in decoding order, can be correctly decoded, and an access unit in decoding order is also the first access unit in presentation order; and
a second type in which the first access unit in decoding order in the media stream does not correspond to a first access unit in presentation order.

### Claim 10 (depends on 3)

The method of claim 3, further comprising setting a flag to mark each SAP in the MPU.

### Claim 11

A method for encoding video data, comprising:
encoding video data according to a set of constraints to generate encoded video data, wherein the set of constraints comprises:
a set of allowable asset change point locations from a set of possible asset change point locations, wherein the set of allowable asset change point locations is a subset of the set of possible asset change point locations; and
a set of allowable data access types from a set of possible data access types for each asset change point location in the set of allowable asset change point locations, wherein:
the set of allowable data access types comprises an allowable set of Stream Access Point (SAP) types determined based on a change type provided in an associated Asset Change Request (ACR) message, wherein the change type comprises a replacement, an overlay, or an insertion; and
the set of constraints configures, for each change type, the allowable set of SAP types for each asset change point location in the set of allowable asset change point locations, wherein:
the allowable set of SAP types is a subset of a set of possible SAP types;
the allowable set of SAP types configured for each asset change point location is the same or not based on the change type; and
the allowable set of SAP types specify one or more starting points for access units in decoding order and in presentation order;
determining a set of asset change point locations in the encoded video data; and
setting one or more fields at the Moving Picture Experts Group (MPEG) media transport protocol (MMTP) packet level to signal a set of asset change point locations, such that a receiving device can use the signaled information at the MMTP packet level to determine the set of asset change point locations to perform an asset change.

### Claim 12 (depends on 11)

The method of claim 11, wherein setting the one or more fields comprises setting a bit in a type field of an MMTP packet header of each packet associated with each asset change point location in the set of asset change point locations.

### Claim 13 (depends on 11)

The method of claim 11, wherein setting the one or more fields comprises setting a plurality of bits of an MMTP packet header of each packet associated with each asset change point location in the set of asset change point locations.

### Claim 14 (depends on 11)

The method of claim 11, wherein setting the one or more fields comprises setting a bit in an MMTP payload header of each packet associated with each asset change point location in the set of asset change point locations.

### Claim 15 (depends on 11)

The method of claim 11, wherein setting the one or more fields comprises signaling a value of a Media Processing Unit (MPU) fragment type.

### Claim 16 (depends on 11)

The method of claim 11, wherein:
the set of possible asset change point locations comprises a Media Processing Unit (MPU) boundary and a start of a SAP; and
the set of possible data access types comprises a set of SAP types for each asset change point location in the set of allowable asset change point locations.

### Claim 17

An apparatus for encoding video data, the apparatus comprising a processor in communication with memory, the processor being configured to execute instructions stored in the memory that cause the processor to:
configure the processor to operate according to a set of constraints that constrain the encoding process for asset changes, wherein the set of constraints:
configures a set of allowable asset change point locations from a set of possible asset change point locations, wherein the set of allowable asset change point locations is a subset of the set of possible asset change point locations; and
configures a set of allowable data access types from a set of possible data access types for each asset change point location in the set of allowable asset change point locations, wherein:
the set of allowable data access types comprises an allowable set of Stream Access Point (SAP) types determined based on a change type provided in an associated Asset Change Request (ACR) message, wherein the change type comprises a replacement, an overlay, or an insertion; and
the set of constraints configures, for each change type, the allowable set of SAP types for each asset change point location in the set of allowable asset change point locations, wherein:
the allowable set of SAP types is a subset of a set of possible SAP types;
the allowable set of SAP types configured for each asset change point location is the same or not based on the change type; and
the allowable set of SAP types specify one or more starting points for access units in decoding order and in presentation order; and
encode video data using Moving Picture Experts Group (MPEG) media transport (MMT) protocol (MMTP) packets based on the set of constraints to generate encoded first MMT video data, comprising, for an MMTP packet of the encoded first MMT video data:
setting one or more fields in a MMTP packet header of the MMTP packet to indicate an allowable asset change point from the set of allowable asset change points is present in an MMTP payload associated with the MMTP packet header,
such that the encoded first MMT video data comprises a set of asset change point locations and associated data access types in compliance with the set of constraints.

### Claim 18 (depends on 17)

The apparatus of claim 17, wherein configuring the processor to operate according to the set of constraints that constrain the encoding process for asset changes comprises:
configuring the set of allowable asset change point locations to be asset change points at Media Processing Unit (MPU) boundaries; and
configuring the set of allowable data access types such that a first target MPU, a first designated MPU, or both, start with a SAP of a set of specified SAP types.

### Claim 19 (depends on 17)

The apparatus of claim 17, wherein configuring the processor to operate according to the set of constraints that constrain the encoding process for asset changes comprises:
configuring the set of allowable asset change point locations to be asset change points at a start of a SAP; and
configuring the set of allowable data access types such that a first target SAP, a first designated SAP, or both, are of a set of specified access types.

### Claim 20 (depends on 17)

The apparatus of claim 17, wherein:
the set of possible asset change point locations comprises a Media Processing Unit (MPU) boundary and a start of a SAP; and
the set of possible data access types comprises a set of SAP types for each asset change point location in the set of allowable asset change point locations.

### Claim 21

An apparatus for performing an asset change for video data, the apparatus comprising a processor in communication with memory, the processor being configured to execute instructions stored in the memory that cause the processor to:
receive encoded video data encoded according to a set of constraints comprising:
a set of allowable asset change point locations from a set of possible asset change point locations, wherein the set of allowable asset change point locations is a subset of the set of possible asset change point locations; and
a set of allowable data access types from a set of possible data access types for each asset change point location in the set of allowable asset change point locations, wherein:
the set of allowable data access types comprises an allowable set of Stream Access Point (SAP) types determined based on a change type provided in an associated Asset Change Request (ACR) message, wherein the change type comprises a replacement, an overlay, or an insertion; and
the set of constraints configures, for each change type, the allowable set of SAP types for each asset change point location in the set of allowable asset change point locations, wherein:
the allowable set of SAP types is a subset of a set of possible SAP types;
the allowable set of SAP types configured for each asset change point location is the same or not based on the change type; and
the allowable set of SAP types specify one or more starting points for access units in decoding order and in presentation order;
determine, based on one or more fields at the Moving Picture Experts Group (MPEG) media transport protocol (MMTP) packet level, a set of asset change point locations; and
perform, using one or more asset change point locations from the set of asset change point locations, an asset change operation.

### Claim 22 (depends on 21)

The apparatus of claim 21, wherein:
the set of possible asset change point locations comprises a Media Processing Unit (MPU) boundary and a start of a SAP; and
the set of possible data access types comprises a set of SAP types for each asset change point location in the set of allowable asset change point locations.
