PCR

Just have a drink and chat
ArnoD

PCR

Postby ArnoD » 06 Mar 2006 12:10

Hi,

I have to find informations about MPEG-TS.

but I have problem to understand the useful of the PCR in the MPEG-TS.

How the the PC create the clock to decode MPEG?

thanks for your help

[kultigin]

Re PCR

Postby [kultigin] » 15 Apr 2006 04:22

When PC or set top boxes decode mpeg they have a 27MHz local timer called STC. The video and audio has PTS values, which indicates the time (based on STC) to present the data (display the decoded video or output decoded audio).

If you are playing DVD or any other local mpeg file, it is easy, you can always read more data as you need it. But if you are receiving mpeg-ts from live broadcast, you need to buffer the data carefully in order to avoid interruption of presentation or running out of memory. PCR becomes handy at this stage, it is inserted to the mpeg-ts during broadcast based on broadcast equipments 27MHz clock. In order to buffer the data properly, you should try to match the local STC to incoming PCR referance. This way you will not start presentation early (can run out of data) or late (you will consume more than required memory for buffering).

Also if you have a way to adjust your clock, you can adjust it to match the broadcast. If your clock is slow, then your buffers will overflow in time. If your clock is fast, then your buffers will underrun in time.

Avelina
Blank Cone
Blank Cone
Posts: 10
Joined: 16 Mar 2006 15:19

Postby Avelina » 16 Jun 2006 11:42

Is posstible to manually set the PCR's in a transporstream?


Return to “Coffee Corner”

Who is online

Users browsing this forum: No registered users and 11 guests