LiveTV freezes and shows a lot of artifacts (2 Viewers)

mm1352000

Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,218
    New Zealand New Zealand
    Country flag
    Here we are, it happened 11:53 and 11:59 again. TV stopped and I had to restart it.
    To me it looks exactly what Owlsroost said: corruption in the stream from the tuner flowing through to the client.

    Is TV completely stopping, or is it just video freezing (and audio continues)? If it is only video freezing, you may find that disabling DXVA will help.The stream might stutter and continue instead of stopping. If the stream completely stops, ensure that that relock monitor for your tuner is enabled. From the driver inf file:
    ; Relock monitor
    ; 0: Normal ; 1: Enable ReloCk monitor
    HKR,"DriverData","RelockMonitor",0x00010001, 0x01,0x00,0x00,0x00
    You can search your registry (regedit) for RelockMonitor and see what the value is.

    Ultimately if you really want to solve this problem I think you need to look at your signal quality. From the Twinhan SDK, signal quality values are expected to be in the range 0..99. I'm pretty sure this also applies for TerraTec tuners. Your signal quality readings seem to be... not so good.
     

    Owlsroost

    Development Group
  • Team MediaPortal
  • October 28, 2008
    5,539
    5,037
    Cambridge
    United Kingdom United Kingdom
    Country flag
    It looks like (as I suspected) that it's the video decoder hanging on steam discontinuities/errors (this is a known issue with some older AMD GPUs/driver versions).

    As far as I remember, there haven't been any changes in discontinuity handling between the 1.5 and 1.6 pre versions of TsReader.ax, but you could try using the MP 1.5 version of TsReader.ax just to check. (The 'noStopMod70' version here - https://forum.team-mediaportal.com/threads/experimental-tsreader-development.102693/#post-811296 - is fairly close to the MP 1.5 version if that's easier to try.)

    Another thing to try is ticking (enabling) the 'Don't drop discontinued packets in TsReader' option in MP TV client config - http://wiki.team-mediaportal.com/1_...n/MediaPortal_Configuration/22_TV/1_TV_Client - although this can sometimes make the 'hang' problems worse.
     

    megahorst

    Super User
  • Team MediaPortal
  • Super User
  • July 8, 2006
    879
    259
    Germany Germany
    Country flag
    The cable guy has visited me ...

    He has checked the signal and told me that everything is fine.
    Signal quallity is 95% and signal level is between 67db and 70db (depends on channel).

    While trying to find the rootcause I have seen the following:
    I have started timeshifting on all of my three DVB-C cards in the manual control section of the server config.
    In parallel I have checked the timeshift folder. Everything is fine until new *.ts files are added to the folder. Than I'm loosing some frames.
    I'm timeshifting to a SSD and have switched of my Antivirus.
    Does anybody have a suggestion?
     

    megahorst

    Super User
  • Team MediaPortal
  • Super User
  • July 8, 2006
    879
    259
    Germany Germany
    Country flag
    I have made a lot of progress on the server site. The continuity errors are nearly gone.

    The things that helped me are the following:
    Moved timeshifting from my SSD to a RAM-Disk (IMDisk)
    The problems when the *.ts files are rolled over where gone than.

    But when somebody was watching TV for longer than 15 mins the errors where there again.
    I have checked than the system with a tool called latencymonitor.
    There I was not able to find any issue that occoured in parallel to continuity errors.
    The only thing that the tool showes is that the tvserver.exe throws a lot of "hard pagefaults". My understanding of this is, that is not a problem. Am I right?

    Than I have attached a fan on top of my three tuner cards.
    That was the solution. Now most of the errors are gone. There is a very few ammount of these errors left. Sometimes it is one per hour or 5-7 within a second and after this everything is fine fou hours again. I will keep an eye on this. I'm not sury if this is also heating or another issue what has to be find.

    But on client side there are more problems within the stream than there are continuity errors on the server site while watching HD. No freezings anymore but some stuttering from time to time.
    Does anybody know a tool that is able to monitor the streaming quallity of the network? Or has anybody an idea what I should check on the client site?

    I have already done this:

    As far as I remember, there haven't been any changes in discontinuity handling between the 1.5 and 1.6 pre versions of TsReader.ax, but you could try using the MP 1.5 version of TsReader.ax just to check. (The 'noStopMod70' version here - https://forum.team-mediaportal.com/threads/experimental-tsreader-development.102693/#post-811296 - is fairly close to the MP 1.5 version if that's easier to try.)
    Another thing to try is ticking (enabling) the 'Don't drop discontinued packets in TsReader' option in MP TV client config - http://wiki.team-mediaportal.com/1_...n/MediaPortal_Configuration/22_TV/1_TV_Client - although this can sometimes make the 'hang' problems worse.

    @mm1352000:
    I have totally forgotten this:
    If the stream completely stops, ensure that that relock monitor for your tuner is enabled. From the driver inf file:
    ; Relock monitor
    ; 0: Normal ; 1: Enable ReloCk monitor
    HKR,"DriverData","RelockMonitor",0x00010001, 0x01,0x00,0x00,0x00
    You can search your registry (regedit) for RelockMonitor and see what the value is.
    For the technisat tuners I have
    RelockMonitor = 1

    For the terratech I have:
    RelockEnable=1
    RelockMonitor=1
    RelockTriogTime= 7d0 (2000)

    Is there a need to change something?
     
    Last edited:

    megahorst

    Super User
  • Team MediaPortal
  • Super User
  • July 8, 2006
    879
    259
    Germany Germany
    Country flag
    Here I have captured logs of a scenario where I had no continuity errors at the server but I have seen hiccups at the client.
    I have seen a news broadcasting from circa 19:30 until circa 19:55 without problems. Only one error at the server site after the beginning of the stream.
    Than after the news where over the hiccups begun while some advertisings where shown. I have seen this hiccups every evening after the news broadcasting is over. Any ideas?
     

    Owlsroost

    Development Group
  • Team MediaPortal
  • October 28, 2008
    5,539
    5,037
    Cambridge
    United Kingdom United Kingdom
    Country flag
    Here I have captured logs of a scenario where I had no continuity errors at the server but I have seen hiccups at the client.
    I have seen a news broadcasting from circa 19:30 until circa 19:55 without problems. Only one error at the server site after the beginning of the stream.
    Than after the news where over the hiccups begun while some advertisings where shown. I have seen this hiccups every evening after the news broadcasting is over. Any ideas?
    I suspect that there is a jump in the broadcast stream timestamps when the news finishes (probably due to stream switching), which is causing the audio buffer to be drained. I'm currently re-working the '195 ms' pause code a little to try and make it adapt the pause time to the lateness, so it should try and restore the buffer fullness each time.

    Pressing pause for short time should fix the problem (or a skip step).
     

    megahorst

    Super User
  • Team MediaPortal
  • Super User
  • July 8, 2006
    879
    259
    Germany Germany
    Country flag
    I suspect that there is a jump in the broadcast stream timestamps when the news finishes (probably due to stream switching), which is causing the audio buffer to be drained.
    Is it helpfull if I send some minutes of the stream?
     

    JackTramiel

    MP Donator
  • Premium Supporter
  • November 22, 2006
    1,400
    79
    41
    Recklinghausen
    Germany Germany
    Country flag
    Just some feedback: I couldnt find any network issue. Still had no chance to try a professional network testing device.
    I added 1000ms delay for tsreader, which seems to help a lot so far.
    During my search for other solutions i found the DD knowledge base:

    http://support.digital-devices.de/knowledgebase.php?article=7

    http://support.digital-devices.de/knowledgebase.php?article=6

    Basicly its about PCIe Timing, so you should disable CPU/PCIe Spread Spectrum (BIOS).
    The other hint is to deinstall the dd tv card wo/ driver deinstallation. Press find new hardware.
    Now the priority of the tv device should be correct.

    I have found a test tool for tv cards:

    http://support.digital-devices.de/knowledgebase.php?article=59

    Doesnt help much so far, beside it tells me total different signal strenght then mepo does. ( MePo = 100 , Tool = 70-75 )

    Havent tried those recommendations, just wanted to share my findings.

    Edit:

    Ok, still had issues. Because our rabbits destroyed my ir repeater and subwoofer cables behind my lowboard i had to renew them. A lot of work, so i decided to change both nics, too.
    Till 2 days no more issues, no more discontinuity errors.
    Hope i will come back in 2 weeks and can tell: I am healed and Intel onboard nics suck.

    Thank you mm and owl.

    Edit2: Just a week, but filled with a lot of tv usage. Not a single issue.
    Cant really tell how good it feels to have a rock solid setup. Hope you will work it out too snoopy.
    Now it is donate time.
     
    Last edited:

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

    OP Similar threads Forum Replies Date
    rbo Mp 1.21 pre - probleme livetv und videos Allgemeines Supportforum 5
    M WebMediaPortal Stream LiveTV Problems MPExtended 2
    framug General TV Engine, go ahead or continue freeze ? TV Engine 1
    404 [solved] Live TV...video and audio freeze General Support 20
    R [further infos missing] some movies freezing evry seconds Submit: Bug Reports 9
    S Mediaportal 1.22 Pre-Release remote live-tv freezes MediaPortal 1.22 Pre Release 0
    T Problems re-installing after MP 1.21.0 freeze up! Installation, configuration support 2
    joecrow Win 10 crash, hang and freeze with USB Tuner. General Support 13
    L MP Playback Freezes When Unpausing from Minimized Screen General Support 6
    R [solved] MTS files freeze on last frame Watch / Listen Media 2
    HTPCSourcer Harmony Smart Control freezes Input/Output Interfaces 3
    J Freezing after some time running General Support 21
    Remoteglen Freezing on startup General Support 4
    HTPCSourcer MP2 - V2.1 Picture freeze when jumping forward Older releases 7
    T Help needed troubleshooting freezing issues in Kodi/LE w Mediaportal backend Television (MyTV frontend and TV-Server) 8
    toricred Only Show Actual Recordings General 1
    R MP 2.2.3 Search TV program only with the correct begin of show title General 7
    F Show Player info while skipping Feature Requests 0
    P Recordings not showing up unless re-imported and not possible to delete General 0
    C Imported media doesn't show up immediately? General 1
    mrmojo666 [Tv Server Plugin ]Direct Show Video Control Plugin 0.0.0.1 for Hauppauge PVR cards MediaPortal 1 Plugins 0
    tano_grasa Movie cover not showing when starting a movie aMPed 0
    M [Rejected] Always show full hours in TV Guide Feature Requests 2
    J Understanding what EPG shows about schedules General 8
    J Show media item location Feature Requests 4
    Similar threads

























    Top Bottom