View Single Post
Old 2007-08-25, 22:02   #146 (permalink)
Seidelin
Portal Tester
 
Join Date: Aug 2006
Location: Denmark
Age: 33
Posts: 334
Thanks: 13
Thanked 16 Times in 14 Posts

Country:

My System

Default

Quote:
Originally Posted by tourettes View Post
Seidelin, here's a modified TsWriter.ax that should be able to dedect the PCR "holes" when tve3 is timeshifting (but not when recording).

It should write a log entry for every hole it encounters. If you get lot of log lines, then I must change the diff check a little bit higher (as different broadcasters are using different PCR density).

It would be nice if you could run MP client in timeshifting mode and when the subtitles hang / disappear check the log if there is a hole in PCR values.

CPcr diff = pcrNew - m_prevPcr;
if( diff.PcrReferenceBase > 5000 ) LogDebug( "PCR hole detected! prev %s new %s diff %s" , m_prevPcr.ToString(), pcrNew.ToString(), diff.ToString() );

http://day2.no-ip.org/TsWriter.ax
I can't get any PCR "holes" but will continue trying. On the other hand I found a new bug. When the timeshift files are being recycled (standard situation is 6*250 MB) subtitles freezes on screen and new subtitles are "too old".

To easily reproduce this bug, set size of timeshifting files to something ridiculously small like 25 MB. dvbsub.log attached.
Attached Files
File Type: zip DVBsub.zip (34.9 KB, 13 views)

Last edited by Seidelin; 2007-08-25 at 22:04.
Seidelin is online now   Reply With Quote