Hi LIVE555 Streaming Media
We just met a problem about calculating fps when open timing_info_present_flag in H265 case In our case, we set timing_info_present_flag to 1 and fill vui_num_units_in_tick and vui_time_scale, in order to help LIVE555 to calculate frame per second. But we set frame_field_info_present_flag to zero, so according to the SPEC of H265, the number of DeltaToDivisor should be one(shown in the following picture) In our code now, the DeltaToDivisor is set to two by default in the constructed function of class H264or5VideoStreamParser, and it will be updated in the function analyze_sei_payload if set frame_field_info_present_flag to one. So if we close the frame_field_info_present_flag flag, the number of DeltaToDivisor will not be changed. When calculate the fps, the equation is time_scale/(DeltaTfiDivisor*num_units_in_tick), we get a wrong fps number because DeltaToDivisor is two not one. The wrong value is exactly half of the expected value. About this problem, do you have any official patch to solve it? Thanks
_______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel