[mythtv-commits] Ticket #11018: Distortion of Recordings/LiveTV if EIT-Scan is processing on another capturecard

MythTV noreply at mythtv.org
Sat Aug 18 20:51:49 UTC 2012


#11018: Distortion of Recordings/LiveTV if EIT-Scan is processing on another
capturecard
------------------------+----------------------------------
 Reporter:  Shinck@…    |           Type:  Patch - Bug Fix
   Status:  new         |       Priority:  minor
Milestone:  unknown     |      Component:  MythTV - General
  Version:  0.25-fixes  |       Severity:  medium
 Keywords:  EIT         |  Ticket locked:  0
------------------------+----------------------------------
 After upgrading from MythTV 0.21 / Mythbuntu 08.10 to MythTV 0.24 /
 Mythbuntu 10.04 I detected distortions and artefacts in video/audio in
 recordings/LiveTV of my BT878/BTTV based DVB-S capturecard. After further
 investigations I saw that this was caused by an active EIT-Scan on my
 other DIBcom-3000mc based DVB-T card.
 If both two cards are active I saw lots of this lines in backend-log:
 {{{
   E DVBRead mpeg/pespacket.cpp:79 (AddTSPacket) AddTSPacket: Out of
 sync!!! Need to wait for next payloadStart PID: 0x12, continuity counter:
 6 (expected 5).
 }}}
 So I decided to switch of EIT-Scanning of the DVB-T card and the
 distortions were gone (But as DVB-T and DVB-S in my setup don't based on
 the same Video-Source I lost EPG-Information of DVB-T and had to record or
 look LiveTV on the DVB-T channels to update the information).
 I don't know If this was caused by mythtv or the LinuxTV-v4l/DVB driver
 framework but I hoped that updating to 0.25 makes things better.
 As the problem wasn't gone with 0.25 I decided to write a patch that
 switches of the EIT-Scanning at all capture-cards if a program records or
 I look liveTV.
 After the last record finishes the timer eitCrawlIdleStart is set again on
 all cards.
 With this attempt I also resolve another problem: I've setup my system to
 shutdown(hibernate) if it's idle and ACPI-wakeup before new recordings,
 but it never shutdown after a recording because a EIT-Scan on another card
 than the recording-card was running after the recording.

 So now I provide the patch. Perhaps it could be helpful for some other
 people.

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/11018>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list