Sangwook
18th July 2016, 13:51
I'm trying to extract the frame (slice) information from the mp4 file that contains the h264 encoded media. Especially, I need the slice size, slice type, DTS, reference frame list.
Through the stss box and stsz box, I can extract the information about the size, type.
However, I cannot find any information about how to extract the reference frame list for the certain . Which field or box should I look into for extracting frame referencing information? (For example, in case of B frame, the B frame refers the other frames frame 3 and 4)
The main reason of extracting these information is that I am trying to construct the frame dependency map. (e,g Frame A which is 15235 bytes size needs Frame B, C for decoding, Frame B's size is 4222 bytes and need frame D ...etc)
Thanks.
Through the stss box and stsz box, I can extract the information about the size, type.
However, I cannot find any information about how to extract the reference frame list for the certain . Which field or box should I look into for extracting frame referencing information? (For example, in case of B frame, the B frame refers the other frames frame 3 and 4)
The main reason of extracting these information is that I am trying to construct the frame dependency map. (e,g Frame A which is 15235 bytes size needs Frame B, C for decoding, Frame B's size is 4222 bytes and need frame D ...etc)
Thanks.