<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18975">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>
<DIV><FONT size=2 face=Arial>Hi,</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>I have created a modified version of
testMPEG2TransportStreamer which will play out a carousel of SPTS files to
a multicast address - and it works extremely well.... except..</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>The problem that I have encountered is that the
output stream contains PCR information from the input source source files, so
when one file closes and the next starts playout, PCR does a time-warp back to
zero. The net effect of this is attached set-top boxes attempt to adapt
however (and I'm guessing here) they pixellate a second or two after the
transition and I assume this is because they are playing out their buffer and
then briefly panic because something weird has happened to the PCR.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>So my bright idea was to rather than play out the
PCR from the source file, replace it with a PCR derived from gettimeofday.
I realise the PCR playout timing might be a little bumpy at transition from one
source file to another, however so long as the PCR isn't time warping, I think
the mux chain and STBs will cope.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>I see that timeNow is already stood up in
in MPEG2TransportStreamFramer.cpp - is there a quick and dirty way
to insert PCR based on this time, at time of playout, rather than pass
through the source PCR?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2 face=Arial>Thanks and regards,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2 face=Arial>Tim
Shackleton</FONT> </DIV></FONT></DIV></BODY></HTML>