Few "Continuity error..." after EPG scan (1 Viewer)

Andy_2639

Portal Member
February 25, 2017
20
2
Stuttgart
Home Country
Germany Germany
Country flag
I get a few "Continuity error..." after the EPG scan finished:
Code:
[2021-01-30 18:56:10,278] [4c45530] [18c8] - mhw reset
[2021-01-30 18:56:10,283] [4c45530] [18c8] - Recorder:Pid 17de Continuity error... 3 ( prev 7 ) - bad signal?
[2021-01-30 18:56:10,283] [4c45530] [18c8] - Recorder:Pid 17ea Continuity error... a ( prev 3 ) - bad signal?
[2021-01-30 18:56:10,288] [4c45530] [18c8] - Recorder:Pid 17e8 Continuity error... 5 ( prev d ) - bad signal?
[2021-01-30 18:56:10,288] [4c45530] [18c8] - Recorder:Pid 17f2 Continuity error... 4 ( prev a ) - bad signal?
[2021-01-30 18:56:40,738] [4c45530] [2b58] - epg: reset
[2021-01-30 18:56:40,738] [4c45530] [2b58] - epg:ResetEPG()
[2021-01-30 18:56:40,738] [4c45530] [2b58] - mhw reset
[2021-01-30 18:55:00,089] [4c45530] [1bd8] - debug: AddChannel()
[2021-01-30 18:55:00,089] [4c45530] [1bd8] - analyzer: reset
[2021-01-30 18:55:00,089] [4c45530] [1bd8] - PatParser::Reset
[2021-01-30 18:55:00,089] [4c45530] [1bd8] - NIT:Reset
[2021-01-30 18:55:00,089] [4c45530] [1bd8] - PatParser::Reset done
[2021-01-30 18:55:00,089] [4c45530] [1bd8] - cagrabber: reset
[2021-01-30 18:55:00,089] [4c45530] [1bd8] - debug: done AddChannel()
[2021-01-30 18:55:00,230] [4c45530] [1bd8] - epg: reset
[2021-01-30 18:55:00,230] [4c45530] [1bd8] - epg:ResetEPG()
[2021-01-30 18:55:00,230] [4c45530] [1bd8] - mhw reset
[2021-01-30 18:55:00,230] [4c45530] [1bd8] - CMpTsFilter::pause()
[2021-01-30 18:55:00,230] [4c45530] [1bd8] - Pause filter...
[2021-01-30 18:55:00,230] [4c45530] [1bd8] - HRESULT = 0x0
[2021-01-30 18:55:00,230] [4c45530] [1bd8] - CMpTsFilter::Run()
[2021-01-30 18:55:00,230] [4c45530] [1bd8] - Run filter...
[2021-01-30 18:55:00,230] [4c45530] [1bd8] - HRESULT = 0x0
[2021-01-30 18:55:00,964] [4c45530] [1bd8] - pmtgrabber: set callback:5f1fed8
[2021-01-30 18:55:00,964] [4c45530] [1bd8] - pmtgrabber: grab pmt:17d4 sid:2b66
[2021-01-30 18:55:01,121] [4c45530] [18c8] - pmtgrabber: got pmt 17d4 sid:2b66
[2021-01-30 18:55:01,121] [4c45530] [18c8] - pmtgrabber: PMT pids changed from:
[2021-01-30 18:55:01,121] [4c45530] [18c8] - pcr pid: 0
[2021-01-30 18:55:01,121] [4c45530] [18c8] - pmt pid: 0
[2021-01-30 18:55:01,121] [4c45530] [18c8] - pmtgrabber: PMT pids changed to:
[2021-01-30 18:55:01,121] [4c45530] [18c8] - pcr pid: 17de
[2021-01-30 18:55:01,121] [4c45530] [18c8] - pmt pid: 17d4
[2021-01-30 18:55:01,121] [4c45530] [18c8] - video pid: 17de type: H264
[2021-01-30 18:55:01,121] [4c45530] [18c8] - audio pid: 17e8 language: deu type: MPEG1 - audio
[2021-01-30 18:55:01,121] [4c45530] [18c8] - audio pid: 17e9 language: mis type: MPEG1 - audio
[2021-01-30 18:55:01,121] [4c45530] [18c8] - audio pid: 17ea language: deu type: AC3
[2021-01-30 18:55:01,121] [4c45530] [18c8] - audio pid: 17eb language: mul type: MPEG1 - audio
[2021-01-30 18:55:01,121] [4c45530] [18c8] - Subtitle pid: 17f3 language: deu type: DVB subtitle 2
[2021-01-30 18:55:01,121] [4c45530] [18c8] - pmtgrabber: got new pmt version:0 ffffffff, service_id:2b66
[2021-01-30 18:55:01,121] [4c45530] [18c8] - pmtgrabber: do callback pid 17d4
[2021-01-30 18:55:01,121] [4c45530] [1bd8] - analyzer: set video pid:17de
[2021-01-30 18:55:01,121] [4c45530] [1bd8] - analyzer: reset
[2021-01-30 18:55:01,121] [4c45530] [1bd8] - analyzer: set audio pid:17e8
[2021-01-30 18:55:01,121] [4c45530] [1bd8] - analyzer: reset
[2021-01-30 18:55:01,121] [4c45530] [1bd8] - analyzer: set audio pid:17ea
[2021-01-30 18:55:01,121] [4c45530] [1bd8] - analyzer: reset
[2021-01-30 18:55:01,136] [4c45530] [1bd8] - Recorder: RECORD set filename:C:\Users\Public\Recorded TV\heute (2021-01-30 19_00).ts
[2021-01-30 18:55:01,136] [4c45530] [1bd8] - Recorder: RECORD Received from TvService: pmt pid:0x17d4 serviceId: 0x2b66 pmtlength:146
[2021-01-30 18:55:01,136] [4c45530] [1bd8] - Recorder: RECORD Old pids cleared
[2021-01-30 18:55:01,136] [4c45530] [1bd8] - Recorder: RECORD got pmt - tableid: 0x2 section_length: 143 sid: 0x2b66
[2021-01-30 18:55:01,136] [4c45530] [1bd8] - Recorder: RECORD PMT parsed - Pid 0x17d4 ServiceId 0x2b66 stream count: 9
[2021-01-30 18:55:01,136] [4c45530] [1bd8] - Recorder: RECORD pcr pid:0x17de
[2021-01-30 18:55:01,136] [4c45530] [1bd8] - Recorder: RECORD SetPcrPid clear old PIDs
[2021-01-30 18:55:01,136] [4c45530] [1bd8] - Recorder: RECORD add video stream pid: 0x17de fake pid: 0x30 stream type: 0x1b logical type: 0x1b descriptor length: 3
[2021-01-30 18:55:01,136] [4c45530] [1bd8] - Recorder: RECORD add audio stream pid: 0x17e8 fake pid: 0x40 stream type: 0x3 logical type: 0x3 descriptor length: 9
[2021-01-30 18:55:01,136] [4c45530] [1bd8] - Recorder: RECORD add audio stream pid: 0x17e9 fake pid: 0x41 stream type: 0x3 logical type: 0x3 descriptor length: 16
[2021-01-30 18:55:01,136] [4c45530] [1bd8] - Recorder: RECORD add audio stream pid: 0x17ea fake pid: 0x42 stream type: 0x6 logical type: 0x81 descriptor length: 14
[2021-01-30 18:55:01,136] [4c45530] [1bd8] - Recorder: RECORD add audio stream pid: 0x17eb fake pid: 0x43 stream type: 0x3 logical type: 0x3 descriptor length: 9
[2021-01-30 18:55:01,136] [4c45530] [1bd8] - Recorder: RECORD add teletext stream pid: 0x17f2 fake pid: 0x7b stream type: 0x6 logical type: 0x56 descriptor length: 10
[2021-01-30 18:55:01,136] [4c45530] [1bd8] - Recorder: RECORD add subtitle stream pid: 0x17f3 fake pid: 0x50 stream type: 0x6 logical type: 0x6 descriptor length: 13
[2021-01-30 18:55:01,136] [4c45530] [1bd8] - Recorder: RECORD stream rejected - pid: 0x17f4 stream type: 0x6 logical type: 0xffffffff descriptor length: 3
[2021-01-30 18:55:01,136] [4c45530] [1bd8] - Recorder: RECORD stream rejected - pid: 0x181a stream type: 0x5 logical type: 0x5 descriptor length: 8
[2021-01-30 18:55:01,136] [4c45530] [1bd8] - Recorder: RECORD SetVideoAudioObserver observer ok
[2021-01-30 18:55:01,143] [4c45530] [1bd8] - Recorder: RECORD Start 'C:\Users\Public\Recorded TV\heute (2021-01-30 19_00).ts'
[2021-01-30 18:55:01,143] [4c45530] [7dc] - FileWriterThreaded: OpenFile() succeeded, filename: C:\Users\Public\Recorded TV\heute (2021-01-30 19_00).ts
[2021-01-30 18:55:01,148] [4c45530] [18c8] - Recorder: RECORD start of audio detected
[2021-01-30 18:55:01,148] [4c45530] [18c8] - Recorder: RECORD start of video detected
[2021-01-30 18:55:01,153] [4c45530] [1bd8] - epg: set callback
[2021-01-30 18:55:01,153] [4c45530] [1bd8] - EpgScanner::GrabEPG
[2021-01-30 18:55:01,153] [4c45530] [1bd8] - epg:GrabEPG
[2021-01-30 18:55:01,153] [4c45530] [1bd8] - epg:ResetEPG()
[2021-01-30 18:55:01,153] [4c45530] [1bd8] - epg:GrabEPG()
[2021-01-30 18:55:01,153] [4c45530] [1bd8] - EpgScanner::GrabMHW
[2021-01-30 18:55:01,153] [4c45530] [1bd8] - mhw grab
[2021-01-30 18:55:01,153] [4c45530] [1bd8] - mhw reset
[2021-01-30 18:55:01,153] [4c45530] [1bd8] - mhw grabber started decoders:2
[2021-01-30 18:55:01,168] [4c45530] [18c8] - Recorder: RECORD clear TS packet queue
[2021-01-30 18:55:01,168] [4c45530] [18c8] - CDiskRecorder::ResetThrottle() - Throttle to 3008 bytes
[2021-01-30 18:55:01,168] [4c45530] [18c8] - Recorder: RECORD Info : Next broadcaster program clock reference rollover : 0 days 04:37:50 0
[2021-01-30 18:55:01,168] [4c45530] [18c8] - CDiskRecorder::AdjustThrottle() - Throttle to 4512 bytes
[2021-01-30 18:55:01,168] [4c45530] [18c8] - Recorder: RECORD start of audio detected
[2021-01-30 18:55:01,168] [4c45530] [18c8] - CDiskRecorder::AdjustThrottle() - Throttle to 7520 bytes
[2021-01-30 18:55:01,168] [4c45530] [18c8] - CDiskRecorder::AdjustThrottle() - Throttle to 7520 bytes
[2021-01-30 18:55:01,168] [4c45530] [18c8] - CDiskRecorder::AdjustThrottle() - Throttle to 7520 bytes
[2021-01-30 18:55:01,183] [4c45530] [18c8] - CDiskRecorder::AdjustThrottle() - Throttle to 7520 bytes
[2021-01-30 18:55:01,188] [4c45530] [18c8] - CDiskRecorder::AdjustThrottle() - Throttle to 7520 bytes
[2021-01-30 18:55:01,188] [4c45530] [18c8] - CDiskRecorder::AdjustThrottle() - Throttle to 15040 bytes
[2021-01-30 18:55:01,188] [4c45530] [18c8] - CDiskRecorder::AdjustThrottle() - Throttle to 15040 bytes
[2021-01-30 18:55:01,203] [4c45530] [18c8] - CDiskRecorder::AdjustThrottle() - Throttle to 15040 bytes
[2021-01-30 18:55:01,203] [4c45530] [18c8] - CDiskRecorder::AdjustThrottle() - Throttle to 15040 bytes
[2021-01-30 18:55:01,223] [4c45530] [18c8] - CDiskRecorder::AdjustThrottle() - Throttle to 15040 bytes
[2021-01-30 18:55:01,223] [4c45530] [18c8] - Recorder: RECORD start of audio detected
[2021-01-30 18:55:01,223] [4c45530] [18c8] - CDiskRecorder::AdjustThrottle() - Throttle to 30080 bytes
[2021-01-30 18:55:01,223] [4c45530] [18c8] - Recorder: RECORD start of audio detected
[2021-01-30 18:55:01,223] [4c45530] [18c8] - CDiskRecorder::AdjustThrottle() - Throttle to 30080 bytes
[2021-01-30 18:55:01,238] [4c45530] [18c8] - CDiskRecorder::AdjustThrottle() - Throttle to 30080 bytes
[2021-01-30 18:55:01,258] [4c45530] [18c8] - CDiskRecorder::AdjustThrottle() - Throttle to 48128 bytes
[2021-01-30 18:55:01,278] [4c45530] [18c8] - CDiskRecorder::AdjustThrottle() - Throttle to 60160 bytes
[2021-01-30 18:55:01,293] [4c45530] [18c8] - CDiskRecorder::AdjustThrottle() - Throttle to 75200 bytes
[2021-01-30 18:55:01,333] [4c45530] [18c8] - CDiskRecorder::AdjustThrottle() - Throttle to 123328 bytes
[2021-01-30 18:55:01,368] [4c45530] [18c8] - CDiskRecorder::AdjustThrottle() - Throttle to 261696 bytes
[2021-01-30 18:56:10,013] [4c45530] [18c8] - mhw grabber ended
[2021-01-30 18:56:10,013] [4c45530] [18c8] - epg: epg received
[2021-01-30 18:56:10,013] [4c45530] [18c8] - epg: do callback
[2021-01-30 18:56:10,013] [4c45530] [18c8] - mhw grabber ended
[2021-01-30 18:56:10,013] [4c45530] [18c8] - CMhwParser:GetTitleCount:0
[2021-01-30 18:56:10,013] [4c45530] [18c8] - EpgScanner::GetMHWTitleCount:0
[2021-01-30 18:56:10,273] [4c45530] [18c8] - epg: reset
[2021-01-30 18:56:10,273] [4c45530] [18c8] - epg:ResetEPG()
[2021-01-30 18:56:10,278] [4c45530] [18c8] - mhw reset
[2021-01-30 18:56:10,283] [4c45530] [18c8] - Recorder:pid 17de Continuity error... 3 ( prev 7 ) - bad signal?
[2021-01-30 18:56:10,283] [4c45530] [18c8] - Recorder:pid 17ea Continuity error... a ( prev 3 ) - bad signal?
[2021-01-30 18:56:10,288] [4c45530] [18c8] - Recorder:pid 17e8 Continuity error... 5 ( prev d ) - bad signal?
[2021-01-30 18:56:10,288] [4c45530] [18c8] - Recorder:pid 17f2 Continuity error... 4 ( prev a ) - bad signal?
[2021-01-30 18:56:40,738] [4c45530] [2b58] - epg: reset
[2021-01-30 18:56:40,738] [4c45530] [2b58] - epg:ResetEPG()
[2021-01-30 18:56:40,738] [4c45530] [2b58] - mhw reset
[2021-01-30 19:20:00,003] [4c45530] [1bd8] - Recorder: RECORD Stop 'C:\Users\Public\Recorded TV\heute (2021-01-30 19_00).ts'
[2021-01-30 19:20:00,025] [4c45530] [1bd8] - FileWriterThreaded: Close(), filename: C:\Users\Public\Recorded TV\heute (2021-01-30 19_00).ts, MaxBuff: 3, totBuff: 11315, totWake: 6
[2021-01-30 19:20:00,025] [4c45530] [1bd8] - Recorder: RECORD Reset
[2021-01-30 19:20:00,025] [4c45530] [1bd8] - debug: DeleteChannel()
[2021-01-30 19:20:00,025] [4c45530] [1bd8] - del m_pVideoAnalyzer
[2021-01-30 19:20:00,025] [4c45530] [1bd8] - analyzer: reset
[2021-01-30 19:20:00,025] [4c45530] [1bd8] - del m_pPmtGrabber
[2021-01-30 19:20:00,025] [4c45530] [1bd8] - del m_pRecorder
[2021-01-30 19:20:00,025] [4c45530] [1bd8] - del m_pTimeShifting
[2021-01-30 19:20:00,041] [4c45530] [1bd8] - del m_pTeletextGrabber
[2021-01-30 19:20:00,041] [4c45530] [1bd8] - del m_pCaGrabber
[2021-01-30 19:20:00,041] [4c45530] [1bd8] - del done...
[2021-01-30 19:20:00,041] [4c45530] [1bd8] - CMpTsFilter::pause()
[2021-01-30 19:20:00,041] [4c45530] [1bd8] - Pause filter...
[2021-01-30 19:20:00,041] [4c45530] [1bd8] - HRESULT = 0x0
[2021-01-30 19:20:00,041] [4c45530] [1bd8] - CMpTsFilter::confused:top()
[2021-01-30 19:20:00,041] [4c45530] [1bd8] - Stop streaming...
[2021-01-30 19:20:00,041] [4c45530] [1bd8] - Stop filter...
[2021-01-30 19:20:00,041] [4c45530] [1bd8] - HRESULT = 0x0
System:
-------
Version: Microsoft Windows NT 10.0.19042.0
Type: 64bit
Up Time: 017.20:29:35

