Need help setting up TV server MP 1.9 win 8.1 cablecard (USA) (1 Viewer)

mm1352000

Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,578
    8,228
    Home Country
    New Zealand New Zealand
    Thanks Steve. :)
    Are you sure you posted the right logs? The date on the zip and in the files is September 5 rather than October, and the content doesn't seem to match what you've described...
     

    nzdreamer55

    MP Donator
  • Premium Supporter
  • August 31, 2010
    465
    28
    San Luis Obispo, CA
    Home Country
    United States of America United States of America
    I'm really sorry about that. Not sure what happened. I had to redo the logs, but I think I got the same issues (one channel out of 5 worked). I attached the correct logs to my old message and deleted the incorrect logs from the post.
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,578
    8,228
    Home Country
    New Zealand New Zealand
    Okay, now we're talking. :)

    CHANNEL KEYT

    Selected Channel #1 KEYT (USA channel 3)
    No picture or sound for ~ 5 minutes. Unable to move mediaportal curser. Error message poped up that said something about no signal.
    never started

    Why did the cursor freeze?
    The MediaPortal user interface always freezes while tuning.

    Why did tuning take so long?
    From the log files it looks like it took ~1m 45s rather than 5 minutes.
    [2014-10-04 21:07:17,666] [Log ] [MPMain ] [INFO ] - TVHome.ViewChannelAndCheck(): View channel=KEYT
    ...
    [2014-10-04 21:09:02,803] [Log ] [MPMain ] [DEBUG] - WindowManager: route TvPlugin.TVHome:1->MediaPortal.Dialogs.GUIDialogNotify:2016

    During that time TV Server tried and failed to timeshift that channel with all 6 of your tuners. All tuners successfully tuned, but not one of them started streaming video or audio. In each case TV Server gave up waiting for video/audio after 15 seconds.

    6 tuners x 15 seconds waiting for video/audio = 1m 30s

    That explains most of the time. You can reduce the wait by having TV Server try fewer tuners ("maximum free cards to try") or not wait so long for each tuner ("wait for timeshift file"):
    http://wiki.team-mediaportal.com/1_...ation/TV-Server_Configuration/08_Timeshifting

    The remaining 15 seconds is loading and tuning time for 6 tuners. It can't be reduced... but if you ask me, loading and tuning 6 tuners at ~2.5 seconds per tuner is pretty good, all things considered.

    Why did timeshifting fail?
    In short: I don't know.
    It looks like the tuners simply didn't deliver any video or audio.
    If I were to speculate I might guess that:
    • KEYT is "copy once" protected
    • you've got network security software preventing TV Server from receiving a clean stream from the tuner

    Summary
    I can't explain why all of the tuners failed to deliver video or audio.
    Most of the 1m 45s delay is in your control.
    There is nothing further that I can investigate here with the information that is currently available.


    CHANNEL KQED

    Selected Channel #5 KQED (USA 8)
    at 1 minute screen went black and at 1:15 the TV ON button was highligated. No picture or sound.

    Why did tuning take so long?
    Tuning actually took approximately 19 seconds:
    [2014-10-04 21:09:30,533] [Log ] [MPMain ] [INFO ] - TVHome.ViewChannelAndCheck(): View channel=KQED
    ...
    [2014-10-04 21:09:49,180] [Log ] [MPMain ] [INFO ] - succeeded:confused:ucceeded TvControl.VirtualCard

    TV Server tried and failed with 1 tuner (again, after waiting 15 seconds for video/audio to be delivered as explained above... though this time video arrived but audio didn't) then succeeded with the second tuner.

    After that, it took MediaPortal another 13 seconds or so to start playing the stream:
    [2014-10-04 21:10:02,606] [Log ] [MPMain ] [WARN ] - tvhome:startplay. Phase 2 - 13405 ms - Done starting g_Player.Play()

    The biggest part of that delay is here:
    [2014-10-04 21:09:50,045] [Log ] [MPMain ] [INFO ] - TsReaderPlayer: AudioDualMonoMode switching not available. Audioswitcher filter not loaded
    [2014-10-04 21:10:00,020] [Log ] [MPMain ] [INFO ] - TSReaderPlayer: Add codecs

    In the TsReader log it can be seen here:
    [2014-10-04 21:09:50,049] [ 5e20048] [ 794] - OnNewChannel: New Audio 129
    [2014-10-04 21:10:00,016] [ 5e20048] [ 794] - demux:confused:tart() end2 BytesProcessed:64672, DTS/PTS count = 0/0

    I'm not 100% sure why that 10 second delay happened, but I suspect TsReader was waiting for required video/audio info that never arrived.

    Why was there no picture or sound?
    I think TsReader gave up waiting for video and/or information. Absence of picture and sound is just a symptom of that.
    Another symptom can be seen in the logs:
    [2014-10-04 21:10:00,027] [Log ] [MPMain ] [DEBUG] - TSReaderPlayer: Stream is Radio

    Summary
    This looks like another manifestation of the problems discussed with KEYT.
    There is nothing further that I can investigate here with the information that is currently available.


    CHANNEL TBS

    Selected Channel #18 TBS (USA 32)
    8 seconds went by and picture and sound present. TV ON Button was highlighted

    This looks like a fairly typical channel change.
    TV Server took ~5 seconds to tune:
    [2014-10-04 21:12:17,429] [Log ] [MPMain ] [INFO ] - TVHome.ViewChannelAndCheck(): View channel=TBS
    ...
    [2014-10-04 21:12:22,431] [Log ] [MPMain ] [INFO ] - succeeded:confused:ucceeded TvControl.VirtualCard

    The rest is MediaPortal.
    I note that your preferred video codec - "Microsoft DTV-DVD Video Decoder" - is not being used.


    CHANNEL CMDY

    Selected Channel #37 CMDY (USA 58)
    TV ON button was highligated before 1 minute (didn't notice this change as I was watching for a picture). No picture or sound as of 2 minutes. Unknown error message popped up.

    Almost exactly the same as KEYT.
    [2014-10-04 21:13:02,629] [Log ] [MPMain ] [INFO ] - TVHome.ViewChannelAndCheck(): View channel=CMDY
    ...
    [2014-10-04 21:14:32,799] [Log ] [MPMain ] [DEBUG] - WindowManager: route TvPlugin.TVHome:1->MediaPortal.Dialogs.GUIDialogNotify:2016

    Nothing to add beyond what I already said about KEYT.


    CHANNEL KKFXD

    Selected Channel #392? KKFXHD (USA 781) 25 sconds into it an error message said "unknown error" then disapeared.
    5 minutes after selecting the channel I could not get mediaportal to respond. Needed to use control alt delete to start task manager and end mediaportal process. The watchdog then created the zip log file

    Almost exactly the same as KQED.
    [2014-10-04 21:15:07,389] [Log ] [MPMain ] [INFO ] - TVHome.ViewChannelAndCheck(): View channel=KKFXD
    ...
    [2014-10-04 21:15:09,033] [Log ] [MPMain ] [INFO ] - succeeded:confused:ucceeded TvControl.VirtualCard
    ...
    [2014-10-04 21:15:09,140] [Log ] [MPMain ] [INFO ] - TsReaderPlayer: AudioDualMonoMode switching not available. Audioswitcher filter not loaded
    [2014-10-04 21:15:19,126] [Log ] [MPMain ] [INFO ] - TSReaderPlayer: Add codecs
    [2014-10-04 21:15:19,133] [Log ] [MPMain ] [DEBUG] - TSReaderPlayer: Stream is Radio
    ...
    [2014-10-04 21:15:21,659] [Log ] [MPMain ] [WARN ] - tvhome:startplay. Phase 2 - 12609 ms - Done starting g_Player.Play()

    I can't help with the not responding bit, but from the logs it looks like MediaPortal was closed the normal way.


    SUMMARY
    I can't give you hard evidence that MP and TV Server are not the problem, but from the logs it sure looks that way.

    When TV Server loads your tuners it checks the tuner information. This stands out:
    Copy Protection Status = Copy Control Information: "One Copy" (0x02)

    So, maybe most of the channels you're trying are DRM protected/restricted and can't be viewed in TV Server.

    In general my opinion is that all of the things you're seeing can probably be traced right back to your tuner. Maybe the CableCARD is no good or not activated properly; maybe there are DRM limitations; maybe security software is causing streaming issues; maybe a combination of all of the above is involved.

    I can only suggest that you try to use the tuner's web interface to test tuning various channels and see what the copy protection level is. If they're copy-freely they should be viewable in MediaPortal. You can also cross-check what I've said with other applications - VLC, WMC, NPVR + SageDCT - to confirm that the problems really are related to your tuner, CableCARD, or something external to MP and TV Server.

    Regards,
    mm
     

    nzdreamer55

    MP Donator
  • Premium Supporter
  • August 31, 2010
    465
    28
    San Luis Obispo, CA
    Home Country
    United States of America United States of America
    Wow. That is very interesting. I will have to say that I am disappointed that all the channels don't work like the TBS channel. From what you found, it really seems like it is a copy once issue. Can you point me to some resources to test the tuner card with other applications like VLC. I have this one.

    I know the tuner card company says that their tuner can be used with copy once and WMC, but I just don't understand why it then cannot be used with mediaportal. Would WMC cause problems if it was also installed on the same computer as Mediaportal? I think that this might be the easiest was to get support from the tuner card people and address the copy once issue.

    Thanks for all your help. If this does not work then maybe I'll have to go back to hauppauge capture card, which I never got to work correctly either. So maybe now that I know how to better post logs that I can get this to work.

    Thank you once again for the time you have taken to help with this issue.

    -S
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,578
    8,228
    Home Country
    New Zealand New Zealand
    From what you found, it really seems like it is a copy once issue.
    Please don't take my word for it. I could be right; I could be wrong.

    Can you point me to some resources to test the tuner card with other applications like VLC. I have this one.
    I think you should test with the web interface first, because there's no point testing in other applications that have the same limitations as TV Server until you know TV Server should work.

    I know the tuner card company says that their tuner can be used with copy once and WMC, but I just don't understand why it then cannot be used with mediaportal.
    What is it that you don't understand? This has been explained ad nauseum in so many other forums and websites. ;)

    "Copy once" means the streams are protected by digital rights management (DRM) which is designed to prevent content from being shared illegally. The tuner will not stream any channel that is copy-once protected to any software or device that has not been certified to comply with the DRM restrictions.

    MediaPortal and TV Server have not and probably never could be certified. First, because even getting access to the technical information required to implement the DRM scheme generally costs several thousand dollars (which we don't have); second, it generally costs tens or even hundreds of thousands of dollars (which we definitely don't have) to get certified; thirdly and lastly, because TV Server is open source.

    Why is open source a problem? Because generally certification requires certain code or information to be kept secret, which is basically impossible when your code is meant to be publicly available. Further, if the code is publicly available, anybody could modify it to circumvent any restrictions that were put in place.

    WMC is currently the only PC software that is certified for channels that have been marked copy-once. All other software - MediaPortal, SageTV, MythTV, N-PVR... - can only receive channels that have been marked copy-freely (which basically means "no restrictions").

    Would WMC cause problems if it was also installed on the same computer as Mediaportal?
    Unlikely.

    I think that this might be the easiest was to get support from the tuner card people and address the copy once issue.
    If the channels are marked copy-once then Ceton won't be able to help you. You'd have to take the issue to your cable company... but good luck with that. You could rant at your cable company for years, but they won't listen to the 0.0001% of their subscribers who use CableCARDs. Especially when the big-money content owners are threatening to tear up license agreements if channels are not copy-once protected.

    If this does not work then maybe I'll have to go back to hauppauge capture card, which I never got to work correctly either. So maybe now that I know how to better post logs that I can get this to work.
    I'll be happy to help with a capture card if you can describe the problem and post log files.

    Regards,
    mm
     

    nzdreamer55

    MP Donator
  • Premium Supporter
  • August 31, 2010
    465
    28
    San Luis Obispo, CA
    Home Country
    United States of America United States of America
    OK. So from what you are saying, if I can figure out if a channel is marked copy once by using the web interface for the tuner then I know I will not be able to view that channel through mediaportal with a cablecard. Is that correct?
     

    nzdreamer55

    MP Donator
  • Premium Supporter
  • August 31, 2010
    465
    28
    San Luis Obispo, CA
    Home Country
    United States of America United States of America
    OK I think I have an answer now :)......Most of my channels are flagged copy once. Yeah I really hate my cable company. Guess we can marked this one as solved and I'll go back to the capture card.

    Thanks again for your help. I'm done with this now.

    -S
     

    Users who are viewing this thread

    Top Bottom