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

mm1352000

Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,218
    New Zealand New Zealand
    Country flag
    • Thread starter
    • Moderator
    • #1
    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

    Last edited:

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,433
    10,254
    France
    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,433
    10,254
    France
    France France
    Country flag
    The issue happen before you last commit, so going to do a full upgrade and retry :)
     

    lodale

    Portal Pro
    April 9, 2009
    245
    27
    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,433
    10,254
    France
    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

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,433
    10,254
    France
    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,433
    10,254
    France
    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
    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,571
    8,218
    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 (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    C streaming out UDP instead of RTSP Newcomers Forum 0
    K MP2 - V2.1 [MP2-763] Interface configuration for RTSP streaming server lost on every restart Older releases 6
    R RTSP Streaming Not Working General 20
    AberDino 4k TV Stutter with RTSP General Support 7
    S rotierende disk in streamed mp Skin Modifikationen 30
    C Streaming/transcoding MP2 vs MP1? General 1
    C Streaming to clients over Wifi. MP1 or MP2? Newcomers Forum 0
    P Streaming MediaPortal 1 Talk 5
    P Streaming to two clients from the same card Newcomers Forum 1
    L Non-PC device streaming... Newcomers Forum 1
    raffe How to add 500+ streams? OnlineVideos 1
    R Heavy pixelation on HD OTA Streams Installation, configuration support 1
    C Recording back to back shows from IPTV streams General Support 8
    T Missing sound in online streaming service (SVTPlay) General Support 3
    H Unable to play stream - again... Television (MyTV frontend and TV-Server) 2
    V Unable to stream : 10 General Support 0
    doskabouter Black screen while watching some iptv streams General Support 2
    II-IRON [solved] MP2 - 2.2 - Es ist kein Player für die Wiedergabe des Medien-Object 'stream 3.0' registriert Allgemeines Support- und Diskussionsforum 16
    amatesi MP2.2pre Client crash while streaming Live TV from remote MP2.2pre Server (both offline) 2.2 Archive 8
    Cowboy [solved] MP1.20 issue with HD audio stream (not all media) watch/edit Videos 6
    jmarc Recording IPTV streams General Support 1
    A Unable to play :stream 3 Television (MyTV frontend and TV-Server) 1
    C Is there a Tuner Stream Failure Alarm Plugin? MediaPortal 1 Plugins 1
    P [solved] MediaPortal 2 Won't stream HDHR Dual General 1
    M.Hulot Streamed MP behält gewählte Ansicht nicht bei Allgemeines Supportforum 4
    Top Bottom