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

Nervesagent

Portal Pro
February 26, 2014
150
19
44
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:
[MPIPTVSource]

; maximum log size (in bytes)
MaxLogSize  = 10485760

; log verbosity: 0 = nothing, 1 = error, 2 = warning, 3 = info, 4 = verbose, 5 = data
LogVerbosity  = 3

; waiting timeout for conditional access (in ms)
ConditionalAccessWaitingTimeout  = 2000

; maximum plugins to load
MaxPlugins  = 256

; count of IPTV buffers
IptvBufferCount  = 16

; size of IPTV buffer (in bytes)
IptvBufferSize  = 32768

; specifies if output from IPTV filter have to be saved to file: 0 = no dump, 1 = dump
DumpRawTS  = 0

; specifies if discontinuities have to be analyzed: 0 = do not analyze, 1 = analyze
AnalyzeDiscontinuity  = 1

; specifies if input packets to IPTV filter have to be saved to file: 0 = no dump, 1 = dump
DumpInputPackets  = 0

[UDP]

; waiting timeout for receiving data (in ms, multiplies of 1000)
UdpReceiveDataTimeout  = 5000

; default multiplier for buffer size (buffer size is IptvBufferSize * UdpInternalBufferMultiplier)
; in default configuration is buffer size: 32768 * 8 = 262144 (256 kB)
UdpInternalBufferMultiplier  = 8

; maximum multiplier for buffer size
; in default configuration is maximum buffer size: 32768 * 1024 = 33554432 (32 MB)
UdpInternalBufferMaxMultiplier  = 1024

; maximum attempts of opening connection
UdpOpenConnectionMaximumAttempts  = 5

[RTP]
; RTP is based on UDP
; RTP applies all UDP configuration parameters (but some of them are overriden)

; waiting timeout for receiving data (in ms, multiplies of 1000)
RtpReceiveDataTimeout  = 5000

; maximum failed RTP packets, after this count is RTP protocol switched to UDP protocol
RtpMaxFailedPackets  = 5

; maximum attempts of opening connection
RtpOpenConnectionMaximumAttempts  = 5

[HTTP]

; waiting timeout for receiving data (in ms, multiplies of 1000)
HttpReceiveDataTimeout  = 20000

; default multiplier for buffer size (buffer size is IptvBufferSize * HttpInternalBufferMultiplier)
; in default configuration is buffer size: 32768 * 8 = 262144 (256 kB)
HttpInternalBufferMultiplier  = 8

; maximum multiplier for buffer size
; in default configuration is maximum buffer size: 32768 * 1024 = 33554432 (32 MB)
HttpInternalBufferMaxMultiplier  = 1024

; maximum attempts of opening connection
HttpOpenConnectionMaximumAttempts  = 50

[KARTINA]
; KARTINA is based on HTTP
; KARTINA applies all HTTP configuration parameters (but some of them are overriden)

; waiting timeout for receiving data (in ms, multiplies of 1000)
KartinaReceiveDataTimeout  = 20000

; maximum attempts of opening connection
KartinaOpenConnectionMaximumAttempts  = 50

[FILE]

; waiting timeout for receiving data (in ms, multiplies of 1000)
FileReceiveDataTimeout  = 5000

; repeat limit for reading file : 0 = no limit, 1 = play only once, 2 = play twice, ...
FileRepeatLimit  = 0

; default multiplier for buffer size (buffer size is IptvBufferSize * FileInternalBufferMultiplier)
; in default configuration is buffer size: 32768 * 8 = 262144 (256 kB)
FileInternalBufferMultiplier  = 8

; maximum attempts of opening connection
FileOpenConnectionMaximumAttempts  = 3

[RTSP]
; RTSP is based on UDP
; RTSP applies all UDP configuration parameters (but some of them are overriden)

; waiting timeout for receiving data (in ms, multiplies of 1000)
RtspReceiveDataTimeout  = 10000

; maximum payload size that we should expect to receive
RtspUdpSinkMaxPayloadSize  = 12288

; minimum UDP port used for communication
RtspUdpPortRangeStart  = 45000

; maximum UDP port used for communication
RtspUdpPortRangeEnd  = 46000

; maximum count of tear down requests
RtspTeardownRequestMaximumCount  = 5

; timeout for tear down request (in ms)
RtspTeardownRequestTimeout  = 2000

; maximum attempts of opening connection
RtspOpenConnectionMaximumAttempts  = 5

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:
[2015-05-08 11:26:54,742] [Log  ] [7  ] [ERROR] - Exception  :TvLibrary.TvException: Unable to start graph
  at TvLibrary.Implementations.DVB.TvCardDVBIPBuiltIn.RunGraph(Int32 subChannel, String url)
  at TvLibrary.Implementations.DVB.TvCardDVBIP.DoTune(Int32 subChannelId, IChannel channel, Boolean ignorePMT)

[2015-05-08 11:26:54,749] [Log  ] [7  ] [ERROR] - Exception  :TvLibrary.TvException: Unable to start graph
  at TvLibrary.Implementations.DVB.TvCardDVBIPBuiltIn.RunGraph(Int32 subChannel, String url)
  at TvLibrary.Implementations.DVB.TvCardDVBIP.DoTune(Int32 subChannelId, IChannel channel, Boolean ignorePMT)
  at TvLibrary.Implementations.DVB.TvCardDVBIP.Tune(Int32 subChannelId, IChannel channel)
  at TvService.CardTuner.Tune(IUser& user, IChannel channel, Int32 idChannel)
[DOUBLEPOST=1431081878][/DOUBLEPOST]Sorry..forgot to attach the logs..
 
Last edited:

mm1352000

Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    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
     

    Nervesagent

    Portal Pro
    February 26, 2014
    150
    19
    44
    Home Country
    Denmark Denmark
    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
    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..
     

    Nervesagent

    Portal Pro
    February 26, 2014
    150
    19
    44
    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
     

    georgius

    Retired Team Member
  • Premium Supporter
  • October 31, 2010
    1,376
    654
    Bratislava
    Home Country
    Slovakia Slovakia
    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).
     

    Nervesagent

    Portal Pro
    February 26, 2014
    150
    19
    44
    Home Country
    Denmark Denmark
    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).
    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...
     

    georgius

    Retired Team Member
  • Premium Supporter
  • October 31, 2010
    1,376
    654
    Bratislava
    Home Country
    Slovakia Slovakia
    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.
     

    Nervesagent

    Portal Pro
    February 26, 2014
    150
    19
    44
    Home Country
    Denmark Denmark
    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.

    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?
     

    Users who are viewing this thread

    Top Bottom