An unknown error occurred (unable to start graph) using DVBIP

Discussion in 'Watch / Listen Media' started by Nervesagent, May 8, 2015.

  1. Nervesagent

    Nervesagent Portal Pro

    Joined:
    February 26, 2014
    Messages:
    150
    Likes Received:
    7
    Gender:
    Male
    Ratings:
    +14 / 0
    Home Country:
    Denmark Denmark
    Situation:
    Multiseat MP1.11
    Network tuner Anysee N7 (single tuner that outputs http streams)
    Sometimes when changing channels we get the error: an unknown error occurred..
    It's basically this problem descibed here:
    https://forum.team-mediaportal.com/threads/unknown-error-occurred-live-tv.127853/
    but with the Mediaportal dvbip filter instead of a tuner card.. is there some time-out I can set to prevent this error?
    I've already set all the General - scan value to ridiculous (> 20secs), but the error comes way sooner.
    Also made some minor modifications in mpiptvsource.ini but these did not help.

    Code (Text):
    1.  
    2. [MPIPTVSource]
    3.  
    4. ; maximum log size (in bytes)
    5. MaxLogSize  = 10485760
    6.  
    7. ; log verbosity: 0 = nothing, 1 = error, 2 = warning, 3 = info, 4 = verbose, 5 = data
    8. LogVerbosity  = 3
    9.  
    10. ; waiting timeout for conditional access (in ms)
    11. ConditionalAccessWaitingTimeout  = 2000
    12.  
    13. ; maximum plugins to load
    14. MaxPlugins  = 256
    15.  
    16. ; count of IPTV buffers
    17. IptvBufferCount  = 16
    18.  
    19. ; size of IPTV buffer (in bytes)
    20. IptvBufferSize  = 32768
    21.  
    22. ; specifies if output from IPTV filter have to be saved to file: 0 = no dump, 1 = dump
    23. DumpRawTS  = 0
    24.  
    25. ; specifies if discontinuities have to be analyzed: 0 = do not analyze, 1 = analyze
    26. AnalyzeDiscontinuity  = 1
    27.  
    28. ; specifies if input packets to IPTV filter have to be saved to file: 0 = no dump, 1 = dump
    29. DumpInputPackets  = 0
    30.  
    31. [UDP]
    32.  
    33. ; waiting timeout for receiving data (in ms, multiplies of 1000)
    34. UdpReceiveDataTimeout  = 5000
    35.  
    36. ; default multiplier for buffer size (buffer size is IptvBufferSize * UdpInternalBufferMultiplier)
    37. ; in default configuration is buffer size: 32768 * 8 = 262144 (256 kB)
    38. UdpInternalBufferMultiplier  = 8
    39.  
    40. ; maximum multiplier for buffer size
    41. ; in default configuration is maximum buffer size: 32768 * 1024 = 33554432 (32 MB)
    42. UdpInternalBufferMaxMultiplier  = 1024
    43.  
    44. ; maximum attempts of opening connection
    45. UdpOpenConnectionMaximumAttempts  = 5
    46.  
    47. [RTP]
    48. ; RTP is based on UDP
    49. ; RTP applies all UDP configuration parameters (but some of them are overriden)
    50.  
    51. ; waiting timeout for receiving data (in ms, multiplies of 1000)
    52. RtpReceiveDataTimeout  = 5000
    53.  
    54. ; maximum failed RTP packets, after this count is RTP protocol switched to UDP protocol
    55. RtpMaxFailedPackets  = 5
    56.  
    57. ; maximum attempts of opening connection
    58. RtpOpenConnectionMaximumAttempts  = 5
    59.  
    60. [HTTP]
    61.  
    62. ; waiting timeout for receiving data (in ms, multiplies of 1000)
    63. HttpReceiveDataTimeout  = 20000
    64.  
    65. ; default multiplier for buffer size (buffer size is IptvBufferSize * HttpInternalBufferMultiplier)
    66. ; in default configuration is buffer size: 32768 * 8 = 262144 (256 kB)
    67. HttpInternalBufferMultiplier  = 8
    68.  
    69. ; maximum multiplier for buffer size
    70. ; in default configuration is maximum buffer size: 32768 * 1024 = 33554432 (32 MB)
    71. HttpInternalBufferMaxMultiplier  = 1024
    72.  
    73. ; maximum attempts of opening connection
    74. HttpOpenConnectionMaximumAttempts  = 50
    75.  
    76. [KARTINA]
    77. ; KARTINA is based on HTTP
    78. ; KARTINA applies all HTTP configuration parameters (but some of them are overriden)
    79.  
    80. ; waiting timeout for receiving data (in ms, multiplies of 1000)
    81. KartinaReceiveDataTimeout  = 20000
    82.  
    83. ; maximum attempts of opening connection
    84. KartinaOpenConnectionMaximumAttempts  = 50
    85.  
    86. [FILE]
    87.  
    88. ; waiting timeout for receiving data (in ms, multiplies of 1000)
    89. FileReceiveDataTimeout  = 5000
    90.  
    91. ; repeat limit for reading file : 0 = no limit, 1 = play only once, 2 = play twice, ...
    92. FileRepeatLimit  = 0
    93.  
    94. ; default multiplier for buffer size (buffer size is IptvBufferSize * FileInternalBufferMultiplier)
    95. ; in default configuration is buffer size: 32768 * 8 = 262144 (256 kB)
    96. FileInternalBufferMultiplier  = 8
    97.  
    98. ; maximum attempts of opening connection
    99. FileOpenConnectionMaximumAttempts  = 3
    100.  
    101. [RTSP]
    102. ; RTSP is based on UDP
    103. ; RTSP applies all UDP configuration parameters (but some of them are overriden)
    104.  
    105. ; waiting timeout for receiving data (in ms, multiplies of 1000)
    106. RtspReceiveDataTimeout  = 10000
    107.  
    108. ; maximum payload size that we should expect to receive
    109. RtspUdpSinkMaxPayloadSize  = 12288
    110.  
    111. ; minimum UDP port used for communication
    112. RtspUdpPortRangeStart  = 45000
    113.  
    114. ; maximum UDP port used for communication
    115. RtspUdpPortRangeEnd  = 46000
    116.  
    117. ; maximum count of tear down requests
    118. RtspTeardownRequestMaximumCount  = 5
    119.  
    120. ; timeout for tear down request (in ms)
    121. RtspTeardownRequestTimeout  = 2000
    122.  
    123. ; maximum attempts of opening connection
    124. RtspOpenConnectionMaximumAttempts  = 5
    125.  
    With MP1.10 I did not get this specific error message, but sometimes it did have a problem tuning to a channel, but then it would take the scan timeout I configured before nagging.



    Code (Text):
    1.  
    2. [2015-05-08 11:26:54,742] [Log  ] [7  ] [ERROR] - Exception  :TvLibrary.TvException: Unable to start graph
    3.   at TvLibrary.Implementations.DVB.TvCardDVBIPBuiltIn.RunGraph(Int32 subChannel, String url)
    4.   at TvLibrary.Implementations.DVB.TvCardDVBIP.DoTune(Int32 subChannelId, IChannel channel, Boolean ignorePMT)
    5.  
    6. [2015-05-08 11:26:54,749] [Log  ] [7  ] [ERROR] - Exception  :TvLibrary.TvException: Unable to start graph
    7.   at TvLibrary.Implementations.DVB.TvCardDVBIPBuiltIn.RunGraph(Int32 subChannel, String url)
    8.   at TvLibrary.Implementations.DVB.TvCardDVBIP.DoTune(Int32 subChannelId, IChannel channel, Boolean ignorePMT)
    9.   at TvLibrary.Implementations.DVB.TvCardDVBIP.Tune(Int32 subChannelId, IChannel channel)
    10.   at TvService.CardTuner.Tune(IUser& user, IChannel channel, Int32 idChannel)
    11.  
    [DOUBLEPOST=1431081878][/DOUBLEPOST]Sorry..forgot to attach the logs..
     
    Last edited: May 8, 2015
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,527
    Likes Received:
    4,738
    Ratings:
    +8,205 / 17
    Home Country:
    New Zealand New Zealand
    Hello again

    It looks like you may be using the combined IPTV/URL-splitter filter, instead of the standard IPTV filter that is bundled with TV Server.
    Can you confirm?

    Regards,
    mm
     
  4. Nervesagent

    Nervesagent Portal Pro

    Joined:
    February 26, 2014
    Messages:
    150
    Likes Received:
    7
    Gender:
    Male
    Ratings:
    +14 / 0
    Home Country:
    Denmark Denmark
    Ehm... I do have OnlineVideos 2.0.0.0 (that automatically installs the new filter right?)
    How do I check? or... how do I reset the normal filter?
    I do see that combined filter in my tv-server plugins, but it's disabled..
     
  5. mm1352000
    • Team MediaPortal

    mm1352000 Development Group

    Joined:
    September 1, 2008
    Messages:
    21,527
    Likes Received:
    4,738
    Ratings:
    +8,205 / 17
    Home Country:
    New Zealand New Zealand
    I don't know.

    I was hoping you would know. :)
    Now that I look at the log again:
    08-05-2015 11:41:41.981 [16a4] [{32615020-007B-418D-993A-1C36200F9127}] [Warning] MPUrlSourceSplitter_Parser_Mpeg2TS:

    So, I think you need @georgius
     
  6. Nervesagent

    Nervesagent Portal Pro

    Joined:
    February 26, 2014
    Messages:
    150
    Likes Received:
    7
    Gender:
    Male
    Ratings:
    +14 / 0
    Home Country:
    Denmark Denmark
    i did try enabling the new combined iptv url filter but it did not change anything. then i went on trying mp2 with tvservice 3.5..that was perfect...but mp2 needs some more tweaking for me to replace mp1.it looks limited now but very promising
     
  7. georgius
    • Premium Supporter

    georgius Retired Team Member

    Joined:
    October 31, 2010
    Messages:
    1,376
    Likes Received:
    437
    Gender:
    Male
    Occupation:
    Software Architect
    Location:
    Bratislava
    Ratings:
    +668 / 0
    Home Country:
    Slovakia Slovakia
    Show System Specs
    I can check problem probably tomorrow (May 10th, 2015), today I'm going to wedding.
     
    • Thank You! Thank You! x 1
  8. georgius
    • Premium Supporter

    georgius Retired Team Member

    Joined:
    October 31, 2010
    Messages:
    1,376
    Likes Received:
    437
    Gender:
    Male
    Occupation:
    Software Architect
    Location:
    Bratislava
    Ratings:
    +668 / 0
    Home Country:
    Slovakia Slovakia
    Show System Specs
    Meanwhile, you can try to remove MPUrlSourceSplitter_Parser_Mpeg2TS.dll from filter's folder, maybe parser has problem (in Ubuntu I can't read logs and now I'm repairing RAID array).
     
  9. Nervesagent

    Nervesagent Portal Pro

    Joined:
    February 26, 2014
    Messages:
    150
    Likes Received:
    7
    Gender:
    Male
    Ratings:
    +14 / 0
    Home Country:
    Denmark Denmark
    Good luck with that..

    Renaming the dll did not solve the problem.
    It takes about 5 seconds after switching channels before the error appears. It looks like if the channel loads faster than 5 seconds all is fine. If I select the channel the second time after the error it will show up...
     
  10. georgius
    • Premium Supporter

    georgius Retired Team Member

    Joined:
    October 31, 2010
    Messages:
    1,376
    Likes Received:
    437
    Gender:
    Male
    Occupation:
    Software Architect
    Location:
    Bratislava
    Ratings:
    +668 / 0
    Home Country:
    Slovakia Slovakia
    Show System Specs
    Can you repeat the error? In MPIPTVSource.log is nothing about error, there is logged information from 11:41:41, but error occured on 11:26:54. From error code it seems that connection to HTTP server was not opened or were not received any data. Clear logs and try again.
     
  11. Nervesagent

    Nervesagent Portal Pro

    Joined:
    February 26, 2014
    Messages:
    150
    Likes Received:
    7
    Gender:
    Male
    Ratings:
    +14 / 0
    Home Country:
    Denmark Denmark
    It's just a hunch, but I think my issue has something to do with the timeshifting not stopping before switching channels.
    What happens is:
    1- I start MediaPortal and turn on TV. Channel is displayed immediately (=GOOD)
    2- I switch a channel and I get Unknown Error Occurred after 5 secs.
    3- I switch to the same channel again and it works.

    Could the order be the problem (combined with the fact I'm using a single tuner dvb->ip device called anysee N7?
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!