[Finished] Improvements to Live TV playback rate matching - for testing (1 Viewer)

Status
Not open for further replies.

Owlsroost

Development Group
  • Team MediaPortal
  • October 28, 2008
    5,540
    5,038
    Cambridge
    United Kingdom United Kingdom
    Country flag
    I noticed is a bit recently. I cut my recordings on my PC and then copy the files over the network to the hard drives on the server. So far I could copy the files without which it has had a negative impact on the television sector. Now if I copy a file, there is such an extreme interference with the TV that a problem-free TV viewing at this time is no longer possible.
    When did this start happening ?

    Was it when you switched from RTSP to UNC paths, or a new version of TsReader ?
     

    Owlsroost

    Development Group
  • Team MediaPortal
  • October 28, 2008
    5,540
    5,038
    Cambridge
    United Kingdom United Kingdom
    Country flag
    I think it's since switching to UNC paths.
    It's because (in UNC paths mode) TsReader is reading shared files on the server, and Windows explorer (or your editing software) on the client is writing to shared files on the server. They are both using the same networking and remote file access software in the OS, and the file copying traffic slows down the reading of data from the server, so TsReader doesn't get the data quickly enough.

    In this situation, using RTSP might be better since the data just sent by the server to the client (the client doesn't have to read any shared files).

    There are a few ideas - registry settings - to improve the performance of file sharing here (but I have not tried any of them) : http://forum.kodi.tv/showthread.php?tid=184785&pid=1615607#pid1615607
     

    Owlsroost

    Development Group
  • Team MediaPortal
  • October 28, 2008
    5,540
    5,038
    Cambridge
    United Kingdom United Kingdom
    Country flag
    There are a few things I can try to improve the file sharing issue, but I'm not very hopeful...
     

    davidf

    Retired Team Member
  • Premium Supporter
  • April 3, 2006
    796
    348
    Scotland
    Scotland Scotland
    I'm curious if the network adapter is deciding to change the transfer rate - One of my network cables is a bit dodgy and drops from Gigabit to 100MBit which causes all sorts of problems between two switches. It's almost annoying enough to make me redo the cabling, but I got into enough trouble last time putting a hole in the ceiling.
    Try fixing the speed to Full Duplex 100Mb to see if it helps - I'm assuming you have it currently set as Auto.
    upload_2015-8-28_0-17-59.png

    @Owlsroost - I always had it in the back of my mind to make the incoming data available for streaming before writing it to disk, and writing to disk afterwards (won't help for UNC and is only useful for actually live TV - but would leave the option for bigger read buffers which would lower the amount of disk reads needed). And in my defence if some of this has been done - the last time I looked at the code was when I had a really high packet loss and went experimenting... that was before someone (you? - Lancaster comes to mind so maybe not) altered the code to use write buffers.
     

    HomeY

    Test Group
  • Team MediaPortal
  • February 23, 2008
    6,466
    4,635
    45
    ::1
    Netherlands Netherlands
    Country flag
    There are a few ideas - registry settings - to improve the performance of file sharing here (but I have not tried any of them) : http://forum.kodi.tv/showthread.php?tid=184785&pid=1615607#pid1615607
    I used the exact same settings when i was using my Desktop as File Server (before i got my dedicated Server) and those worked pretty well for me, so worth a try.
    Those are also the Default settings for a Windows Server 2012 R2 OS. ;)
     

    regeszter

    Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Hungary Hungary
    There are a few ideas - registry settings - to improve the performance of file sharing here (but I have not tried any of them) : http://forum.kodi.tv/showthread.php?tid=184785&pid=1615607#pid1615607
    I used the exact same settings when i was using my Desktop as File Server (before i got my dedicated Server) and those worked pretty well for me, so worth a try.
    Those are also the Default settings for a Windows Server 2012 R2 OS. ;)
    I use same settings in my dedicated TvServer + NAS (Windows 8.1).
     
    Status
    Not open for further replies.

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

    OP Similar threads Forum Replies Date
    horned_reaper [solved] Improved MBID Search for Artist and Album Fanart Handler 106
    ajs [fixed] 5022: Improving the MPE Installer, providing nicer GUI :) MediaPortal 1 42
    doskabouter Small code improvements MediaPortal 1 8
    ajs [fixed] 5015: Improving the MP1 installer, providing nicer GUI :) MediaPortal 1 138
    doskabouter Exceptions found due to improved logging General Support 11
    CyberSimian [fixed] MP1-4990 : Improve horizontal scrolling in the EPG MediaPortal 1 10
    ge2301 Bugs and Improvements Nereus 6
    N [Proposal] How to improve series scheduling MediaPortal 2 72
    ge2301 [Finished] [MP2-776] Improve busy screen appearance MediaPortal 2 14
    B [MP2-772-773] improve busy cursor and settings loading Testing Area 10
    azzuro [Help Me!] Improve duration times of GUI List items MediaPortal 2 37
    Alberto83 [Finished] [MP2-752] Improve recording handling MediaPortal 2 34
    K MP1.24 HDHomeRun Quatro DVT2 - Pixelation on live TV General Support 1
    S IPTV from online m3u8 for Aussie Live TV General Support 9
    K Flickering live TV playback Newcomers Forum 3
    H [solved] MP2 Wiedergabe von Aufnahmen und Live TV geht nicht Allgemeines Support- und Diskussionsforum 6
    torone Dritter versuch mit Mediaportal 2 Allgemeines Support- und Diskussionsforum 1
    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
    vvulture UNKNOWN ERROR when starting live TV General Support 6
    H random black screen live tv and videos (amended) General Support 0
    404 [solved] Live TV...video and audio freeze General Support 20
    404 How to turn off narration on live tv General 2
    Volker MP2 Rewind / zurückspulen bei Live TV funktioniert nicht Allgemeines Support- und Diskussionsforum 3
    G Occasional Black screen on Live TV and Recorded TV Watch / Listen Media 5
    Similar threads

























    Top Bottom