Data processing method, apparatus, and device for point cloud media, and medium
View Patent ↗In a data processing method for a point cloud media, a media file of the point cloud media is obtained. The media file includes stream data of a plurality of point cloud frames and decoding indication information of each of the plurality of point cloud frames. The decoding indication information of each of the plurality of point cloud frames includes at least two attribute headers. Each of the at least two attribute headers includes attribute identifier information. The point cloud media is processed based on the stream data and the decoding indication information.
1 . A data processing method for point cloud media, the method comprising:
obtaining a media file of the point cloud media, the media file including stream data of a plurality of point cloud frames and decoding indication information of each of the plurality of point cloud frames, the decoding indication information of each of the plurality of point cloud frames including at least two attribute headers, and each of the at least two attribute headers including attribute identifier information; and
processing the point cloud media based on the stream data and the decoding indication information;
wherein each attribute header includes attribute slice data type information indicating a type of attribute data indicated by the attribute identifier information;
wherein when a value of the attribute slice data type information is a first value, the attribute slice data type information indicates that the attribute data indicated by the attribute identifier information includes attribute data of a color type;
when the value of the attribute slice data type information is a second value, the attribute slice data type information indicates that the attribute data indicated by the attribute identifier information includes attribute data of a reflectivity type; and
when the value of the attribute slice data type information is a third value, the attribute slice data type information indicates that the attribute data indicated by the attribute identifier information includes the attribute data of the color type and the attribute data of the reflectivity type and that switching among attribute data of different types during attribute prediction is allowed.
2 . The method according to claim 1 , wherein the attribute identifier information indicates one of a plurality of attribute data types.
3 . The method according to claim 1 , wherein the decoding indication information of each of the plurality of point cloud frames includes point cloud slice data, each of the point cloud slice data corresponding to a point cloud attribute slice, the point cloud slice data including an attribute slice header, and the attribute slice header including the attribute identifier information.
4 . The method according to claim 3 , wherein each attribute header corresponds to one or more point cloud attribute slices, and a value of the attribute identifier information in each attribute header matches a value of the attribute identifier information in the point cloud attribute slice corresponding to the attribute header.
5 . The method according to claim 1 , wherein the stream data of the plurality of point cloud frames includes an attribute data bitstream, and the attribute data bitstream includes the attribute identifier information.
6 . The method according to claim 5 , wherein a value of the attribute identifier information in each attribute header matches a value of the attribute identifier information in the attribute data bitstream.
7 . The method according to claim 1 , wherein
the stream data of each of the plurality of point cloud frames includes one or more types of attribute data;
each of the one or more types of attribute data including one or more groups of data instances; and
values of the attribute identifier information corresponding to different groups of data instances are different.
8 . The method according to claim 1 , wherein the media file includes a sequence header, the sequence header indicating a number of groups of data instances of attribute data included in the stream data, the attribute identifier information corresponding to each of the groups of data instances, and attribute slice data type information corresponding to each of the groups of data instances.
9 . The method according to claim 1 , further comprising:
obtaining transmission signaling information of the point cloud media, wherein the transmission signaling information includes description information of the point cloud media;
determining, based on the description information of the point cloud media, the media file required to process the point cloud media; and
obtaining the determined media file of the point cloud media.
10 . A data processing method for a point cloud media, the method comprising:
receiving a point cloud frame of the point cloud media;
encoding the point cloud frame to obtain stream data of the point cloud frame;
generating decoding indication information of the point cloud frame based on the stream data, the decoding indication information of the point cloud frame including at least two attribute headers, and each attribute header including attribute identifier information; and
encapsulating the stream data and the decoding indication information in a media file of the point cloud media; wherein
the generating the decoding indication information comprises:
generating a sequence header based on the stream data, the sequence header indicating a number of groups of data instances of attribute data included in the stream data, the attribute identifier information corresponding to each of the groups of data instances, and an attribute slice data type information corresponding to each of the groups of data instances, and
generating the decoding indication information of the point cloud frame based on the sequence header; and
the decoding indication information of the point cloud frame includes point cloud slice data, each of the point cloud slice data corresponding to a point cloud attribute slice, and the point cloud attribute slice data including the attribute identifier information.
11 . The method according to claim 10 , wherein the attribute identifier information indicates one of a plurality of attribute data types.
12 . The method according to claim 10 , wherein the encapsulating comprises:
encapsulating the sequence header, the stream data, and the decoding indication information in the media file of the point cloud media.
13 . The method according to claim 10 , further comprising:
dividing the media file into a plurality of media segments; and
generating transmission signaling information of the media file based on the plurality of media segments.
14 . A data processing apparatus for a point cloud media, comprising:
processing circuitry configured to:
receive a point cloud frame of the point cloud media;
encode the point cloud frame to obtain stream data of the point cloud frame;
generate decoding indication information of the point cloud frame based on the stream data, the decoding indication information of the point cloud frame including at least two attribute headers, and each attribute header including attribute identifier information; and
encapsulate the stream data and the decoding indication information in a media file of the point cloud media;
wherein the generation of the decoding indication information comprises:
generating a sequence header based on the stream data, the sequence header indicating a number of groups of data instances of attribute data included in the stream data, the attribute identifier information corresponding to each of the groups of data instances, and an attribute slice data type information corresponding to each of the groups of data instances, and
generating the decoding indication information of the point cloud frame based on the sequence header; and
the decoding indication information of the point cloud frame includes point cloud slice data, each of the point cloud slice data corresponding to a point cloud attribute slice, and the point cloud attribute slice data including the attribute identifier information.
15 . The data processing apparatus according to claim 14 , wherein the attribute identifier information indicates one of a plurality of attribute data types.
16 . The data processing apparatus according to claim 14 , wherein the encapsulating comprises:
encapsulating the sequence header, the stream data, and the decoding indication information in the media file of the point cloud media.
17 . The data processing apparatus according to claim 14 , wherein the processing circuitry is further configured to:
divide the media file into a plurality of media segments; and
generate transmission signaling information of the media file based on the plurality of media segments.