Oscam Icam TVHeadend

There are 308 replies in this Thread which was already clicked 88,886 times. The last Post () by damyaugust.

  • OK well no luck for me but I am using TVHeadend.

    I get this in OSCAM log...


    Code
    2022/09/30 21:54:14 00000000        (emu) Stream client 0 connected
    2022/09/30 21:54:14 00000000        (emu) Stream client 0 request /1:0:19:81:6:85:C00000:0:0:0:
    2022/09/30 21:54:14 6C8E3076 c   (dvbapi) Demuxer 0 ecmpid 0 CAID: 098D ECM_PID: 1CB6 PROVID: 000000 
    2022/09/30 21:54:14 6C8E3076 c   (dvbapi) Demuxer 0 ecmpid 1 CAID: 098C ECM_PID: 1AB6 PROVID: 000000 
    2022/09/30 21:54:14 6C8E3076 c   (dvbapi) Demuxer 0 ecmpid 2 CAID: 09C4 ECM_PID: 1BB6 PROVID: 000000 
    2022/09/30 21:54:14 6C8E3076 c   (dvbapi) Demuxer 0 found 3 ECM pids and 3 STREAM pids in CA PMT
    2022/09/30 21:54:14 6C8E3076 c   (dvbapi) Demuxer 0 trying to descramble PID 0 CAID 098D PROVID 000000 ECMPID 1CB6 ANY CHID PMTPID 0064 VPID 04FF
    2022/09/30 21:54:14 6C8E3076 c      (ecm) tvheadend (098D@000000/025B/0083/A7:CC67D6622B5AB362A4329378E76DC153): found (67 ms) by ************** (P/10/10/10) - Sky Cinema Premieren HD
    2022/09/30 21:54:16 00000000        (emu) WARNING: stream client 0 no data from stream source


    I don't think OSCAM likes the stream. Any ideas?

    Edited once, last by Chris230291: cleared up ().

  • Go to Best Answer
  • You're doing it right, but unfortunately it doesn't work for tvheadend 4.3 (it's what tvheaden4.3 has).


    Try it with tvheadend 4.2 and it will work there. (it is important that a, descramble=0)

    http://10.0.1.200:17999/stream/service/05076540e9cd5deb4628a2889f325ede?profile=icam&descramble=0&emm=0&:0:0:"Service ID"


    2022-08-25 22-15-29.png


  • Thanks for the reply.

    I didn't realise that just adding the service ref as a parameter was enough for OSCAM to accept the URL.

    Like you say it doesn't appear to work in 4.3

    Would you mind explaining the URL a bit more please?

    Am I supposed to put the full service ID at the end of the URL?

    Is it important that it is correct?

    How can I calculate the correct service ID?


    Thanks,

    Chris

  • Yes, this is important to add, for example you can see the correct value on the oscam web interface, here.

    Code
    #EXTM3U
    #EXTINF:-1,Sky Cinema Premieren HD / SKY
    http://10.0.1.200:17999/stream/service/05076540e9cd5deb4628a2889f325ede?profile=icam&descramble=0&emm=0&:0:0:83


    ##################################

    or


    But if you don't want to bother with channel lists or stream relay, and you don't need a special icam fix for OScam, you can add one of these fixes to Tvheadend 4.2, which one you like, and it's important to disable dvbcsa in the configuration (--disable-dvbcsa).

    Note: if dvbcsa is disabled, all channels are decoded via ffdecsa.


    tvheadend42-ffdecsa-v1.patch.zip

    tvheadend42-ffdecsa-v2.patch.zip


    It's not the perfect patch either, but it works better for me with Tvheadend 4.2 than when OScam processes stream data.

  • Is there any reason why patching TVH 4.2 with ffdecsa instead of TVH 4.3 libdvbsa?


    Anyway thanks for that patch!

  • Is there any reason why patching TVH 4.2 with ffdecsa instead of TVH 4.3 libdvbsa?


    Anyway thanks for that patch!

    I tried and am trying with Tvheadend 4.3 libdvbcsa, but unfortunately it doesn't work for me yet. :thinking face:

    (ffdecsa and libdvbcsa are very similar)

    is it possible to share which steps are needed with tvheadend? Do I have to compile TVH with the provided patch?

  • master G

    Added the Label ICAM OSCam
  • Thanks!

    So if I use those patches I can avoid stream relay altogether?

    Can you help me with my Dockerfile please?

    I have taken the linuxserver.io Dockerfile and modified it but it fails to build.

    I copy the patch files, edit the **** compile tvheadend **** section and added the ***** compile libdvbcsa **** section.

    Maybe you can see the error?



    Build error:



    Thanks,

    Chris

  • You have to remove the libdvbcsa(-dev) package from alpine to build the patched one BEFORE tvheadend. The patched tvheadend needs the patched libdvbcsa to compile successfully!


    I rearranged the patches directory structure of the linuxserver build to:

    Dockerfile

  • You have to remove the libdvbcsa(-dev) package from alpine to build the patched one BEFORE tvheadend. The patched tvheadend needs the patched libdvbcsa to compile successfully!


    I rearranged the patches directory structure of the linuxserver build to:

    Dockerfile

    Thanks but it fails for me.


    Code
    docker build -t chris/tvheadend --no-cache .



    I copied your patches folder structure.


    Maybe you could upload the entire directory?

  • Is there any reason why UK and IT couldn't work? Is it a technical reason or maybe people aren't sharing cards?


    EDIT:


    Does anyone use the customization options that linuxserver.io have (custom-cont-init.d and custom-services.d)?

    For some reason it doesn't work whenever I build one of there containers myself.

    If I run one of their images, it works perfectly.

    Any ideas?


    EDIT 2:


    Is there anything we can do about 2022-10-03 20:10:00.824 TS: 19.2E/11992H/NatGeo HD: AC3 @ #515: Invalid start code ee:7e:df ?

    This isn't unique to icam. Sometimes a server appears to return invalid keys.

    Is there a way to tell OSCAM to deprioritize that server automatically without me having to disable it?

  • Now it works for me with Tvheadend 4.3. :bottle with popping cork:

    libdvbcsa.patch.zip

    tvheadend43.patch.zip


    I haven't fully tested it yet, so there may be bugs.

    Works great.


    Idk why but i had issues with the patch on an hyperv Machine (is just my compile and machine and create Debian packages etc.)

    With the Hyper V "libdvbcsa.so" i had many issues,

    but with the compiled version on the server it self.

    it works perferct.


    Used https://github.com/glenvt18/libdvbcsa (saw: setti used this in the docker container)

  • Thank you for your comment and feedback.


    Therefore, I have now added in parenthesis to my post the source versions required for the patch I tested.

OSCam Support Forum

Configs, discussion, downloads and guides for OSCam Softcam.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!