<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><blockquote type="cite"><div dir="ltr"><div><font face="tahoma,sans-serif">Here is a ts file which I recorded directly from a dvb-t card.</font></div><div><font face="tahoma,sans-serif"><a href="http://dl.dropbox.com/u/7920298/ts.tar.gz">http://dl.dropbox.com/u/7920298/ts.tar.gz</a></font></div>

<div><font face="tahoma,sans-serif">The file's duration is 5 s, but when I index it and get its duration, it returns 11630 s.</font></div><div><font face="tahoma,sans-serif">Could you detect the problem with this ts?</font></div></div></blockquote></div><br><div><div>The problem is that this file's PCR timestamps are all messed up.</div><div><br></div><div>Very early in the file, the PCR timestamp suddenly decreases by about 10831 seconds.  Our indexing software handles this OK, by pretending that the decrease didn't happen.</div><div><br></div><div>About 5.6 seconds later, however, the PCR timestamp suddenly jumps - by about 11619 seconds.  Our indexing software believes this (it has no reason not to), which is why it ends up thinking that the whole file is 11630 seconds long.</div><div><br></div><div>In summary: Your encoder is broken; you should fix it.</div></div><br><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/">http://www.live555.com/</a></span></span>
</div>
<br></body></html>