I'm trying to play an mp4 file which does not contain ctts box which contains the presentation time offset from the decoding time. I know that we use ctts offsets to decide the presentation order in case of b frames. In the mp4 ISO document, it is mentioned that ctts is not mandatory and it is only required when the decoding and presentation time are different.My mp4 file conatains b frames and ctts information is neccessary for me.
my question is given that the mp4 file does not contain ctts information, is there a way to decide the presentation order? like manually create the ctts offset from GOP size and key frame interval.