Recorder:Pid 7c0 Continuity error... 3 ( prev f ) - bad signal? (1 Viewer)

mm1352000

Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,218
    New Zealand New Zealand
    Country flag
    Let's be clear here.

    The cause of the stuttering is continuity errors in the stream that the TsWriter log is telling you about. In other words, those log messages are telling you that there is corruption in the stream before it gets into TV Server. There could be a playback issue as well for all I know, but you're always going to have playback issues even with the most power GPU if you have corruption in the source.

    The short list of causes for continuity errors:
    1. Signal quality.
    2. HDD stress.
    3. Decryption issues.
    4. Overheating components.
    In your case we can rule out decryption issues, and in its place we should add network.

    Now, you've told us you don't have problems playing the same channels from the same tuner on another PC. This is critical. Theoretically it means your signal quality and tuner are A-OK.
    HDD stress? Well, you've also told us you don't run an anti-virus, but I notice you do run Comskip. Maybe an issue there.
    Network? You're running gigabit networking, but actually the HDHR itself is only 100 Mb/s. Theoretically there could be bandwidth issues... and switches aren't perfect. Especially green switches.
    Overheating is a more unusual cause but I included it for completeness. Worth considering.

    How to debug?

    I suggest you run MP side-by-side with TV Server configuration, task manager, HDHR Config and the DPC latency checker.
    Start any channel in MediaPortal.
    In TV Server configuration go to the "manual control" section and select the same channel that you're viewing in MP - you should now see info about signal quality and discontinuities in the top area.
    In task manager, go to the performance section and click "resource monitor".
    View the signal quality and network rate for the tuner in HDHR config.
    Monitor the DPC latency graph.

    When you see stuttering, does the discontinuity counter in TV Server config start moving up (which indicates continuity errors are occurring)?
    Does the HDD, CPU or network utilisation also peak?
    Do you get higher than usual DPC latency?

    Your log files agree with your comment about stuttering only occurring occasionally and apparently randomly. My guess is that your HDD is fine but occasional bursts of either network or HDD activity, CPU power saving features, bursty signal issues, or other software running in the background are responsible. Let's see what the above test reveals... :)

    I note: with regard to MP 1.5 PR, there are benefits for cable and ATSC scanning. However they won't solve this problem.
     

    HomeY

    Test Group
  • Team MediaPortal
  • February 23, 2008
    6,466
    4,634
    45
    ::1
    Netherlands Netherlands
    Country flag
    So no Powerscheduler enabled in either the Client of Server config? Please restart the TvService just to be sure (some changes are only saved when you restart the service).
    since the user reported that he disabled the plugin.
    he didn't tell what part of plugin he has disabled. So it could be that he disabled only server part of plugin.
    Very true, since Michael also mentioned that the Client plugin seems active (and i neve got a confirmation about it) ;)

    Let's hope the Client plugin is acive, and that disabling that (and restarting TvService after that!!) solves some of his issues.
     

    tachtevrenidis

    Portal Pro
    July 22, 2013
    80
    12
    United States of America United States of America
    guys, thanks so much for the attention you have paid to my issue. Here is some more info:

    1) I did not have the client side of the powerscheduler plugin disabled (only the server side). I disabled that and restarted the TV service.

    2) I performed the following test (as instructed above). I went in debug mode, in a windowed environment, started a show recording and started watching live tv (so both tuners busy). I have the latency app running as well as task manager and the tv server config showing signal strength etc. Please take a look. It looks good to me (I still saw some stuttering though). I will post the logs in a bit (I am keeping it running for a while).[DOUBLEPOST=1377887032][/DOUBLEPOST]more info. As you can see the screenshot shows 'discontinuities' 0, but in the time it took me to write the previous post we are up to 17. I am going to try to figure out if the counter increments right after the stuttering happens.

    Also network seems to hover between 50-70% never spiking to 100 and never dropping out.

    FYI[DOUBLEPOST=1377887628][/DOUBLEPOST]OK I think I nailed it. A rather large stutter happens (I am not even touching the laptop, it is just recording and playing back) which lasts maybe half a second. The discontinuity meter increments, and latency goes RED! There is no change in network activity though (no drop, no spike). This is the same network config that I used for 5 years with mce and never had any problems fyi.

    I am attaching the screenshot and the logs.
     

    Attachments

    HomeY

    Test Group
  • Team MediaPortal
  • February 23, 2008
    6,466
    4,634
    45
    ::1
    Netherlands Netherlands
    Country flag
    Nice find!!! :p

    Stats on first screen are looking great. 2nd screenshot shows the issue :p
    so now it's time to open the taskmanager on the laptop also, and wait for it to spike again, and see which process is doing that.

    A HD TV stream doesn't 'eat' more then 15 Mb/s here on my gibt LAN.
     
    Last edited:

    tachtevrenidis

    Portal Pro
    July 22, 2013
    80
    12
    United States of America United States of America
    as far as network utilization goes, I don't remember that much network being eaten up per HD stream when I was on WMC.

    ok more here. I left the latency tool and resource monitor on (sorted by processes by cpu usage in descending order). MePo UI was not running (just one hd stream recording from my previous tests. I do see the latency spike up every so often and the resource monitor seems to indicate that 'system interrupts' are to blame. What now? Do I start disabling devices on the laptop?

    K
     

    mm1352000

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,218
    New Zealand New Zealand
    Country flag
    as far as network utilization goes, I don't remember that much network being eaten up per HD stream when I was on WMC.
    WMC probably supports PID filtering, which would reduce the bandwidth used quite significantly. That feature is on the way in our next generation TV engine.



    What now? Do I start disabling devices on the laptop?
    One of the drivers for hardware is going to be responsible. I reckon first thing you should do is update the network adapter driver. Then, please list off the specs and peripheral devices connected to it.
     

    tachtevrenidis

    Portal Pro
    July 22, 2013
    80
    12
    United States of America United States of America
    I updated the network card drivers and I can say I have seen some improvement (I used to have the driver suggested by lenovo, and I replaced it with the latest drivers available by intel. When something is recording though, I can still see some stuttering while I am watching something else (the nature of the stutter has changed too, hard to explain but it is different from before).

    What other drivers should I try to replace? Any other suggestions in general?
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    1gkar LiveTV Records Causing 100% Drive Activity Television (MyTV frontend and TV-Server) 5
    toricred Recordings Change : to _ in Series Name General 0
    P Recording films that have an "intermission" General 3
    H MP2 database won't keep in synch with recordings General 8
    toricred Only Show Actual Recordings General 1
    ajs How recreate Recording thumbs TV-Server 4
    P [solved] MP2 new install, 2 x hdhomerun tuners, client on same PC unable to view TV & recordings Newcomers Forum 8
    CyberSimian [Proposal] Tool to display time of next recording MediaPortal 1 0
    Golf4 TV-Records werden als Audio-Files importiert ? Allgemeines Support- und Diskussionsforum 0
    R [solved] Unable to delete single recording General 2
    R Correct setting for recordings on shared folder General 0
    W [solved] MP suddenly Crashes when starting live TV on most channels and on recordings from the same channels General Support 20
    W [solved] MP suddenly Crashes when starting live TV on some channels and on some recordings Television (MyTV frontend and TV-Server) 1
    S Shortcuts MP1 My Recorded & TV Guide General 10
    F How to reset tv recordings database General 5
    P Recordings not showing up unless re-imported and not possible to delete General 0
    X Recording import hängt Allgemeines Support- und Diskussionsforum 0
    F Recording starts at second time only MediaPortal 1 Talk 6
    T TV Recording Schedule General 2
    T Unwanted recording Newcomers Forum 18
    bta489 [solved] DVB-T2 Recordings: Sometimes no Audio after muxing with mkvmerge Tools and other software 2
    N Play a TV recording needs a double selection - twice ok on remote Television (MyTV frontend and TV-Server) 2
    G Occasional Black screen on Live TV and Recorded TV Watch / Listen Media 5
    B MP 1.23 First time click TV or Recorded TV fails, 2nd ... it will work General Support 5
    M MP 2.2.3 Unable to play .ts recordings and MediaPortal stops working for TV viewing General 31
    Similar threads

























    Top Bottom