[Live-devel] the value of DeltaTfiDivisor when close frame_field_info_present_flag in H265
charles.yu
charles.yu at sigmastar.com.cn
Mon Aug 12 02:10:45 PDT 2019
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20190812/88b71591/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 20979 bytes
Desc: not available
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20190812/88b71591/attachment-0001.png>
More information about the live-devel
mailing list