LiveTV stops straight after starting (1 Viewer)

mm1352000

Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Hi again doveman

    Something funky is going on there. Would it be possible to revert to the bog standard Core.dll (ie. remove the subtitles patch)?

    mm
     

    doveman

    Portal Pro
    February 12, 2008
    2,326
    178
    Home Country
    United Kingdom United Kingdom
    Hi again doveman

    Something funky is going on there. Would it be possible to revert to the bog standard Core.dll (ie. remove the subtitles patch)?

    mm

    Of course. I don't really use subtitles much anyway and was just testing it out as a working solution, so it won't be a problem to just switch subtitles off completely for now.

    I just need to restore the backed up Core.dll and remove Core CC Parser from TV Post-Processing, right? It doesn't seem possible to actually remove Core CC Parser from the list of Activated Filters, so will unticking it be enough?
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    I just need to restore the backed up Core.dll and remove Core CC Parser from TV Post-Processing, right? It doesn't seem possible to actually remove Core CC Parser from the list of Activated Filters, so will unticking it be enough?
    Yes, I think that is correct. You can use regsvr32 /u cccp.ax to unregister it if you really need to.

    mm
     

    doveman

    Portal Pro
    February 12, 2008
    2,326
    178
    Home Country
    United Kingdom United Kingdom
    Yes, I think that is correct. You can use regsvr32 /u cccp.ax to unregister it if you really need to.

    Thanks, I've done that just to be sure and will test to see what difference it's made.
     

    doveman

    Portal Pro
    February 12, 2008
    2,326
    178
    Home Country
    United Kingdom United Kingdom
    OK, removing the subs patch does seem to have fixed this problem and I haven't experienced it even with Avira and OSS (Firewall only) enabled. I'll test some more with OSS (Anti-Leak) enabled as well.

    The only time it locks up now is if I'm using Directsound: Speakers (Realtek) as the Audio Renderer, but that's a different problem as I wasn't using that before https://forum.team-mediaportal.com/...renderer-directsound-speakers-realtek-102228/

    I'm still having a couple of problems with TV, one where it jumps back and repeats a second or two, and sometimes I get an error when trying to start TV, even though the tuners are set to run in Stop mode. We discussed this latter problem here https://forum.team-mediaportal.com/bugreports-74/livetv-problems-starting-stuttering-100813/ but it never really got resolved.

    I'm running in dual-screen and have recently set the Power button on my Hauppauge remote to "Toggle Layer" and "Gain focus" to save having to get up and click on MP with my mouse (if it doesn't have focus it's very unresponsive and slow). I've found that this button doesn't give MP focus if I'm watching TV (I can tell from the stats, as it shows 15-20ms when it doesn't have focus and drops to about 6-7ms after I click on it with my mouse).

    I guess I should really start two or three separate threads about these problems, but I'm tired and thought perhaps they're already known about and someone might point me to an existing thread about them :)
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Hi again

    OK, removing the subs patch does seem to have fixed this problem and I haven't experienced it even with Avira and OSS (Firewall only) enabled. I'll test some more with OSS (Anti-Leak) enabled as well.
    Great - please report the issue to Sebastiii so that he can look into it. In future it would help if you could remember to remove any patches and test with plugins disabled as it can be *very* confusing for us when strange issues like this are seen - it is not always obvious from the logs that you're using patches.

    The only time it locks up now is if I'm using Directsound: Speakers (Realtek) as the Audio Renderer, but that's a different problem as I wasn't using that before https://forum.team-mediaportal.com/...renderer-directsound-speakers-realtek-102228/
    I was going to comment there: was wondering whether it was possible that sample rate or bit depth issues were not allowing the renderer to connect. I'm not a renderer specialist though.

    I'm still having a couple of problems with TV, one where it jumps back and repeats a second or two, and sometimes I get an error when trying to start TV, even though the tuners are set to run in Stop mode. We discussed this latter problem here https://forum.team-mediaportal.com/bugreports-74/livetv-problems-starting-stuttering-100813/ but it never really got resolved.
    About the first issue: post logs if you want us to look at it.

    About the second: your questions in the last post are hard to answer in detail except to say this (from memory since you seem to have removed the logs):
    - TV Server was starting to grab EPG with tuner 1
    - you tried to start tuning a channel before TV Server had finished tuning to the other channel for EPG grabbing
    - at the time TV Server decided what tuner to use to respond to your request it had not yet registered that it was also attempting to grab EPG with that same tuner
    - trying to do 2 tune requests at the same time ends up in a mess

    This is what I meant when I said you were "fighting for control" over the tuner. If TV Server was smarter it should not have tried to use tuner 1, but because it did try tuner 1 it messed things up for you (=> unknown error) and the EPG grabbing *and* it did not try tuner 2 (logic for trying the next tuner seems not to handle this case).

    So you now know exactly what the cause is in as much detail as I can give you. The only solution right now is to disable the idle EPG grabber or get your EPG in a completely different way (eg. WebEPG), otherwise you will have to put up with that occasionally happening. You could also try disabling EPG grabbing on some of your tuners (ie. tuner 1) so that it is less likely to happen, but the issue will remain while you continue to have idle EPG grabbing enabled.

    I'm running in dual-screen and have recently set the Power button on my Hauppauge remote to "Toggle Layer" and "Gain focus" to save having to get up and click on MP with my mouse (if it doesn't have focus it's very unresponsive and slow). I've found that this button doesn't give MP focus if I'm watching TV (I can tell from the stats, as it shows 15-20ms when it doesn't have focus and drops to about 6-7ms after I click on it with my mouse).
    No comment - totally not my area of expertise I'm afraid.

    I guess I should really start two or three separate threads about these problems, but I'm tired and thought perhaps they're already known about and someone might point me to an existing thread about them :)
    That can happen with more common issues, however I wouldn't exactly classify the issues you've raised as easy to deal with. You'd be best to start new threads in my opinion.

    mm
    :)
     

    doveman

    Portal Pro
    February 12, 2008
    2,326
    178
    Home Country
    United Kingdom United Kingdom
    Thanks for taking the time to reply in detail.

    Great - please report the issue to Sebastiii so that he can look into it. In future it would help if you could remember to remove any patches and test with plugins disabled as it can be *very* confusing for us when strange issues like this are seen - it is not always obvious from the logs that you're using patches.

    Will do. Does this apply to the DWM_dshowhelper I'm using as well? It might be problematic for me to run without that, as with my dual-screen setup I think TV was pretty unwatchable before.

    I was going to comment there: was wondering whether it was possible that sample rate or bit depth issues were not allowing the renderer to connect. I'm not a renderer specialist though.

    Yes, it's rather strange. We can continue looking at that over there.

    About the first issue: post logs if you want us to look at it.

    I'll try, but with these intermittent problems they never occur when you want them to and unless I run permanently in debug mode, I doubt I'll be able to get logs with plugins disabled.

    About the second: your questions in the last post are hard to answer in detail except to say this (from memory since you seem to have removed the logs):
    - TV Server was starting to grab EPG with tuner 1
    - you tried to start tuning a channel before TV Server had finished tuning to the other channel for EPG grabbing
    - at the time TV Server decided what tuner to use to respond to your request it had not yet registered that it was also attempting to grab EPG with that same tuner
    - trying to do 2 tune requests at the same time ends up in a mess

    This is what I meant when I said you were "fighting for control" over the tuner. If TV Server was smarter it should not have tried to use tuner 1, but because it did try tuner 1 it messed things up for you (=> unknown error) and the EPG grabbing *and* it did not try tuner 2 (logic for trying the next tuner seems not to handle this case).

    So you now know exactly what the cause is in as much detail as I can give you. The only solution right now is to disable the idle EPG grabber or get your EPG in a completely different way (eg. WebEPG), otherwise you will have to put up with that occasionally happening. You could also try disabling EPG grabbing on some of your tuners (ie. tuner 1) so that it is less likely to happen, but the issue will remain while you continue to have idle EPG grabbing enabled.

    Yeah, sorry I had to remove a load of logs as I was reaching my limit on here. Thanks for explaining in more detail what the problem is. Hopefully someone will find the time to improve the logic so that the TV Server gives priority to TV over EPG grabbing. I don't want to disable idle EPG grabber, as then it will only update when I'm watching/recording something which is bound to result in my EPG not being kept updated properly. I might try setting it to only EPG grab on tuner 2, which will probably reduce the chances of this happening for now but I guess it could still happen if I'm recording and try to watch TV at the same time.

    No comment - totally not my area of expertise I'm afraid.

    Yeah, that one was a bit random and unrelated. I'll post about that elsewhere.

    That can happen with more common issues, however I wouldn't exactly classify the issues you've raised as easy to deal with. You'd be best to start new threads in my opinion.

    Thanks. Will do.
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Hi again

    Thanks for taking the time to reply in detail.
    No problem. :)

    Will do. Does this apply to the DWM_dshowhelper I'm using as well? It might be problematic for me to run without that, as with my dual-screen setup I think TV was pretty unwatchable before.
    Tony will correct me if I'm wrong but I think there is specific debug to say that it is modified. Wouldn't hurt to mention it but I would say no reason to disable it.

    I'll try, but with these intermittent problems they never occur when you want them to and unless I run permanently in debug mode, I doubt I'll be able to get logs with plugins disabled.
    I know what you mean. :(
    Any luck over the past couple of days?

    Hopefully someone will find the time to improve the logic so that the TV Server gives priority to TV over EPG grabbing.
    It isn't about priority - it is that TV Server literally hasn't registered that it is EPG grabbing yet. I think that is because TV Server only registers a tuner as "in use" *after* it finishes successfully tuning to a channel. Could be wrong there but if I'm right then it isn't exactly the greatest design. gibman is working on this.

    Getting back to the topic at hand: are you okay with me marking this thread as "no bug" since it was caused by a patch?

    mm
     

    doveman

    Portal Pro
    February 12, 2008
    2,326
    178
    Home Country
    United Kingdom United Kingdom
    Tony will correct me if I'm wrong but I think there is specific debug to say that it is modified. Wouldn't hurt to mention it but I would say no reason to disable it.

    Cool, makes life a bit easier for me :)

    I know what you mean. :(
    Any luck over the past couple of days?

    Not really. I've spent most of the time testing new versions of Sebastiii's patch, so haven't done much testing with the standard core.dll. I don't think I've seen the "repeat last 2 seconds" recently, but there's been a few odd glitches (i.e. a recording on BBC1 had a jump from a scene in one location, to another with different actors, so I don't know exactly how much of it was lost, but probably just a few seconds. Also had a fair few audio glitches, dropouts, which could have been when MP didn't have focus. I'll try and pay a bit more attention to these issues when I'm done with other stuff.

    It isn't about priority - it is that TV Server literally hasn't registered that it is EPG grabbing yet. I think that is because TV Server only registers a tuner as "in use" *after* it finishes successfully tuning to a channel. Could be wrong there but if I'm right then it isn't exactly the greatest design. gibman is working on this.

    Ah, I see. Well if people are aware of the issue and are working on it, I can't ask for any more :)

    Getting back to the topic at hand: are you okay with me marking this thread as "no bug" since it was caused by a patch

    Yeah, I think (if I haven't misunderstood) that Sebastiii has acknowledged the "PlayerFactory: Error creating player instance - Attempted to read or write protected memory" error, which seems to be causing this bug, is related to his patch.
     

    Users who are viewing this thread

    Top Bottom