[fixed] Analog channels - Unable to start graph. (1 Viewer)

mm1352000

Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Thanks Andy! :)

    The issue seems to be that the service is expecting PMT to arrive, but PMT is only relevant for digital streams. I guess the difference between the HD-PVR and Colossus (which do deliver native digital TS streams) and analog tuners (which deliver streams than have to be encoded then muxed) is source of the issue.

    Also analog recordings from MP 1.2.3 won't load in mkvmerge ("does not contain any tracks"), and in avidemux 2.6beta no audio can be found.
    Hmmm, I have seen one report in the past of the audio not working with a particular codec even in MP. Think it was FFDShow using the two different MPEG audio libraries - one worked, one didn't. I pick this could be an encoding or muxing issue. If encoding, then it entirely depends on the tuner or software encoder that you use (ie. recordings from a different tuner or using a different encoder might work fine - it would all be down to the specific encoding parameters used as compared with the parameters that the decoder can handle). If muxing, then we *may* be able to do something about it. This would be considered very low priority though at present...

    mm
     

    pickard

    MP Donator
  • Premium Supporter
  • September 30, 2007
    96
    15
    Haifa
    Home Country
    Israel Israel
    I hope this will have a patch to fix it soon as it is not possible to work without the TV module , at least for me . . . .

    Dev team please check it asap.

    thanks for the great work and for a wonderful product.

    Tzach
     

    gibman

    Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Aarhus
    Home Country
    Denmark Denmark
    https://github.com/MediaPortal/Medi...ardManagement/CardHandler/TimeShifter.cs#L304

    I think the culprit is line 304..

    someone try change it to:
    snip...
    _subchannel = subchannel;
    Log.Write("card: CAM enabled : {0}", _cardHandler.HasCA);
    if (!IsDVB(subchannel) || IsPMTreceived(subchannel))
    {
    snip...

    +add this method:
    private static bool IsDVB(ITvSubChannel subchannel)
    {
    var tvDvbChannel = subchannel as TvDvbChannel;
    return tvDvbChannel != null;
    }

    I havent got the alpha sources around, so I just used github web.
    I hope someone else able to compile it :)

    /gibman
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    This is "Analog_fix" bin for testing (from Gibman above post):
    Do in "cmd" (administrator level)
    Net stop tvservice
    Copy all files into "C:\Program Files (x86)\Team MediaPortal\MediaPortal TV Server" (backup older files if you want).
    Net start tvservice

    Now you can try :)
     

    Attachments

    • Analog_fix.zip
      575.3 KB

    renault

    Portal Pro
    November 20, 2008
    804
    18
    Home Country
    Russian Federation Russian Federation
    Has tried this patch,on analog the same error "Unable to start graph",on DVB-T appeared error "NoVideoAudioDetected".
    PS:TVServer 1.2.3 with MP 1.3.0 work fine.
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    @gibman: thanks for providing the patch! :)
    I'm wondering why that PMT check is even there. The TV library will throw a PMT not found exception during tuning (ICard.Tune()) if PMT is needed and not found. In my opinion it is not desirable to have that check in the service at all - the TV service should not have to check a detail like that.

    @renault: in those logs the analog tuning error still seems to be PMT related:
    start subch:0 No PMT received. Timeshifting failed
    This seems to be the same error as before. The TvService.exe is the only file that should need to be patched...
     

    gibman

    Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Aarhus
    Home Country
    Denmark Denmark
    @gibman: thanks for providing the patch! :)
    I'm wondering why that PMT check is even there. The TV library will throw a PMT not found exception during tuning (ICard.Tune()) if PMT is needed and not found. In my opinion it is not desirable to have that check in the service at all - the TV service should not have to check a detail like that.

    @renault: in those logs the analog tuning error still seems to be PMT related:
    start subch:0 No PMT received. Timeshifting failed
    This seems to be the same error as before. The TvService.exe is the only file that should need to be patched...

    you are probably right, as the tuning has already occurred before we hit this part of the code in timeshifter class.
    just remove the check all together
    can anyone try this ?.

    I think the check has been there forever.

    /gibman
     

    mm1352000

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

    Here is another patch to test...

    mm
     

    Attachments

    • TvService[analog_fix_v2].zip
      85.2 KB

    Users who are viewing this thread

    Top Bottom