Crash when scanning for channels - RTSP on DVB-IP Card (1 Viewer)

gavo

Portal Member
July 27, 2008
24
8
Hi,

I have a Dahua IP camera that provides a live stream via RTSP. I thought I would try to tune it as a channel on my Mediaportal 1.9.0 Setup on Windows 7 64bit. I created a HomeCameras.m3u containing the following:

#EXTM3U
#EXTINF:0,Front Door
rtsp://mediaportal:password@192.168.1.150/cam/realmonitor?channel=1&subtype=0

The RTSP URL above when pasted into VLC results in the picture being streamed to my PC. When however I try to "Scan for Channel" from service "HomeCameras" within the TV-Server configuration tool, both the TVServer service and configuration tool crash (see logs attached).

I then tried to tune "France.FreeBox_TV" which is a configuration supplied with MediaPortal and again I get a crash.

Does anyone else see this behavior?

Cheers,
 

mm1352000

Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Hello gavo

    I don't know why you have problems with FreeBox, but according to the MPIPTVSource.log the problem with the IP camera is:
    31-10-2014 20:15:35.574 [7260] [{A7662A72-EEEA-474B-A760-5AEE439C231A}] [Error] CMPIPTV_RTSP: OpenConnection(): error occured while sending OPTIONS command: cannot handle OPTIONS response: RTSP/1.0 401 Unauthorized

    Maybe the URL is not passing the username and password successfully?

    Regards,
    mm
     

    gavo

    Portal Member
    July 27, 2008
    24
    8
    Maybe the URL is not passing the username and password successfully?

    Thanks MM,

    I disabled authentication on my camera and tried again. Again I was able to open the stream in VLC, but unfortunately again the TVServer service and TV Server configuration tool crashed when trying to scan for channels (logs attached - TVServerLogs-IPCamera-NoAuth.zip).

    Also, I have attached the logs (TVServerLogs-FreeBox.zip) from when I try to scan for channels for France-Freebox, which also results in the same (from my user perspective) crash.

    Interestingly, if I scan for channels on something that isnt using RTSP sources, I dont seem to get the crash - such as "Austria.Aon TV_Premium" - it goes through the scanning process.

    Cheers,
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    I remember talking with georgius that tvservice can't handle return error from iptv stream and make it crash, i know that i have added a try/catch for it on my build for TVE3 but this is surely fixed for TVE35 build :)
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Hello gavo

    I disabled authentication on my camera and tried again. Again I was able to open the stream in VLC, but unfortunately again the TVServer service and TV Server configuration tool crashed when trying to scan for channels (logs attached - TVServerLogs-IPCamera-NoAuth.zip).
    Sorry but it looks like the stream format is not supported. The TV Server IPTV source filter currently only supports receiving MPEG 2 transport streams, but your camera is supplying an "H264" stream:
    01-11-2014 17:54:08.329 [7440] [{684DA504-4967-4C35-8B9A-D4A6983E6410}] [Info] CMPIPTV_RTSP: OpenConnection(): Start
    01-11-2014 17:54:08.392 [7440] [{684DA504-4967-4C35-8B9A-D4A6983E6410}] [Error] CMPIPTV_RTSP: OpenConnection(): H264 not supported
    01-11-2014 17:54:08.393 [7440] [{684DA504-4967-4C35-8B9A-D4A6983E6410}] [Info] CMPIPTV_RTSP: CloseConnection(): Start

    Also, I have attached the logs (TVServerLogs-FreeBox.zip) from when I try to scan for channels for France-Freebox, which also results in the same (from my user perspective) crash.
    I don't know why FreeBox is failing. The log is a bit cryptic:
    01-11-2014 17:56:26.150 [722c] [{00871304-84C0-407F-B5F6-C13295BF4D74}] [Info] CMPIPTV_RTSP: OpenConnection(): Start
    01-11-2014 17:56:31.155 [722c] [{00871304-84C0-407F-B5F6-C13295BF4D74}] [Error] CMPIPTV_RTSP: OpenConnection(): error occured while sending OPTIONS command: select/connect() failed: No error
    01-11-2014 17:56:31.156 [722c] [{00871304-84C0-407F-B5F6-C13295BF4D74}] [Info] CMPIPTV_RTSP: CloseConnection(): Start

    "Error occured while sending...", and then "no error" - makes no sense to me. :confused:

    @azzuro
    How did you get FreeBox working? Did you have to use the other merged filter?
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    I use a freebox here :) (french man lol).
    I use also Latest Georgius merged filter (so for IPTV and OV) and it works
    Maybe i can share a build for testing and if ok look for tve35 :)
     

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,948
    5,617
    France - IDF
    Home Country
    France France
    How did you get FreeBox working? Did you have to use the other merged filter?
    hello MM

    i don't use freebox for now, i have moved to an other provider,
    but i can explain a little:
    all the script is here :
    https://forum.team-mediaportal.com/threads/french-free-fr-freebox-tuningdetails.121146/
    https://forum.team-mediaportal.com/attachments/2013-08-21-free-tuningdetail-explication-zip.135152/
    but this was for MP1.5
    i'm not sure, if the tuning detail work with last georgius work.

    About freebox and M3u channel list, @Sebastiii have you updated this one for georgius rework. ?

    PS :
    this is my new internet connection lol : 3869139468.png
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Crasy boy :) too fast internet connexion :)

    Not sure about your question for georgius, i'm using the very latest Filter from him :)
     

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,948
    5,617
    France - IDF
    Home Country
    France France
    what is your tuning detail file ?
     

    Users who are viewing this thread

    Top Bottom