# US 2024/0205429 A1 · Media file processing method, and device therefor

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

- Number: US 2024/0205429 A1
- Document ID: US20240205429A1
- Status: Published application
- Kind: A1
- Application number: 18/287,579
- Filed: 2022-04-14
- Published: 2024-06-20
- Earliest claimed: 2021-04-19
- Assignees: LG Electronics Inc.
- Applicants: LG Electronics Inc.
- Inventors: Hendry HENDRY
- Web page: https://patentgrep.com/patent/US20240205429A1

## CPC

- H04N 19/188: {the unit being a video data packet, e.g. a network abstraction layer [NAL] unit}
- H04N 21/85406: {involving a specific file format, e.g. MP4 format}
- H04N 21/845: Structuring of content, e.g. decomposing content into time segments
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

According to one embodiment of the present document, a method by which a media file processing device processes a media file is provided. The method comprises the steps of: restoring a sequence of access units for a first OLS; determining whether a first condition and a second condition are true; and inserting, on the basis that the first condition and the second condition are true, as many EOS NAL units as the number of layers applied to the first OLS, wherein the first condition is about whether an OLS differing from the first OLS is selected after the sequence of the access units, and the second condition is about whether the sequence of the access units does not end with an EOS NAL unit or does not end with an EOB NAL unit in each layer of the first OLS.

## Claims

### Claim 1

A method for processing a media file, the method comprising:
reconstructing a sequence of access units for a first Output Layer Set (OLS);
determining whether a first condition and a second condition are true; and
based on the first condition and the second condition being true, inserting End Of Sequence (EOS) Network Abstraction Layer (NAL) units as many as a number of layers applied to the first OLS,
wherein the first condition is whether an OLS different from the first OLS is selected following the sequence of the access units, and
wherein the second condition is whether the sequence of the access units does not end with an EOS NAL unit or an End Of Bitstream (EOB) NAL unit in each layer of the first OLS.

### Claim 2 (depends on 1)

The method of claim 1, wherein the inserted EOS NAL units are arranged at an end of an access unit of the sequence in ascending order of layer IDs of the EOS NAL units.

### Claim 3 (depends on 1)

The method of claim 1, wherein the inserted EOS NAL units are not placed in a corresponding layer.

### Claim 4 (depends on 1)

The method of claim 1, wherein, if no OLS other than the first OLS is selected following the sequence of the reconstructed access units and only a target operating point is changed, the EOS NAL units are not inserted.

### Claim 5 (depends on 1)

The method of claim 1, wherein, if no OLS other than the first OLS is selected following the sequence of the reconstructed access units and only a max temporal ID is changed, the EOS NAL units are not inserted.

### Claim 6 (depends on 1)

The method of claim 1, wherein a process of inserting the EOS NAL units is optional.

### Claim 7

A media file processing apparatus for performing a media file processing method, comprising:
a receiver which acquires a media file; and
a media file processer which reconstructs a sequence of access units for a first Output Layer Set (OLS) of the media file, determines whether a first condition and a second condition are true, and based on the first condition and the second condition being true, inserts End Of Sequence (EOS) Network Abstraction Layer (NAL) units as many as a number of layers applied to the first OLS,
wherein the first condition is whether an OLS different from the first OLS is selected following the sequence of the access units, and
wherein the second condition is whether the sequence of the access units does not end with an EOS NAL unit or an End Of Bitstream (EOB) NAL unit in each layer of the first OLS.

### Claim 8 (depends on 7)

The media file processing apparatus of claim 7, wherein the inserted EOS NAL units are arranged at an end of an access unit of the sequence in ascending order of layer IDs of the EOS NAL units.

### Claim 9 (depends on 7)

The media file processing apparatus of claim 7, wherein the inserted EOS NAL units are not placed in a corresponding layer.

### Claim 10 (depends on 7)

The media file processing apparatus of claim 7, wherein, if no OLS other than the first OLS is selected following the sequence of the reconstructed access units and only a target operating point is changed, the EOS NAL units are not inserted.

### Claim 11 (depends on 7)

The media file processing apparatus of claim 7, wherein, if no OLS other than the first OLS is selected following the sequence of the reconstructed access units and only a max temporal ID is changed, the EOS NAL units are not inserted.

### Claim 12 (depends on 7)

The media file processing apparatus of claim 7, wherein a process of inserting the EOS NAL units is optional.

### Claim 13

A method for generating a media file, the method comprising:
generating a sequence of access units for a first Output Layer Set (OLS);
determining whether a first condition and a second condition are true;
based on the first condition and the second condition being true, inserting End Of Sequence (EOS) Network Abstraction Layer (NAL) units as many as a number of layers applied to the first OLS; and
generating the media file including the first OLS,
wherein the first condition is whether an OLS different from the first OLS is selected following the sequence of the access units, and
wherein the second condition is whether the sequence of the access units does not end with an EOS NAL unit or an End Of Bitstream (EOB) NAL unit in each layer of the first OLS.

### Claim 14 (depends on 13)

The method of claim 13, wherein the inserted EOS NAL units are arranged at an end of an access unit of the sequence in ascending order of layer IDs of the EOS NAL units.

### Claim 15 (depends on 13)

The method of claim 13, wherein the inserted EOS NAL units are not placed in a corresponding layer.
