Maximum value of PCR

你。 提交于 2019-12-30 06:49:41

问题


What is the maximum value of Program Clock Reference(PCR) in MPEG?

I understand that it is derived from a 27MHz clock,periodically loaded into a 42bit register.

PCR(i)=PCR_Base(i) * 300 + PCR_Ext(i)

where, PCR_Base is loaded into a 33 bits register PCR_Ext is loaded into a 9 bit register.

So, maximum value of PCR w.r.t 27MHz clock is:

PCR = (2^33 - 1)*300 + (2^9 - 1) = 2,576,980,374,811.

=> (2,576,980,374,811/27,000,000) = 95443.7s = 1590.7 min = 26.5 hours

The register overflow happens after 26.5 hours of continuous streaming. Is this understanding correct?


回答1:


PCR_ext(i) value should be 0 .. 299.

So the maximum PCR = (2^33-1)*300+299 = 2,576,980,377,599



来源:https://stackoverflow.com/questions/34646208/maximum-value-of-pcr

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!