728x90 MPEG-22 How to calculate MPEG-2 PCR value 출처: http://blog.jongov.com/?p=3How to calculate MPEG-2 PCR value Lets say that we have to calculate PCR for time 10:01:47.66. 10 hours + 1 minute + 47.66 seconds equals 36107.66 seconds. In MPEG-2 specification it is said: PCR_base(i) =((system_clock_ frequency * t(i)) DIV 300) % pow(2, 33) PCR_ext(i) =((system_clock_ frequency * t(i)) DIV 1) % 300, where PCR_base is 33 bits and PCR_ext is 9 bit.. 2009. 1. 30. How to extract DTS/PTS values out of MPEG-2 PES header 출처 : http://blog.jongov.com/?p=2 How to extract DTS/PTS values out of MPEG-2 PES header Lets say that we have the following sequence of bytes that represents the start of one PES packet: 0×00 0×00 0×01 0xE0 0×00 0×00 0×84 0xC0 0×0A 0×31 0×00 0×05 0xBF 0×21 … The description of these bytes is as follows: 0×00 0×00 0×01 [0000 0000 0000 0000 0000 0001]packet_start_code_prefix (24 bits) = 1 0xE0 [11.. 2009. 1. 30. 이전 1 다음 728x90