| CPC H04N 19/184 (2014.11) [H04N 19/46 (2014.11); H04N 19/70 (2014.11)] | 16 Claims |

|
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.
|