RTSP Streaming Not Working (1 Viewer)

rcauvin

Portal Member
May 6, 2017
11
0
56
Home Country
United States of America United States of America
I am unable to get RTSP streaming working.

I have version 2.1.3 of MediaPortal 2, both server and client, installed on a single Windows 10 machine. I successfully launch the client, watch live TV, and record.

Here is what I have tried for streaming:
  1. Open the client and watch live TV.
  2. On another machine in the same local area network, launch the latest version of VLC.
  3. Select "Media > Open Network Stream" in the VLC menu.
  4. Type "rtsp://192.168.2.204/stream2.0" as the network URL for the stream.
  5. Click "Play".
The following error message pops up in VLC:

Your input can't be opened:
VLC is unable to open the MRL 'rtsp://192.168.2.204/stream2.0'. Check the log for details.

When I go to "Tools > Messages" in VLC to look at the log (verbosity level 2), the seemingly relevant portion shows:

core debug: creating access 'rtsp' location='192.168.2.204/stream2.0', path='\\192.168.2.204\stream2.0'
core debug: looking for access module matching "rtsp": 21 candidates
core debug: net: connecting to 192.168.2.204 port 554
core debug: connection succeeded (socket = 2536)
access_realrtsp warning: Cseq mismatch, got 1, assumed 0
access_realrtsp debug: rtsp connected
access_realrtsp warning: only real/helix rtsp servers supported for now
core debug: no access modules matched
core error: open of `rtsp://192.168.2.204/stream2.0' failed

What is going on?
 
Last edited:

rcauvin

Portal Member
May 6, 2017
11
0
56
Home Country
United States of America United States of America
Let me ask it a different way. Has anyone gotten RTSP streaming to work with MP2? If so, how did you do it?
 

limpwhizkid

Retired Team Member
  • Premium Supporter
  • February 22, 2008
    575
    77
    on your IPC$
    Home Country
    Netherlands Netherlands
    Edit: Whoops wrong forum , reply is about MP1 , i really dont know if there is a timeshift folder setting in MP2, if there is , then you could try!

    a late reply, sorry :)

    i finally found the problem, if you leave timeshift folder on the server at default C:\programdata\teamblabla , programdata is a system folder on windows which has more protection , rtsp streaming will fail , because that folder protection will prevent remote access sometimes
    so setting the server on c:\timeshift fixed it (i ticked also apply to all tuners, if you have multituner).

    can you confirm rcauvin ?
     
    Last edited:

    rcauvin

    Portal Member
    May 6, 2017
    11
    0
    56
    Home Country
    United States of America United States of America
    Thanks, @limpwhizkid. In my installation of MP2, I see this folder configured for timeshift on all the cards:

    C:\ProgramData\Team MediaPortal\MediaPortal TV Server\timeshiftbuffer

    Similar to what you recommended, I created a new folder:

    D:\Media\timeshift

    Now, when I connect to "rtsp://192.168.2.204/stream2.0", VLC's logs say it successfully connects to RTSP, but it appears to indicate it can't find anything to play. What do I have to do on the server side, if anything, to start something to stream to the client? How do I specify in the client (e.g. in the RTSP URL) the content I am trying to stream?

    main debug: processing request item: rtsp://192.168.2.204/stream2.0, node: Playlist, skip: 0
    main debug: rebuilding array of current - root Playlist
    main debug: rebuild done - 6 items, index 5
    main debug: starting playback of new item
    main debug: resyncing on rtsp://192.168.2.204/stream2.0
    main debug: rtsp://192.168.2.204/stream2.0 is at 5
    main debug: creating new input thread
    main debug: Creating an input for 'rtsp://192.168.2.204/stream2.0'
    main debug: requesting art for new input thread
    main debug: looking for meta fetcher module matching "any": 1 candidates
    lua debug: Trying Lua scripts in C:\Users\<masked>\AppData\Roaming\vlc\lua\meta\fetcher
    lua debug: Trying Lua scripts in C:\Utilities\VLC\lua\meta\fetcher
    main debug: no meta fetcher modules matched
    main debug: looking for art finder module matching "any": 2 candidates
    lua debug: Trying Lua scripts in C:\Users\<masked>\AppData\Roaming\vlc\lua\meta\art
    lua debug: Trying Lua scripts in C:\Utilities\VLC\lua\meta\art
    main debug: using timeshift granularity of 50 MiB
    main debug: using timeshift path: C:\Users\Roger\AppData\Local\Temp
    main debug: `rtsp://192.168.2.204/stream2.0' gives access `rtsp' demux `any' path `192.168.2.204/stream2.0'
    main debug: creating demux: access='rtsp' demux='any' location='192.168.2.204/stream2.0' file='\\192.168.2.204\stream2.0'
    main debug: looking for access_demux module matching "rtsp": 15 candidates
    live555 debug: version 2016.11.28
    lua debug: Trying Lua playlist script C:\Utilities\VLC\lua\meta\art\00_musicbrainz.luac
    lua debug: skipping script (unmatched scope) C:\Utilities\VLC\lua\meta\art\00_musicbrainz.luac
    lua debug: Trying Lua playlist script C:\Utilities\VLC\lua\meta\art\01_googleimage.luac
    lua debug: skipping script (unmatched scope) C:\Utilities\VLC\lua\meta\art\01_googleimage.luac
    lua debug: Trying Lua playlist script C:\Utilities\VLC\lua\meta\art\02_frenchtv.luac
    lua debug: skipping script (unmatched scope) C:\Utilities\VLC\lua\meta\art\02_frenchtv.luac
    lua debug: Trying Lua playlist script C:\Utilities\VLC\lua\meta\art\03_lastfm.luac
    lua debug: skipping script (unmatched scope) C:\Utilities\VLC\lua\meta\art\03_lastfm.luac
    main debug: no art finder modules matched
    qt debug: IM: Setting an input
    live555 debug: connection error 404
    live555 error: Failed to connect with rtsp://192.168.2.204:554/stream2.0
    main debug: no access_demux modules matched
    main debug: creating access: rtsp://192.168.2.204/stream2.0
    main debug: (path: \\192.168.2.204\stream2.0)
    main debug: looking for access module matching "rtsp": 26 candidates
    satip debug: try to open 'rtsp://192.168.2.204/stream2.0'
    satip debug: connect to host '192.168.2.204'
    main debug: net: connecting to 192.168.2.204 port 554
    main debug: connection succeeded (socket = 1652)
    main debug: net: opening 0.0.0.0 datagram port 9356
    main debug: net: opening 0.0.0.0 datagram port 9357
    satip error: Failed to setup RTSP session
    main debug: net: connecting to 192.168.2.204 port 554
    main debug: connection succeeded (socket = 1652)
    access_realrtsp warning: Cseq mismatch, got 1, assumed 0
    access_realrtsp debug: rtsp connected
    access_realrtsp warning: only real/helix rtsp servers supported for now
    main debug: no access modules matched
    main debug: dead input
    main debug: changing item without a request (current 5/6)
    main debug: nothing to play
    qt debug: IM: Deleting the input
     

    limpwhizkid

    Retired Team Member
  • Premium Supporter
  • February 22, 2008
    575
    77
    on your IPC$
    Home Country
    Netherlands Netherlands
    in Mp1 server there is a tab called manual control , on which you can select a channel and make it stream. when the stream has started , the url will be shown aswell , copy that to the client from where you wish to stream and you should see the channel
     

    rcauvin

    Portal Member
    May 6, 2017
    11
    0
    56
    Home Country
    United States of America United States of America
    I do see the Manual Control tab, and I clicked the Start TimeShift button. In the dialog box, I see channel information and a path to the timeshift files. But I don't see the MRL I am supposed to use in the RSTP client.
     

    regeszter

    Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Home Country
    Hungary Hungary
    I do see the Manual Control tab, and I clicked the Start TimeShift button. In the dialog box, I see channel information and a path to the timeshift files. But I don't see the MRL I am supposed to use in the RSTP client.

    Why do you want to use rtsp klient?
     

    limpwhizkid

    Retired Team Member
  • Premium Supporter
  • February 22, 2008
    575
    77
    on your IPC$
    Home Country
    Netherlands Netherlands
    Okay, I found this old forum post that explains the structure of the MRL. My card ID is four, so the MRL that works for me is rtsp://192.168.2.204/stream4.0. Thanks for pointing me in the right direction with the Manual Control tab configuration, @limpwhizkid.

    no problem , i have tried mp2 once , but it was way back in the beginning, didnt do it for me , so stayed with mp1, (if it aint broke dont fix it)

    glad you got it working

    Why do you want to use rtsp klient?

    because its default out of the box ? , i have used Unc streaming in the past but you have to edit xml files to make that work and every update its gone.

    But the reason to go to VNC streaming is the problem with programdata systemfolder, i.e. unreliable behaviour, if you dont timeshift to hidden systemfolder "programdata" , RTSP works perfectly
     

    rcauvin

    Portal Member
    May 6, 2017
    11
    0
    56
    Home Country
    United States of America United States of America
    @regeszter I just want to be able to view live and recorded MP2 TV from my phone, tablet, and other devices. Using RTSP, I can now view live TV from any devices with VLC installed, which has RTSP client capabilities. What options do I have besides RTSP?
     

    Users who are viewing this thread

    Top Bottom