MP2 - Spring'16 No player for live tv (Windows 7) (2 Viewers)

Status
Not open for further replies.

morpheus_xx

Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    While checking our code and some documentation I found a reference to a "required patch" for Windows 7: https://support.microsoft.com/en-us/kb/2533623. Can you try to install this for Windows 7? MP2 is x86 only, so maybe this is enough. If not, please try the x64 version as well.

    After installation please try again to start TV from MP2-Client and post your logfiles to the thread.

    Next step would be to provide you a modified VideoPlayers plugin with extended logging. But the other step first, please :)
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    I have create a VideoPlayers plugin for testing. It contains more logging in case of load failure. This build is only intended for systems which currently have problems with TV / recording playback.

    Instructions:
    • Please take a backup of "VideoPlayers" from folder C:\Program Files (x86)\Team MediaPortal\MP2-Client\Plugins
    • Overwrite with contents of attached archive (7zip)
    • Start MP2-Client, try to run LiveTV and/or recordings
    • Use the MP2-LogCollector and post the created log archive here to this thread.
    Thanks!
     

    Attachments

    • VideoPlayers_FilterLoadTest_1.7z
      602.1 KB

    cewillis

    MP Donator
  • Premium Supporter
  • August 27, 2010
    327
    13
    Home Country
    United States of America United States of America
    While checking our code and some documentation I found a reference to a "required patch" for Windows 7: https://support.microsoft.com/en-us/kb/2533623.

    Hi Morpheus,

    Unfortunately, I just missed your messages before reverting my system to MP1 (on the OTHER DISK) for some scheduled recording -- so it will be tomorrow morning, but I will certainly do as you suggest.
    That required patch doesn't sound like anything to do with MP2 operation, but I'll try it.

    I will also load the new VideoPlayers before doing anything. Your file extracts to a folder with the same name, which contains a 'VideoPlayers' folder. I assume I should just copy the 'VideoPlayers' folder to C:\Program Files (x86)\Team MediaPortal\MP2-Client\Plugins (after backup). Probably be obvious when I look at it.

    Speaking of recordings, just for fun, I copied an MP1 recording to the MP2 recordings folder. Seems like it should work in MP2, since same TVserver -- but I don't know. Ar any rate, the recording does NOT show up in MP2>TV>Recordings (so it doesn't play either). Does play fine with WMP.

    Did you notice that I mentioned a different error?
    I also noticed a different error - sometimes it's 'no player', but sometimes it's 'error invoking action get channel'​
    .
     

    cewillis

    MP Donator
  • Premium Supporter
  • August 27, 2010
    327
    13
    Home Country
    United States of America United States of America
    OK, some good news, and some other news.
    The W7 patch for x86 is reported as 'not appropriate for this computer' (as it's a 64 bit install). The 64 bit patch installed fine.
    First time I started MP2 after the patch, clicking a tv channel -- WORKS! I was able to play several channels from the channel list and from the guide with no problem. Also able to start, and later play back recordings.
    Then things started getting, ah, flaky. Trying to play channels started failing. Many 'Error, unable to invoke Get Channel' errors, and the longer I tried, the worse it seemed to get.
    Also, unable to delete recordings (after the first try worked).
    I'm including the latest unfiltered logs -- maybe some of the older versions will show the 'good' behavior, and the last ones, the 'flaky'.
    After 40+ years in (now ancient) C.S., I'm familiar with software that almost works, but not quite.
    Also familiar with swearing that the software is screwing up, later to discover that the software is right, and the user (or developer) is the one screwing up.

    I have not installed the test version of VideoPlayers -- should I still do that? I can probably do it this afternoon.
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    Good progress :)
    Could you uninstall the windows update and then apply the VideoPlayer patch?
    I want to test if my code change fixes the loading of the filter. It does try different flags which could solve the issue
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    Seems we have found the original issue (at least for Windows 7):
    We are using LoadLibraryEx to load the DirectShow filter from file name by some flags that are stated as:
    Windows 7, Windows Server 2008 R2, Windows Vista, and Windows Server 2008: This value requires KB2533623 to be installed.

    Windows Server 2003 and Windows XP: This value is not supported.

    Thanks to @cewillis we could confirm that installing the mentioned KB patch helps to fix playback issue.

    I then reworked the filter loading to use fallback flags and to correctly unload the dll when it is no longer needed.

    Currently a test build is in the making (based on last public weekly build), stay tuned :)
     

    breese

    Retired Team Member
  • Premium Supporter
  • July 11, 2011
    3,902
    770
    65
    Arlington Heights, Illinois
    Home Country
    United States of America United States of America
    with the latest set of logs, it appears there might be 3 things happening here.
    1-The possibility of a Pre-registered channel recording
    2-The failure of tuner #6 ever starting - Never once in the logs does tuner #6 work....
    3-Once a recording is started and the ts file is in use, tuner #5 cannot be used (normal if its the locked tuner)

    Every time the MP2-service is started, this channel is tuned on tuner #5 Yet the Client is Not Started

    [2016-12-02 07:19:02,462] [3631 ] [TVService] [INFO ] - TV Service: Started
    [2016-12-02 07:19:03,342] [4511 ] [DVB EPG timer] [INFO ] - card: Tune on card 5 to subchannel Unknown 691250-4

    [2016-12-02 07:19:03,442] [4611 ] [DVB EPG timer] [INFO ] - dvb: WinTv CI module not detected.
    [2016-12-02 07:19:03,482] [4651 ] [DVB EPG timer] [INFO ] - dvb: Render ..->[TsWriter]
    [2016-12-02 07:19:03,502] [4671 ] [DVB EPG timer] [INFO ] - dvb:confused:ubmiting tunerequest Channel:Unknown 691250-4 subChannel:-1
    [2016-12-02 07:19:03,502] [4671 ] [DVB EPG timer] [INFO ] - dvb:Getting new subchannel
    [2016-12-02 07:19:03,502] [4671 ] [DVB EPG timer] [INFO ] - dvb:GetNewSubChannel:0 #0
    [2016-12-02 07:19:03,512] [4681 ] [DVB EPG timer] [INFO ] - card: AddTuneEvent card: 5 / subch: 0

    Timeshift on #5
    [2016-12-02 07:22:19,959] [201128 ] [66 ] [INFO ] - user:Local-0 card:5 sub:0 add stream:C:\ProgramData\Team MediaPortal\MediaPortal TV Server\timeshiftbuffer\live5-0.ts.tsbuffer

    Channel Change - Nothing Happens
    [2016-12-02 07:25:16,197] [377366 ] [69 ] [INFO ] - card: Tune on card 6 to subchannel KTTU HD
    [2016-12-02 07:25:16,213] [377382 ] [69 ] [INFO ] - dvb:confused:ubmiting tunerequest Channel:KTTU HD subChannel:-1
    [2016-12-02 07:25:16,213] [377382 ] [69 ] [INFO ] - dvb:Getting new subchannel
    [2016-12-02 07:25:16,213] [377382 ] [69 ] [INFO ] - dvb:GetNewSubChannel:0 #0
    [2016-12-02 07:25:16,213] [377382 ] [69 ] [INFO ] - card: AddTuneEvent card: 6 / subch: 0

    [2016-12-02 07:25:37,085] [398254 ] [69 ] [ERROR] - Starting timeshifting failed with result NoPmtFound

    Continues like that from one channel on tuner #5 working to one channel on tuner #6 not working.
    Then you start a recording
    [2016-12-02 07:31:19,848] [741016 ] [scheduler thread] [INFO ] - card: Tune on card 5 to subchannel KGUN HD
    [2016-12-02 07:31:19,865] [741034 ] [scheduler thread] [INFO ] - dvb:confused:ubmiting tunerequest Channel:KGUN HD subChannel:-1
    [2016-12-02 07:31:19,865] [741034 ] [scheduler thread] [INFO ] - dvb:Getting new subchannel
    [2016-12-02 07:31:19,865] [741034 ] [scheduler thread] [INFO ] - dvb:GetNewSubChannel:0 #0
    [2016-12-02 07:31:19,865] [741034 ] [scheduler thread] [INFO ] - card: AddTuneEvent card: 5 / subch: 0

    [2016-12-02 07:31:30,667] [751836 ] [scheduler thread] [INFO ] - SlimTvService: RecordingStarted: C:\Record\manual - KGUN HD - 2016-12-02.ts

    [2016-12-02 07:31:30,667] [751836 ] [scheduler thread] [INFO ] - ImporterWorker: Refresh for path '{e88e64a8-0233-4fdf-ba27-0b44c6a39ae9}:///C:/Record/', MediaCategories: 'Video', including subdirectories requested...
    [2016-12-02 07:31:30,745] [751914 ] [4 ] [INFO ] - ImporterWorker: Scheduled ImportJob(#1) (Activated) (Path ='{e88e64a8-0233-4fdf-ba27-0b44c6a39ae9}:///C:/Record/', ImportJobType='Refresh', IncludeSubdirectories='True')
    [2016-12-02 07:31:31,182] [752350 ] [56 ] [INFO ] - PluginManager: Plugin 'WICThumbnailProvider' (id 'ff0f8b29-881e-48a9-9a47-4ef04c6c56e0') activated.
    [2016-12-02 07:31:31,322] [752491 ] [4 ] [INFO ] - ImporterWorker.ImportJob(#1): Activated


    First the Video Thumbnailer connot create a tunmbnail for the recording
    [2016-12-02 07:31:31,385] [752553 ] [56 ] [WARN ] - VideoThumbnailer: Failed to create thumbnail for resource 'C:\Record\manual - KGUN HD - 2016-12-02.ts'

    Then the next channel change fails on Both Tuners Yet tuner #6 is registered as Available
    [2016-12-02 07:38:36,687] [1177856] [scheduler thread] [INFO ] - Controller: card:5 type:Atsc users: 1
    [2016-12-02 07:38:36,687] [1177856] [scheduler thread] [INFO ] - Controller: card:5 type:Atsc is not available, tuned to different transponder

    [2016-12-02 07:38:36,687] [1177856] [scheduler thread] [INFO ] - Controller: card:6 type:Atsc users: 0
    [2016-12-02 07:38:36,687] [1177856] [scheduler thread] [INFO ] - Controller: card:6 type:Atsc is available

    [2016-12-02 07:38:36,687] [1177856] [scheduler thread] [INFO ] - card: Tune on card 6 to subchannel Hallmar
    [2016-12-02 07:38:36,703] [1177872] [scheduler thread] [INFO ] - dvb:confused:ubmiting tunerequest Channel:Hallmar subChannel:-1
    [2016-12-02 07:38:36,703] [1177872] [scheduler thread] [INFO ] - dvb:Getting new subchannel
    [2016-12-02 07:38:36,703] [1177872] [scheduler thread] [INFO ] - dvb:GetNewSubChannel:0 #0
    [2016-12-02 07:38:36,703] [1177872] [scheduler thread] [INFO ] - card: AddTuneEvent card: 6 / subch: 0

    [2016-12-02 07:38:36,703] [1177872] [scheduler thread] [INFO ] - dvb:confused:ubmit tunerequest size:1 new:0
    [2016-12-02 07:38:36,703] [1177872] [scheduler thread] [INFO ] - RunGraph
    [2016-12-02 07:38:36,703] [1177872] [scheduler thread] [INFO ] - dvb: RunGraph
    [2016-12-02 07:38:36,781] [1177950] [scheduler thread] [INFO ] - tvcard:FreeSubChannel: subchannels count 1 subch#0
    [2016-12-02 07:38:36,781] [1177950] [scheduler thread] [INFO ] - DVB subch:0 Decompose()
    [2016-12-02 07:38:36,781] [1177950] [scheduler thread] [INFO ] - tvcard:FreeSubChannel : no subchannels present, pausing graph
    [2016-12-02 07:38:36,781] [1177950] [scheduler thread] [INFO ] - tvcard:FreeAllSubChannels
    [2016-12-02 07:38:36,781] [1177950] [scheduler thread] [ERROR] -
    TvLibrary.TvException: Unable to start graph
    at TvLibrary.Implementations.DVB.TvCardDvbBase.RunGraph(Int32 subChannel)
    at TvLibrary.Implementations.DVB.TvCardDvbBase.DoTune(Int32 subChannelId, IChannel channel, Boolean ignorePMT)
    at TvLibrary.Implementations.DVB.TvCardATSC.Tune(Int32 subChannelId, IChannel channel)
    [2016-12-02 07:38:36,781] [1177950] [scheduler thread] [ERROR] -
    TvLibrary.TvException: Unable to start graph
    at TvLibrary.Implementations.DVB.TvCardDvbBase.RunGraph(Int32 subChannel)
    at TvLibrary.Implementations.DVB.TvCardDvbBase.DoTune(Int32 subChannelId, IChannel channel, Boolean ignorePMT)
    at TvLibrary.Implementations.DVB.TvCardATSC.Tune(Int32 subChannelId, IChannel channel)
    at TvService.CardTuner.Tune(IUser& user, IChannel channel, Int32 idChannel)
     

    cewillis

    MP Donator
  • Premium Supporter
  • August 27, 2010
    327
    13
    Home Country
    United States of America United States of America
    Are you able to record 1 channel and watch another one in MP1?
    Yes, or record two at a time. Maybe your comments above are related to a question I am about to ask --

    What the HECK is going on in TVserver Configuration (attached)????? This was NOT happening with the Spring 16 build, where I was able to use manual control and test channel and channels/preview.
    And how do I GET RID of it?? Even rebooting doesn't cure the problem.
    BTW, this is undoubtedly why I can't delete the so-called recordings from with MP2 or using windows explorer.
    Also, the indicated situation in electronically impossible, since I have 2 QAM tuners only.
     

    Attachments

    • tvserver.jpg
      tvserver.jpg
      113.3 KB
    Status
    Not open for further replies.

    Users who are viewing this thread

    Top Bottom