Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: UPT error - The solution (maybe)



Sergei Haller wrote:
> 
> On Fri, 6 Feb 2004, Klaus Schmidinger (KS) wrote:
> 
> KS> It would appear that the root of the problem is that VDR sets the PIDs
> KS> even if the tuner doesn't have a lock yet.
> KS>
> KS> The following patch is a quick hack to fix this: [...]
> 
> applied the patch. unfortunately, the error appeared again:
> 
> Feb  8 11:25:44 dvb vdr[507]: timer 11 (7 1125-1425 '@TITLE EPISODE') start
> Feb  8 11:25:44 dvb vdr[507]: Title: 'Zwei Himmelsstürmer heben ab' Subtitle: '(null)'
> Feb  8 11:25:44 dvb vdr[507]: record /var/vdr/videos/@Zwei_Himmelsstürmer_heben_ab__/2004-02-08.11:25.10.01.rec
> Feb  8 11:25:44 dvb vdr[507]: creating directory /var/vdr/videos/@Zwei_Himmelsstürmer_heben_ab__
> Feb  8 11:25:44 dvb vdr[507]: creating directory /var/vdr/videos/@Zwei_Himmelsstürmer_heben_ab__/2004-02-08.11:25.10.01.rec
> Feb  8 11:25:44 dvb vdr[507]: recording to '/var/vdr/videos/@Zwei_Himmelsstürmer_heben_ab__/2004-02-08.11:25.10.01.rec/001.vdr'
> Feb  8 11:25:44 dvb vdr[2496]: recording thread started (pid=2496)
> Feb  8 11:25:44 dvb vdr[2497]: receiver thread started on device 2 (pid=2497)
> Feb  8 11:25:46 dvb vdr[507]: replay /var/vdr/videos/@Zwei_Himmelsstürmer_heben_ab__/2004-02-08.11:25.10.01.rec
> Feb  8 11:25:46 dvb vdr[507]: playing '/var/vdr/videos/@Zwei_Himmelsstürmer_heben_ab__/2004-02-08.11:25.10.01.rec/001.vdr'
> Feb  8 11:25:46 dvb vdr[2507]: dvbplayer thread started (pid=2507)
> Feb  8 11:25:46 dvb vdr[2508]: non blocking file reader thread started (pid=2508)
> Feb  8 11:25:49 dvb vdr[507]: max. latency time 5 seconds

This line makes me believe that the tuning process didn't get a lock
within the timeout of 5 seconds. Maybe you should increase the wait
timeout - but then again, not getting a lock in such a long time
seems very unlikely...

You could also modify the patch so that it logs whether or not it has gotten
a lock within the timeout. If it doesn't get a lock, the UPT error can
happen.

Klaus

> Feb  8 11:25:53 dvb vdr[2508]: non blocking file reader thread ended (pid=2508)
> Feb  8 11:25:53 dvb vdr[2507]: dvbplayer thread ended (pid=2507)
> Feb  8 11:25:53 dvb vdr[507]: switching to channel 7
> Feb  8 11:26:01 dvb vdr[2496]: ERROR: unknown picture type '6'
> Feb  8 11:26:01 dvb vdr[2496]: initiating emergency exit
> 
> BTW,  I'm  using vdr-1.2.6. The only pathches are the fix from this thread
> and the patch initiating emergency exit on UTP.


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index