Devices:
--------
1-0:cineS2 v7 Advanced
Serial Nbr: **************
Version: 1.7
Temperature: 45°C


2021-01-30 18:55:00 DDTuner Device 240:10000: Acquire Tuner 2
2021-01-30 18:55:00 DDTuner Device 240:10000: Start Tuner 2
2021-01-30 18:55:00 DDTuner Device 240:10000: Tune success Tuner 2
Version = 6
Error = 00000000
Standard = DVB-S2
Frequency = 11,362,000
Multiplier = 1,000
SymbolRate = 21,999,181
L-Frequency = 1,612,000,000
Polarity = 1
LNBSource = 0FF
LockStatus = 6
Strength = 57.5 dBµV
S/N = 12.6 dB
Quality = 100%
Offset = 180,083

2021-01-30 19:20:00 DDCapture Device 240:10000: 673792 Bytes Dropped Tuner 2
2021-01-30 19:20:00 DDTuner Device 240:10000: Stop Tuner 2
2021-01-30 19:20:00 DDTuner Device 240:10000: Release Tuner 2

MediaPortal TVServer is configured to always do an EPG update when a channel is recorded/watched, with a timeout of 15 minutes.

I had a situation where I copied files from an external drive to my internal HDD which caused "Average response time" of the internal HDD up to 3500 ms (yes, 3 and a half second) with 100 ms to 300 ms normal. At that moment, the computer recorded TV without any outages/continuity errors. So I guess the errors after EPG scan do not come from a disk bottleneck.
(Of course without copying large amounts of data at maxmum data rate my internal drive can handle, the response times are much much lower.)

