Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Commits

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

 

 

MythTV commits RSS feed   Index | Next | Previous | View Threaded


noreply at mythtv

Aug 18, 2012, 1:51 PM

Post #1 of 8 (157 views)
Permalink
Ticket #11018: Distortion of Recordings/LiveTV if EIT-Scan is processing on another capturecard

#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
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Aug 18, 2012, 2:26 PM

Post #2 of 8 (150 views)
Permalink
Re: Ticket #11018: Distortion of Recordings/LiveTV if EIT-Scan is processing on another capturecard [In reply to]

#11018: Distortion of Recordings/LiveTV if EIT-Scan is processing on another
capturecard
------------------------------+----------------------------
Reporter: Shinck@… | Owner:
Type: Patch - Bug Fix | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: 0.25-fixes
Severity: medium | Resolution:
Keywords: EIT | Ticket locked: 0
------------------------------+----------------------------

Comment (by wagnerrp):

Are these all PCI devices? Is it possible you are simply putting too much
traffic on the bus, and starving your framegrabbers of bandwidth to their
frame buffers?

--
Ticket URL: <http://code.mythtv.org/trac/ticket/11018#comment:1>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Aug 18, 2012, 2:56 PM

Post #3 of 8 (152 views)
Permalink
Re: Ticket #11018: Distortion of Recordings/LiveTV if EIT-Scan is processing on another capturecard [In reply to]

#11018: Distortion of Recordings/LiveTV if EIT-Scan is processing on another
capturecard
------------------------------+----------------------------
Reporter: Shinck@… | Owner:
Type: Patch - Bug Fix | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: 0.25-fixes
Severity: medium | Resolution:
Keywords: EIT | Ticket locked: 0
------------------------------+----------------------------

Comment (by Shinck@…):

I don't think so. I've 3 capture-cards. And all stays on different busses.
One Bt878-Bttv based DVB-S card on the PCI-Bus, It is for SD-Content only
and worked flawlessly at Mythbuntu/Ubuntu 08.10 with one USB1.1-DVB-T card
(Dibcom-3000mc-based) with an hardware PID filter (table count: 16).
The third an newest one (but the problem was also before) is an
SAA716x_TBS/TBS6928fe based DVB-S2 card on the PCI-express-bus for the
DVB-S HD-Content.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/11018#comment:2>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Aug 18, 2012, 3:02 PM

Post #4 of 8 (150 views)
Permalink
Re: Ticket #11018: Distortion of Recordings/LiveTV if EIT-Scan is processing on another capturecard [In reply to]

#11018: Distortion of Recordings/LiveTV if EIT-Scan is processing on another
capturecard
------------------------------+----------------------------
Reporter: Shinck@… | Owner:
Type: Patch - Bug Fix | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: 0.25-fixes
Severity: medium | Resolution:
Keywords: EIT | Ticket locked: 0
------------------------------+----------------------------

Comment (by Shinck@…):

Annotation: None of my cards is an analog framegrabber, all cards are
digital DVB-cards.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/11018#comment:3>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Aug 18, 2012, 3:06 PM

Post #5 of 8 (150 views)
Permalink
Re: Ticket #11018: Distortion of Recordings/LiveTV if EIT-Scan is processing on another capturecard [In reply to]

#11018: Distortion of Recordings/LiveTV if EIT-Scan is processing on another
capturecard
------------------------------+----------------------------
Reporter: Shinck@… | Owner:
Type: Patch - Bug Fix | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: 0.25-fixes
Severity: medium | Resolution:
Keywords: EIT | Ticket locked: 0
------------------------------+----------------------------

Comment (by Shinck@…):

Annotation2: And the distortion and discontinuities of video/audio are on
the DVB-S card which resides on the PCI bus not the USB1.1 device (it has
no problems).

--
Ticket URL: <http://code.mythtv.org/trac/ticket/11018#comment:4>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Aug 26, 2012, 6:44 AM

Post #6 of 8 (129 views)
Permalink
Re: Ticket #11018: Distortion of Recordings/LiveTV if EIT-Scan is processing on another capturecard [In reply to]

#11018: Distortion of Recordings/LiveTV if EIT-Scan is processing on another
capturecard
------------------------------+----------------------------
Reporter: Shinck@… | Owner:
Type: Patch - Bug Fix | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: 0.25-fixes
Severity: medium | Resolution:
Keywords: EIT | Ticket locked: 0
------------------------------+----------------------------

Comment (by Shinck@…):

Recently I switched from fixes/0.25 to master. After some adaptions the
patch also works here fine. So I will attach it here.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/11018#comment:5>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Aug 26, 2012, 11:26 AM

Post #7 of 8 (130 views)
Permalink
Re: Ticket #11018: Distortion of Recordings/LiveTV if EIT-Scan is processing on another capturecard [In reply to]

#11018: Distortion of Recordings/LiveTV if EIT-Scan is processing on another
capturecard
------------------------------+----------------------------
Reporter: Shinck@… | Owner:
Type: Patch - Bug Fix | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: 0.25-fixes
Severity: medium | Resolution:
Keywords: EIT | Ticket locked: 0
------------------------------+----------------------------

Comment (by stuartm):

What level of logging are you using? Extremely verbose logging (i.e.non
standard levels) can have an effect on performance e.g. high disk I/O that
has been known to cause problems on some systems. During normal operation
the defaults for verbosity/level should be used and greater verbosity only
turned on when debugging an issue.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/11018#comment:6>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Aug 26, 2012, 4:25 PM

Post #8 of 8 (127 views)
Permalink
Re: Ticket #11018: Distortion of Recordings/LiveTV if EIT-Scan is processing on another capturecard [In reply to]

#11018: Distortion of Recordings/LiveTV if EIT-Scan is processing on another
capturecard
------------------------------+----------------------------
Reporter: Shinck@… | Owner:
Type: Patch - Bug Fix | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: 0.25-fixes
Severity: medium | Resolution:
Keywords: EIT | Ticket locked: 0
------------------------------+----------------------------

Comment (by Shinck@…):

At daily use I leave the Standard levels (verbose: general and LogLevel:
info). With these levels the distortions were existent. For debugging
purposes sometimes I change verbose to idle,eit,record,dvbcam but leave
LogLevel at info.

But since I've switched of EIT-Scanning during recording or LiveTV with
the patch the error is gone. So it works now for me.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/11018#comment:7>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits

MythTV commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.