Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is setting the discontinuity_indicator at a splice sufficient to assure MPEG-compliance in regards to timestamps?

0
Posted

Is setting the discontinuity_indicator at a splice sufficient to assure MPEG-compliance in regards to timestamps?

0

No. PCRs are carried in only one PID of each program, called the PCR_PID (often it is the same PID that carries the video). MPEG requires that once a PCR discontinuity is declared in that PID stream, no other PID stream thereafter may carry a PTS or DTS that refers to the old PCR. Now consider that the video is sent perhaps 200 ms earlier in the transport stream than its corresponding audio. After splicing to the new video PID (and declaring a PCR discontinuity) there remains about 200 ms of old audio packets multiplexed with the new video. If any of these audio packets contains a PTS value that refers to the old PCR clock, it must either be restamped or removed. Otherwise the stream will not conform to MPEG requirements.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.