PC setup:
  • Mainboard: MSI Z97 Gaming 7 (MS-7916)
  • CPU: Intel(R) Core(TM) i7-4785T CPU @ 2.20GHz 2.20 GHz (GenuineIntel Intel64 Family 6 Model 60 Stepping 3 2.201 GHz) throttled to 800 MHz
  • RAM: 16 GB
  • HDD: 2x Western Digital Red 1 TB 5400 RPM in Raid 1 (Intel Rapid Storage Technology, extension ROM version: 13.1.0.2126, driver version: 17.7.0.1006)
  • TV card: Digital Devices CineS2 v7 Advanced (driver version 3.1.1.248)
  • Windows 10 Professional x64 20H2
Edit: MediaPortal 1.27
 
Last edited:

CyberSimian

Test Group
  • Team MediaPortal
  • June 10, 2013
    2,310
    1,403
    Southampton
    Home Country
    United Kingdom United Kingdom
    Country flag
    MediaPortal TVServer is configured to always do an EPG update when a channel is recorded/watched, with a timeout of 15 minutes.
    On my system in the UK, I find that it takes around 15 minutes to grab the entire EPG (varies from day to day), but then it takes another 15-20 minutes to update the SQL database containing the EPG data.

    I believe that "TV Server" stores the EPG data in RAM whilst the grab is happening, and once that phase is complete, TV Server performs the database updates.

    In my HTPC, the SQL database disk and the recording disk are separate disks, so there is never any contention for access to the disk (there is only contention for access to the PCI/PCI-Express bus, and I guess that that is so fast that it does not matter).

    Do you need to grab the EPG while watching or recording? An alternative would be to grab the EPG once per day at a fixed time when the system is idle. You can configure "PowerScheduler" to wake the system to grab the EPG at a time chosen by you.

    Grabbing the EPG only once per day means that you won't receive last-minute updates to the EPG (for example, when live sport overruns its scheduled time slot, causing subsequent programmes to be rescheduled). However, does that happen often enough to make it an annoyance?

    -- from CyberSimian in the UK
     

    Andy_2639

    Portal Member
    February 25, 2017
    20
    2
    Stuttgart
    Home Country
    Germany Germany
    Country flag
    Sorry for the late response.

    In my experience, the EPG grabbing of a single transponder takes 2 to 3 minutes. Afterwards it takes 1 to 2 minutes to write the data to disk. To speed up the EPG stuff (not only writing but also reading the EPG guide in MediaPortal), I changed the program table (and only that table) from InnoDB to MyISAM.
    My EPG settings:
    1613421472808.png

    Do you need to grab the EPG while watching or recording?
    [...]
    Grabbing the EPG only once per day means that you won't receive last-minute updates to the EPG [...] However, does that happen often enough to make it an annoyance?

    In the last time, the last minute updates saved a few recordings because the show started later. In fact, I barely notice the continuity errors because I record almost everything I watch and the errors occur nearly always in the 5 minutes pre-recording - which I skip when I watch the recording.

    The recordings are fine even when my disk is overloaded (3 seconds response time) so I don't think the continuity errors are caused by IO contention.
    My guess is that the thread responsible for reading the DVB stream from the tuner is blocked while processing the EPG data (maybe calculating the EPG updates ...). But I didn't look into the source code, so this is merely a guess.
     

    Users who are viewing this thread

    Similar threads

    Hi Again, i've made another test this evening (find logs attached). This time only one Tuner (which i haven't tested this morning) produced the error once, and managed to run without error afterwards. History for the logs (see also Screenshot for reference): Card 7: Tune Pro7 HD, waited for some time, no error Card 7: Tune Vox HD...
    Hi Again, i've made another test this evening (find logs attached). This time only one Tuner (which i haven't tested this morning)...
    Hi There, first: This is a new attempt to solve the problem which is also described here...
    Replies
    6
    Views
    1K
    Understood, I will remove this from the configuration and come back to you if I continue to have issues.
    Understood, I will remove this from the configuration and come back to you if I continue to have issues.
    I have an issue where live tv seems to freeze or pause for 20 seconds or so and then continue after catching its self up. its very...
    Replies
    2
    Views
    774
    Hmm fair enough but I'm not sure servers have special drivers, at least for home user equipment. I certainly am just using Windows 8 x64 drivers for everything. Anyway, I updated the tuner driver to 9.1.0.0, which officially support Windows 8/Server 2012 (8.1.1.2 didn't), and I've now been watching an encrypted HD channel for an hour...
    Hmm fair enough but I'm not sure servers have special drivers, at least for home user equipment. I certainly am just using Windows...
    folks, I see this in my logs a lot (the TSWriter.log file). Shows appear to get recorded, I can watch TV etc. There is a slight...
    Replies
    43
    Views
    10K
    This is very good point. I checked and they're all connected to the same controller! It didn't came to my mind since I plugged those very separate from each other- Thought they are routed differently then and didn't even check it. Trying to arrange those on different conrollers and do more testing. Thanks for your notice and time...
    This is very good point. I checked and they're all connected to the same controller! It didn't came to my mind since I plugged...
    Hi, Sometimes I get corrupted recordings with H7 receiver. Mostly it is working quite fine (only that missing CAM problem, but it...
    Replies
    7
    Views
    976
    The watchdog is not available on the server unless MP is installed. So, I expect you would run the watchdog on the client to get a zip of the client logs; then zip all the logs in the server log directory to get a second zip; finally, post/attach both zip files here.
    The watchdog is not available on the server unless MP is installed. So, I expect you would run the watchdog on the client to get a...
    Hello, i've got the problem, that after changing to another channel the new channel is running for roughly 2 seconds and then the...
    Replies
    6
    Views
    793
    Top Bottom