Is pts & pcr limited in mpegts?

As I know PCR stored in 42 bits and PTS stored in 33 bits in the mpegts container

So,

 Max value for PCR is 2^42 = 4398046511104

 Max value for PTS is 2^33 = 8589934592

 PCR (sec) = 4398046511104 / 27 000 000 Hz = 162890,6 seconds (45 hours)

 PTS (sec) = 8589934592 / 90 000 Hz = 95443,7 seconds (26,5 hours)

      

So what should I do if the PTS or PCR reaches one of these maximum values?

This can happen in iptv for a continuous stream

+3


source to share


2 answers


Just let it overflow and keep writing low 33 bits. The dealer will know how to handle this.



+1


source


The maximum value for PCR is 2 ^ 42 = 4398046511104



This is not true. Please refer to: fooobar.com/questions/2187766 / ...

+1


source







All Articles