US 12,489,908 B2
Media file encapsulation method and apparatus, device and storage medium
Ying Hu, Shenzhen (CN)
Assigned to TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED, Shenzhen (CN)
Filed by TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED, Shenzhen (CN)
Filed on Apr. 16, 2024, as Appl. No. 18/636,394.
Application 18/636,394 is a continuation of application No. PCT/CN2022/118309, filed on Sep. 13, 2022.
Claims priority of application No. 202111241064.7 (CN), filed on Oct. 25, 2021.
Prior Publication US 2024/0259572 A1, Aug. 1, 2024
Int. Cl. H04N 19/184 (2014.01); H04N 19/46 (2014.01); H04N 19/70 (2014.01)
CPC H04N 19/184 (2014.11) [H04N 19/46 (2014.11); H04N 19/70 (2014.11)] 16 Claims
OG exemplary drawing
 
1. A media file de-encapsulation method, which is applied to a file de-encapsulation device, and comprises:
obtaining a video track, the video track comprising a track header and a video bit stream, and the track header comprising sequence header information corresponding to a non-duplicate sequence header in the video bit stream, wherein the sequence header information comprises a number of non-duplicate sequence headers or a number of duplicate sequence headers, the video track further comprises reference relation information when the number N of the non-duplicate sequence header is greater than 1, the reference relation information indicates a sample for reference to each sequence header and comprises an index range of the sample for reference to each sequence header;
de-encapsulating the video track to obtain the sequence header information and the video bit stream; and
decoding the video bit stream according to the sequence header information, to obtain a decoded video, comprising:
de-encapsulating the video track to obtain the reference relation information;
determining, for each of the N sequence headers, the sample for reference to the sequence header according to the index range of the sample for reference to the sequence header; and
decoding the sample for reference to the sequence header according to the sequence header information corresponding to the sequence header, to obtain the decoded video.