KNC ONE TV-Station CI/CAM not recognized (3 Viewers)

morpheus_xx

Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    I added 2nd test build to my post above. Please give it a try !
     

    misterd

    Retired Team Member
  • Premium Supporter
  • April 4, 2006
    1,597
    314
    Home Country
    Germany Germany
    ok, timing could be a problem.

    could it also be some issue with the dll call?
    Code:
    29-12-2008 21:27:18.00 KNCBDA_CI_SendPMTCommand PMTLength:82, result:1
    29-12-2008 21:27:18.00 KNCBDA_CI_IsAvailable [B]85649660[/B]
    29-12-2008 21:27:18.00 KNCBDA_CI_IsReady [B]85649660[/B]
    29-12-2008 21:27:18.00 KNCBDA_CI_IsReady [B]85649660[/B]

    this strange numbers as function result I've seen in different logs. There should be only 0 or 1 for IsAvailable / IsReady.

    so could be there a memory problem?
    No. These are only the values of the pointers :confused:

    I have attached my latest source code, which isn't working too. Perhaps it can help you to find a solution. At least the values are now correct.

    MisterD
     

    Attachments

    • KNC.patch
      30.6 KB

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    Thank you for testing. I created a new test build.

    I have read above, that when decoding with cam was enabled by another application (like TVC?), decoding of this channel works, but others don't.

    Could you test those 3 cases:
    - free to air
    - tune with other app to encrypted channel, then do the same in TvServer
    - tune to another scrambled channel

    Post logs :) :D
     

    Toddi

    MP Donator
  • Premium Supporter
  • December 29, 2008
    54
    18
    Kiel
    Home Country
    Germany Germany
    I've tested the 3 cases; in second case the scrambled channel works, but not in third case. I think that's what you have expected !?
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    It's strange. The second tuning of an encrypted channel works. The API functions calls are executed exactly the same, returned with same results as in the 3 failing case. The difference starts when recorder is looking for video start:

    working case: video / audio is detected ~250ms after start
    Code:
    30-12-2008 22:46:04.703 Recorder: TIMESHIFT paused=no
    30-12-2008 22:46:04.703 Recorder: TIMESHIFT Start 'Y:\TS\live1-0.ts.tsbuffer'
    30-12-2008 22:46:04.953 Recorder: TIMESHIFT start of audio detected

    2nd non-working case: timeshift stops after 15sec of trying because no a/v was found....
    Code:
    30-12-2008 22:46:41.218 Recorder: TIMESHIFT paused=no
    30-12-2008 22:46:56.250 Recorder: TIMESHIFT Stop 'Y:\TS\live1-0.ts.tsbuffer'
    30-12-2008 22:46:56.250 Recorder: TIMESHIFT Reset

    So I added a new version (test4), which is expected to be the last one this year ;)

    One thing you could test: can you pull out the cam, wait a moment and put it back, while tuning to an FTA dvb channel? This should raise an event that the api callback handlers should react to (should be "OnKncCiState"). never seen on of the handlers getting executed before.

    But if this is to dangerous to the hardware, don't do it.... (although I've done it with mine also ;))
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    Can you also post log of scrambled channel?

    At least I now can confirm that the callback functions are working:

    ci state is switching from:
    Code:
    KNC_BDA_CI_STATE_RELEASING
    KNC_BDA_CI_STATE_INITIALIZING
    KNC_BDA_CI_STATE_READY

    Guten Rutsch und :D
    Dir auch einen Guten Rutsch :) !
     

    Toddi

    MP Donator
  • Premium Supporter
  • December 29, 2008
    54
    18
    Kiel
    Home Country
    Germany Germany
    Here are the logs from Test3 made with your files for Test4.
     

    Attachments

    • Test4a.zip
      30.6 KB

    dman_lfc

    Retired Team Member
  • Premium Supporter
  • July 28, 2004
    1,772
    30
    UK
    Home Country
    New Zealand New Zealand
    morpheus_xx

    Can you send me your latest code adjustments so I can add them into SVN with the latest SDK updates.

    DMAN
     

    Users who are viewing this thread

    Top Bottom