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

Nervesagent

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

Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,218
    New Zealand New Zealand
    Country flag
    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
    40
    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
    40
    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
    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
    40
    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
    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
    40
    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 (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    vvulture UNKNOWN ERROR when starting live TV General Support 6
    badboyxx TV card is listed as unknown in TV-server config General 4
    pur_berger CineV2 suddenly shown as "Unknown" in TV Server Television (MyTV frontend and TV-Server) 4
    F MediaPortal 1.16 server crashing due to user error? General Support 5
    CanadianEh MP TV server rebuild with Colossus 2 - Kodi clients receive PMT error when playing videos recoreded by Colossus 2 TV-Server 1
    M 1.25.0 Tv Server Configuration Italian Dvb-t2 test channel preview error Television (MyTV frontend and TV-Server) 7
    G [solved] timeshift error Newcomers Forum 2
    C Can't install any extensions - DLL error Installation, configuration support 19
    horned_reaper Errors in FH log ... Fanart Handler 1
    joecrow 1.25.0 5031: Error on Install. Bugreports 24
    M MediaPortal2 TV Config Error on Install (0x80004005) General 7
    J Blue Screen Error Submit: Bug Reports 0
    G Q about scheduling weekly series when epg lists duplicate back to back episodes each week General Support 2
    Rob Hexenmeister Dependency error on install v2.3.2.0 OnlineVideos 28
    catavolt [WiP] When changing theme in my skins, I always get this error message in logs MediaPortal 1 9
    F Error invoking action 'GetNowNextProgramForGroup' Submit: Bug Reports 3
    B MP 2.2.3 Error playing videos from NAS Submit: Bug Reports 2
    doskabouter Build errors MediaPortal 1 9
    ajs Trakt error when start with MP crash Trakt 1
    horned_reaper MediaPortal configuration error log message General Support 1
    horned_reaper MiniDisplayStatus error log messages General Support 7
    horned_reaper [solved] GUITextureManager Load2 log error messages Fanart Handler 1
    horned_reaper MediaPortal.LastFM.LastFMException error log message General Support 1
    R [solved] No Response from Home Page - Error Newcomers Forum 0
    globaldonkey Music Database Error Listen Music 1
    Similar threads

























    Top Bottom