Mediaportal 1.02 and For The Record 1.4RC (1 Viewer)

dvdfreak

Portal Pro
June 13, 2006
979
178
Home Country
Belgium Belgium
But the keep-alive problem is the same before and after the fix, right?

So we need to figure out why... This only seems to affect you for some strange reason, no other people have reported problems with live TV dying on them with 1.4.0.0.
 

dvdfreak

Portal Pro
June 13, 2006
979
178
Home Country
Belgium Belgium
Well, the MediaPortal client will send this signal every 20 seconds to the core services. And we know that keep-alive thread is indeed running on your client, otherwise you wouldn't need the fix. There must be something very basic going wrong on your setup (perhaps firewall/router related?), noone else sees this issue (at least so far).
 

providers

MP Donator
  • Premium Supporter
  • October 3, 2007
    158
    4
    Home Country
    Denmark Denmark
    Firewall is turned off,
    And server and client is on same machine.

    I think the 2 errors has something to do with each other, it happens at the same time.

    This failure always happen when I chanege channel.
    If the zap suceed and the channel is showed for more than 10 sek, then I can watch the same channel rest of the evning.

    I have had this error since first beta of FTR 1.4
    I dident have the error in the old FTR1.3

    and again, all this is on a fresh install.

    Could it help if you got access to the HTPC?
    maybe you could see if I had missed something.

    --------------------------------------------
    Edit:

    If I try to change the way FTR management console connects to Coreservice I get another error.
    TCP: 49942 (error: [Warning][ForTheRecord]: Failed to connect to recorder/tuner at 'net.tcp://localhost:49842/RecorderTunerService', error: Handlingen blev afbrudt under etablering af en forbindelse til net.tcp://localhost:49842/RecorderTunerService.)

    Here I loose connection to core service


    IF I use HTTPS binary, I never get this error.

    Now my question is?
    Is MP not configured to connect via TCP:49942?
    Could it be possible to let it connect via same method as managment console (HTTPS)?

    maybe my problem is here.....


    /providers
     

    dvdfreak

    Portal Pro
    June 13, 2006
    979
    178
    Home Country
    Belgium Belgium
    The warning you see is the core services failing to connect to the recorder/tuner, not the other way around (and definitely not the MediaPortal client). This connection is always over net.tcp.

    During startup this warning is harmless, a second (and third, etc...) connection will be attempted automatically. Only if it keeps failing there is a problem.
     

    providers

    MP Donator
  • Premium Supporter
  • October 3, 2007
    158
    4
    Home Country
    Denmark Denmark
    Im not sure we understand each other, let me try to explain again.


    Without Patch:

    I start to watch a channel, then after a little time I start to zap. If the zap succeed and the channel is showed for more than 10 sek, then I can watch the same channel rest of the evning.
    But sometimes after zap, then MP crashes or TVstream stops.
    (Normaly I can repruduce the error in 5 min)


    Here comes the different error codes for differnt settings.:
    FTR Management Console (Connection to server)


    TCP:
    At zap MP crash. total freze (ctrl, alt, del kill MP)
    Management Console writes in systry that it has no connection to Core Service)


    FTR log writes:
    TCP: 49942 (error: [Warning][ForTheRecord]: Failed to connect to recorder/tuner at 'net.tcp://localhost:49842/RecorderTunerService', error: Handlingen blev afbrudt under etablering af en forbindelse til net.tcp://localhost:49842/RecorderTunerService.)

    MP error log writes:
    2009-06-05 18:04:52.270033 [ERROR][7]: VMR9: Dispose() from wrong thread
    2009-06-05 18:04:52.321033 [ERROR][7]: VMR9: Error removing filter - System.InvalidCastException: Den angivne ændring er ugyldig.
    ved DirectShowLib.IGraphBuilder.RemoveFilter(IBaseFilter pFilter)
    ved MediaPortal.Player.VMR9Util.Dispose()


    -------------------------------------------------------------------------------------------------------------

    HTTPS (binary):
    At zap MP stops the stream.

    FTR log writes:
    [Warning][LiveStreamAlive]: Forcing live stream to stop: 'rtsp://192.168.1.5/stream1.0' (no keep-alive was sent).

    MP error log writes:
    2009-06-05 18:04:52.270033 [ERROR][7]: VMR9: Dispose() from wrong thread
    2009-06-05 18:04:52.321033 [ERROR][7]: VMR9: Error removing filter - System.InvalidCastException: Den angivne ændring er ugyldig.
    ved DirectShowLib.IGraphBuilder.RemoveFilter(IBaseFilter pFilter)
    ved MediaPortal.Player.VMR9Util.Dispose()



    If add your patch then I dont get the error in MP error log.




    So I was thinking if TCP to core services in managment console could be lost,
    Then what about the connection from mediaportal, this is made via TCP.

    Next is, why do I loose it???

    -------------------------------------------------------

    I have just tryed to uninstall FTR, now everything runs with out any problems.
    So there must be some kind of bug with my setup and FTR.
    But I dont know what to look after......

    I also noticed that channel change without FTR is faster, can that be true?
     

    Paranoid Delusion

    Moderation Manager
  • Premium Supporter
  • June 13, 2005
    13,062
    2,978
    Cheshire
    Home Country
    United Kingdom United Kingdom
    thesystemera

    Simple question guys... I believe I'm having some fudimental issues with SQL Server... Just quite simply, when you guys up-plug your router, does your TV pause for a good 10 seconsds.. I was looking at my logs, all I see is constant loosing of signal and I know for a fact that my internet connect is a bit dodgy due to a bad filter splitting my phone line...

    Basically could all my errors be due to my bad internet connection, and if so, why the hell does my network connection affect my tv ???

    If you are using singleseat and do not want any network disconnects to not affect MP (TVServer\MP\SQL relies on network protocols to work), then you need to install the MSLoopback device, instructions in the sticky "usefull posts" found in the newcomers forum.

    Also there is a setting under MPconfig\plugins\ForTheRecord TV's configuration to use ts file if possible, make sure this is enabled.

    sshot-54.jpg

    Regards
     

    providers

    MP Donator
  • Premium Supporter
  • October 3, 2007
    158
    4
    Home Country
    Denmark Denmark
    I have now tryed to add loopback driver + use ts file if possible.
    I think that channel change is faster, but I stream still stops in MP with FTR installed.
     

    Paranoid Delusion

    Moderation Manager
  • Premium Supporter
  • June 13, 2005
    13,062
    2,978
    Cheshire
    Home Country
    United Kingdom United Kingdom
    providers

    I'm not sure why you are experiencing the problem you are getting, should be no difference between MP and FTR, but just to be certain, this only works with singleseat machines, and anywhere where the "localhost" is used, this needs to be changed to the ip address you have configured, also this may involve stop\starting both the FTR service and TVServervice and a reboot.

    I have posted some examples, just so you are perfectly clear what i mean.

    sshot-55.jpg sshot-56.jpg sshot-57.jpg

    Hope that may help.
     

    s_ranzau

    New Member
    June 5, 2009
    2
    0
    Same issue as providers

    I'm experiencing the exact same issues as providers. Zapping through channels and suddenly it freezes.
    After MP crashes evr.log and TSreader.log restarts and FTR status notifier still has the status of "Streaming <channelname>". MP is totally dead, and I have to kill the process manually.

    When I restart MP I can reproduce the problem within 10 minutes. Sometimes when I select the first channel.


    ForTheRecord.log:
    05-06-2009 22:45:32 [Warning][LiveStreamAlive]: Forcing live stream to stop: 'rtsp://10.0.0.200/stream2.0' (no keep-alive was sent).

    Error.log:
    2009-06-05 22:45:34.797201 [ERROR][7]: VMR9: Dispose() from wrong thread
    2009-06-05 22:45:35.041326 [ERROR][7]: VMR9: Error removing filter - System.InvalidCastException: Den angivne ændring er ugyldig.
    ved DirectShowLib.IGraphBuilder.RemoveFilter(IBaseFilter pFilter)
    ved MediaPortal.Player.VMR9Util.Dispose()

    Mediaportal.log:
    2009-06-05 22:45:28.406985 [Info.][MPMain]: TsReaderPlayer:seekabs:1907010000 start:0 end:1907010000
    2009-06-05 22:45:28.436280 [Info.][MPMain]: TsReaderPlayer seek done:0
    2009-06-05 22:45:28.436280 [Info.][MPMain]: TSReaderPlayer: current pos:190,701 dur:190,701
    2009-06-05 22:45:28.438233 [Info.][MPMain]: TSReaderPlayer:Continue graph
    2009-06-05 22:45:28.842504 [Info.][12]: PlaneScene: video WxH : 704x576
    2009-06-05 22:45:28.843481 [Info.][12]: PlaneScene: screen WxH : 1920x1080
    2009-06-05 22:45:34.744470 [Info.][7]: g_Player.OnStopped()
    2009-06-05 22:45:34.745447 [Info.][7]: TSReaderPlayer:cleanup DShow graph False
    2009-06-05 22:45:34.746423 [Info.][7]: TSReaderPlayer: vmr9 disable
    2009-06-05 22:45:34.797201 [Info.][7]: state:confused:topped 0
    2009-06-05 22:45:34.797201 [Info.][7]: VMR9: Dispose() from wrong thread
    2009-06-05 22:45:35.040350 [Info.][7]: VMR9: Error removing filter - System.InvalidCastException: Den angivne ændring er ugyldig.
    ved DirectShowLib.IGraphBuilder.RemoveFilter(IBaseFilter pFilter)
    ved MediaPortal.Player.VMR9Util.Dispose()
    2009-06-05 22:45:35.110658 [Info.][7]: VMR9: ReleaseComObject(): 0
    2009-06-05 22:45:35.643827 [Info.][7]: TSReaderPlayer: Cleanup done
    2009-06-05 22:45:35.644803 [Info.][7]: TSReaderPlayer: Disabling DX9 exclusive mode
    2009-06-05 22:45:35.644803 [Info.][7]: TSReaderPlayer:cleanup DShow graph False
    2009-06-05 22:45:35.644803 [Info.][7]: TSReaderPlayer:grapbuilder=null
    2009-06-05 22:45:35.684840 [Info.][7]: TSReaderPlayer: Cleanup done
     

    Users who are viewing this thread

    Top Bottom