[Help Us!] RTSP streaming library update (1 Viewer)

mm1352000

Development Group
  • Team MediaPortal
  • September 1, 2008
    21,577
    8,222
    Home Country
    New Zealand New Zealand
    Country flag
    Hello everybody

    Introduction

    Over the past couple of months we've been working hard to update the RTSP streaming library (LIVE555) used by various MediaPortal and TV Server components:
    • TsReader - MPEG 2 TS (transport stream) demultiplexer, used by MediaPortal to enable viewing and time-shifting of live TV and recordings
    • Streaming Server - used by TV Server to stream live TV and recordings to remote MediaPortal clients and non-MediaPortal clients (eg. KODI/XBMC)
    • MPFileWriter - used by TV Server to implement time-shifting and recording for analog TV and FM radio
    • IPTV RTSP library - used by TV Server's IPTV filter to receive RTSP streams (eg. certain IPTV and CC camera streams, CableCARD tuner streams)
    The last update of this library was performed more than six years ago (!!!). As you might expect, there have been many many changes in the library (and MediaPortal) since that time. Therefore we need this update to be very thoroughly tested before it can be included in an official release. We would appreciate it if you could help us with this testing. :)

    Purpose

    The purpose of this update is to improve the performance and stability of the above components. For example:
    • improve speed of live TV start and channel changing on remote MediaPortal clients
    • improve speed of seeking for live TV and recordings on remote MediaPortal clients
    • fix an IPTV RTSP issue that caused TV Server crashes (example -->here<--)

    Who Should Test

    Mostly we need people who:
    • have one or more client-only MediaPortal installations
    • use one or more CableCARD tuners with TV Server
    • use TV Server to receive RTSP IPTV or CC camera streams
    • use one or more analog tuners with TV Server
    • use KODI or other software to receive streams from TV Server
    (...but of course anybody is welcome to test! :) )

    What Should Be Tested

    All functions related to viewing live and recorded TV need to be tested. For example:
    • viewing live TV and/or performing recordings
      • RTSP IPTV provider
      • RTSP CC camera
      • CableCARD tuner
      • analog TV tuner
      • FM radio tuner
    • live TV and recordings with a client-only MediaPortal installation and/or non-MediaPortal client (eg. KODI)
      • viewing
      • pausing
      • resuming
      • skipping (seeking) forward
      • skipping (seeking) backwards
      • fast forwarding
      • rewinding

    Requirements

    You can install some or all parts of the update depending on your preference/configuration.

    TsReader - requires MediaPortal 1.11 or newer.
    Streaming Server - requires TV Server 1.1.0 or newer
    MPFileWriter - requires TV Server 1.2.0 or newer
    IPTV RTSP library - requires TV Server 1.5 PR or newer

    How To Install

    To install the TsReader update:
    1. Close MediaPortal.
    2. Download the attached zip file.
    3. Open Windows Explorer.
    4. Navigate to the MediaPortal installation folder (default c:\Program Files (x86)\Team MediaPortal\MediaPortal).
    5. Take a backup copy of TsReader.ax.
    6. Replace TsReader.ax with the version from the zip file.

    To install the Streaming Server, MPFileWriter and/or IPTV RTSP library updates:
    1. Close MediaPortal.
    2. Open TV Server Configuration.
    3. Navigate to the "manual control" section.
    4. Click "stop service".
    5. Download the attached zip file.
    6. Navigate to the TV Server installation folder (default c:\Program Files (x86)\Team MediaPortal\MediaPortal TV Server).
    7. Take a backup copy of StreamingServer.dll, MPFileWriter.ax and/or MPIPTV_RTSP.dll.
    8. Replace StreamingServer.dll, MPFileWriter.ax and/or MPIPTV_RTSP.dll with the version from the zip file.
    9. In TV Server Configuration click "start service".

    Reporting Results

    The team have already done approximately 2 months of testing to ensure that the update does not have any obvious problems. However, we would still like to hear both positive and negative test results.

    For positive test results please ensure your forum profile system specifications are filled in and up to date, and provide a short description of what you tested.

    For negative test results please ensure your forum profile system specifications are filled in and up to date, and provide the following information:
    1. A short description of the problem.
    2. If possible, instructions to reproduce the problem; otherwise, a full description of how the problem occurred including date, time and channel (or recording) name.
    3. Screenshots and/or pictures if applicable.
    4. Full/all log files from MediaPortal and TV Server. Please use the Watchdog tool to collect your log files wherever possible. Use option 1 or 2 for MediaPortal reproducible problems; otherwise use option 3 to collect MediaPortal and/or TV Server log files after the problem has occurred.
    Please provide all of this information. It is probably impossible to help without it.

    Thank You
    in advance for your help! :)

    P.S. For people who are interested in code, the GIT branch for this update is -->here<--.
     

    Attachments

    • MediaPortal RTSP library update v1.zip
      389.8 KB · Views: 330
    Last edited:

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,570
    10,390
    France
    Home Country
    France France
    Country flag
    Thanks for this upgrade (and amazing work on this), in overall, all seems to work nicely except one thing but i will post full log. For me the issue is playing recorded tv from the server that was not working but i will do step by step and give you the way to reproduce it :)
    Thanks again :p
     
    Last edited:

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,570
    10,390
    France
    Home Country
    France France
    Country flag
    The issue happen before you last commit, so going to do a full upgrade and retry :)
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,570
    10,390
    France
    Home Country
    France France
    Country flag
    Here we go for some logs :)
    Sometimes it works and sometimes not, log attached is 2 consecutive test :
    I will retry recordedTV from start to see if it always works.
    Thanks :)
     

    Attachments

    • RecordedTV_not_working_on_resume.zip
      11.1 KB · Views: 120
    • RecordedTV_working_on_resume.zip
      13.2 KB · Views: 131

    lodale

    Portal Pro
    April 9, 2009
    245
    27
    Home Country
    Norway Norway
    Hi
    installed on my dedicated window (32) 7 server and on one dedicated windows (32) 10 client. The client won,t start Live TV (error Mediaportal stopped working).
    Replaced the new TsReader.ax with the original one on the client, now its back working
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,570
    10,390
    France
    Home Country
    France France
    Country flag
    The above test was with TsReader WIP from @Owlsroost with your merged branch, i just try again with your only bin and seems to work (but i needed to turned off subtitle that i didn't test with WIP branch).
    So it seems to work :) the video didn't appear/start directly needed a few sec to have it working.
     

    Attachments

    • RecordedTV_working_on_resume_Original_TsReader_Live555.rar
      10.4 KB · Views: 120

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,570
    10,390
    France
    Home Country
    France France
    Country flag
    Hi
    installed on my dedicated window (32) 7 server and on one dedicated windows (32) 10 client. The client won,t start Live TV (error Mediaportal stopped working).
    Replaced the new TsReader.ax with the original one on the client, now its back working

    Could you retry and do watchdog and collect log to post here ?
    It will give some answer about the crash :)
    Thanks.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,570
    10,390
    France
    Home Country
    France France
    Country flag
    Ok disabling the subtitle make it work also with WIP TsReader (@Owlsroost + Live555 @mm1352000). :)
    So something seems happen/trigger with subtitle pin :p (but i'm not 100% sure lol)
     

    lodale

    Portal Pro
    April 9, 2009
    245
    27
    Home Country
    Norway Norway
    Hi
    installed on my dedicated window (32) 7 server and on one dedicated windows (32) 10 client. The client won,t start Live TV (error Mediaportal stopped working).
    Replaced the new TsReader.ax with the original one on the client, now its back working
    Here are the logs from the client
     

    mm1352000

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,577
    8,222
    Home Country
    New Zealand New Zealand
    Country flag
    • Thread starter
    • Moderator
    • #10
    @lodale
    Thanks for your interest and for testing. :)
    Please read the first post carefully:
    Requirements
    ...
    TsReader - requires MediaPortal 1.11 or newer.

    Your log files show that you are using MP 1.8. That version of MediaPortal is not compatible with the updated TsReader.

    @Sebastiii
    I'll look at your log files now but I may not be able to help if you're including Owlsroost WIP stuff.
     

    Users who are viewing this thread

    Similar threads

    P.S. - Strangely, the TV Server my single seat setup (1.27 on a modest machine running Windows 10 Pro x64) is working from my office machine MP client. Same exact network, firewall, Defender settings. It's a slightly older version of Win 10 though - I haven't updated to 20Hx on it yet. Maybe I shouldn't (or maybe I should image it...
    P.S. - Strangely, the TV Server my single seat setup (1.27 on a modest machine running Windows 10 Pro x64) is working from my...
    Let me start by asking if anyone has TV Server running PROPERLY on a Windows 10 machine, and if so are you using RTSP or UNC share...
    Replies
    9
    Views
    614
    I just found this: On the German page of the PCTV application (only on the German page and not on the driver pages :rolleyes:): TVC 6.4.8 Download (pctvsystems.com) My English translation: I didn't test it because I already switched to another TV card (so I found this piece of information to late) but maybe this can help others...
    I just found this: On the German page of the PCTV application (only on the German page and not on the driver pages :rolleyes:)...
    Hello Yesterday, I updated my computer running MediaPortal Client and TVServer (and also occasionally providing another laptop...
    Replies
    13
    Views
    3K
    • Sticky
    Pre Releases are provided as a way for the community to test and give feedback on all the exciting things we have lined up for the next release. We allocate about one month for Pre Release testing. In that time we will only fix bugs, after which comes the final release! Highlights of this release Bugfixes: [MP1-5081] - WatchDog...
    Pre Releases are provided as a way for the community to test and give feedback on all the exciting things we have lined up for the...
    Pre Releases are provided as a way for the community to test and give feedback on all the exciting things we have lined up for the...
    Replies
    0
    Views
    245
    Well it's been a couple of days and we've had no more unable to play errors .
    Well it's been a couple of days and we've had no more unable to play errors .
    I've just upgraded the motherboard, CPU, ram, boot drives and PSU in my TV Server (always on), and am now having intermittent...
    Replies
    8
    Views
    902
    Just for your information: couldn't find the ns*.tmp file...
    Just for your information: couldn't find the ns*.tmp file...
    Pre Releases are provided as a way for the community to test and give feedback on all the exciting things we have lined up for the...
    Replies
    39
    Views
    2K
    Top Bottom