Posts by Mastropiero

    Hello.

    I have used your image to create a Docker container with TVH patched for Icam. I have some iptv.m3u lists in which, to tune the channels, TVH executes a script that runs ffmpeg. These lists, like the script are in /home on the host and I have also mounted the same /home directory on the container. If I run the host TVH it works fine, but if I run the container TVH I invariably get the error 'no such file or directory'.

    Do you know if TVH patching could be the cause of this error? I'm not very familiar with docker, but this is the only cause I can think of at the moment.


    ---

    It's finally working. The problem 'no such file or directory' disappeared after deleting the IPTV network and creating it again with the same data. mysteries. Then a new error appeared: 'command not found' which was resolved by installing ffmpeg in the container.

    Now I have to solve why TVH does not list the grabber module that it used to obtain the EPG of the DVB-S channels. Everything will go.


    ---

    By the way, and since I'm stuck in the mud with the container issue: I have an Oscam_Icam installed, although I have disabled the entire emu theme. It works fine, but I wonder if there are advantages in Oscam-Tvheadend communication that Oscam is also in a container. It seems that Docker containers have their own network to communicate with each other.

    Okay! I have installed the dependencies recommended on the Tvheadend website. Thank you Chris230291


    fegol I understand that this is a debian package that I need to build using the process I've outlined. Excuse my ignorance, where should I put the tvheadend.deb package?

    And the big question is there a way to keep the current configuration or do I have to start from scratch?

    No estoy seguro de qué pasos está siguiendo, pero supongo que no tiene todas las dependencias de compilación instaladas.

    Puede echar un vistazo a este contenedor docker para ver cómo está construido en Alpine.

    I am following these steps:

    tvh is not installed in a container; directly with apt.

    You only need patched TVH and libdvbcsa. Ignore all other stuff Enigma users talk about. Carry on as normal.

    Yes, of course, that's what I'm trying to get rid of Oscam-Icam, that's why I was asking if the TVH patching method still works.


    In any case, the process of #81 gives me an error. All is well up to point 6.) So:


    # ./configure --disable-ffmpeg_static --disable-libfdkaac_static --disable-libtheora_static --disable-libopus_static --disable-libvorbis_static --disable-libvpx_static --disable-libx264_static --disable-libx265_static --disable-libfdkaac --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --disable-avahi --disable-dbus_1 --disable-bintray_cache --disable-execinfo --disable-hdhomerun_static --disable-hdhomerun_client --enable-libav --enable-pngquant --enable-trace --enable-vaapi --infodir=/usr/share/info --localstatedir=/var --mandir=/usr/share/man --prefix=/usr --cc=cc --arch=x86_x64 --platform=linux --python=python3 --sysconfdir=/config

    Checking support/features

    checking for cc -mmmx ... ok

    checking for cc -msse2 ... ok

    checking for cc -Wunused-result ... ok

    checking for cc -fstack-protector ... ok

    checking for cc -fstack-protector-strong ... ok

    checking for cc -fstack-check ... ok

    checking for cc -fPIE ... ok

    checking for cc strlcat ... fail

    checking for cc strlcpy ... fail

    checking for cc fdatasync ... ok

    checking for cc getloadavg ... ok

    checking for cc atomic32 ... ok

    checking for cc atomic64 ... ok

    checking for cc atomic_time_t ... ok

    checking for cc atomic_ptr ... ok

    checking for cc bitops64 ... ok

    checking for cc lockowner ... ok

    checking for cc qsort_r ... ok

    checking for cc stime ... fail

    checking for cc gmtoff ... ok

    checking for cc recvmmsg ... ok

    checking for cc sendmmsg ... ok

    checking for cc gnu_libiconv ... fail

    checking for cc libiconv ... fail

    ^ using build-in glibc iconv routines

    checking for cc ifnames ... ok

    checking for cc cclang_threadsan ... fail

    checking for py module gzip ... ok

    checking for pkg-config ... fail

    ERROR: no pkg-config binaries found

    Does patched TVH still work as an alternative to Oscam-Icam on Ubuntu? I installed it following the step #81 and it worked perfectly. Then it stopped working. Now I have reinstalled the system with Ubuntu 22.04, I have repeated the process but I get errors, maybe I am missing dependencies or libraries to install. Now I have TVH installed from an official repository and, to be honest, leaving everything configured is quite laborious, I use DVB-S channels and IPTV lists. When you run that process, with the final installation with dpkg, TVH is clean and you have to start all over again and I'm not sure if it works like the first time. However, the Oscam-Icam just didn't make it work. I don't know if it's configured correctly, I can't create E2 Icam bouquets in TVH...

    With Tvheadend I mapped the channels normally

    Excuse my ignorance, I don't know what exactly you mean. In Tvheadend, without patching, I use a script to generate the EPG that configures it by creating all the muxes already tuned and mapping the channels. Several bouquets are also generated that I think sometimes conflict with TVH's predefined bouquets, because unexpectedly, TVH reaches a permanent cpu usage of 25%, with one of the 4 processor cores at 100%. This problem is solved when I delete the bouquets, except the predefined ones, which cannot be deleted. The IPTV channels are mapped manually.

    I have installed an Oscam-Icam for Ubuntu obtained from this website and I have followed these instructions: https://cardsharing.co/oscam-icam-manual/, but since I don't have a deco, everything is installed on a PC with Ubuntu ,I don't know where I should include the parameters:


    Include ECM in http streams –YES

    Descramble sending http streams – NO

    Descramble receiving http streams – NO

    Require authentication for http streams – NO


    Or the one that corresponds to my case.


    And TVH doesn't support creating the bouquet from the last step either: I create a bouquet pointing to that list and get either "no such file" or "permission denied", even though I've run chmod 775.


    I am not clear enough about Oscam-Icam concepts to configure it properly, for example, I have TVH connected to Oscam through dvbapi, I don't know if I should create another type of connection, in short, it doesn't work and I don't know where to look for the problem. So the solution to patch TVH is easier for me. But if that solution no longer works, I run the risk of losing the worked TVH configuration for nothing. I'm tempted to save the .hts folder, try to run the TVH patching and installation process, and replace the .hts folder with the old one, but this doesn't seem like a clean procedure to me and can cause problems.

    Does patched TVH still work as an alternative to Oscam-Icam on Ubuntu? I installed it following the step #81 and it worked perfectly. Then it stopped working. Now I have reinstalled the system with Ubuntu 22.04, I have repeated the process but I get errors, maybe I am missing dependencies or libraries to install. Now I have TVH installed from an official repository and, to be honest, leaving everything configured is quite laborious, I use DVB-S channels and IPTV lists. When you run that process, with the final installation with dpkg, TVH is clean and you have to start all over again and I'm not sure if it works like the first time. However, the Oscam-Icam just didn't make it work. I don't know if it's configured correctly, I can't create E2 Icam bouquets in TVH...


    Hello @localhosthack0r


    I think yesterday I was looking at your Github which is linked in the Catalini thread I put here.

    My setup is simple: I use a pc with Ubuntu, Kodi, Oscam and TVH connected to a tv, I can also access everything from a pc with Windows and VLC. I had Minisatip installed on the Ubuntu pc for a Skystar card, but this card would not tune to Sky DE channels, so I replaced it with Digibit Twin. Then TVH detected the 2 tuners: Digibit and Minisatip. I asked Catalini to choose one of the two and she told me that it was better that Minisatip was in the system, without other considerations. Now, after patching TVH, I verified that Minisatip was causing problems, I asked Catalini and she told me that Minisatip does not support Icam and pointed me to the link to her Github thread.

    From that thread and yours I have deduced that your solution is an emergency one. I have now removed Minisatip and everything works fine with Digibit. Unless he loses significant advantages, I don't see the need to fight for Minisatip's presence.

    Thx =[M.I.T.M]=

    I have tried to put your exact configuration and I had problems in the connection TVH-Oscam, TVH is so delicate. I need to do some research on the function of parameters. Still I have applied your general recommendations. From my ignorance, I find the oscam.dvbapi file weird.

    Greetings.

    You're using TVH as your backend to deliver IPTV within your environment, right.

    Yes


    So TVH is the one that shall connect to your OSCam.

    Why do you have multiple users in OSCam? For example, just "tvheadend" would be enough.

    This user shall be in your oscam.user and as "user" under [dvbapi] section in oscam.conf

    Ok!


    But still I'd suggest to get also your OSCam config a bit more structured and sorted.

    I suspect that is very true :) . I do not have a rational understanding of these aspects and I use tutorials with copy and paste, perhaps several instructions have accumulated over time. Everything must have fit because it was working fine, but in this operation with TVH it was reinstalled and, very clumsy of me, I lost the existing TVH configuration. I'll try until it works and probably end up with a chaotic setup :). Any suggestions on Oscam's mess?

    Ok!


    Now I have a "strange" problem with the newly installed TVH player. I have the default relay profile set to pass; the TVH player emits sound but black image, if I change the player to matroska profile it shows image without sound. VLC reproduces image and sound well. Now the TVH player does play Sky F1 Bravo! in the above conditions: to choose only sound or only image, but VLC does not show anything.


    Oscam.user:


    [account]

    user = tvheadend,kodi,VLC

    hostname = 192.168.1.132

    monlevel = 4

    suppresscmd08 = 1

    keepalive = 1

    au = 1

    group = 1

    max_connections = 4

    cccignorereshare = 0



    Oscam.server:


    [reader]

    label =

    description = line1

    enable = 0

    protocol = cccam

    device =

    user =

    password =

    inactivitytimeout = 30

    reconnecttimeout = 15

    fallback = 1

    disablecrccws_only_for = 0500:030B00;1819:00006D;09C4:000000;098C:000000;1884:000000;0500:050F00;098D:000000

    group = 1

    cccversion = 2.3.2

    ccckeepalive = 1

    What's your oscam.conf, oscam.dvbapi and log when you try to watch a channel which uses 098D?

    Oscam.conf:


    [global]

    logfile = stdout;/var/log/oscam.log

    clienttimeout = 10000

    fallbacktimeout = 5500

    bindwait = 40

    nice = -1

    maxlogsize = 200

    waitforcards = 0

    waitforcards_extra_delay = 550

    preferlocalcards = 1

    lb_nbest_readers = 2

    lb_min_ecmcount = 3

    lb_max_ecmcount = 250

    lb_reopen_seconds = 900

    lb_retrylimit = 800

    lb_max_readers = 10

    disablecrccws = 1

    disablecrccws_only_for = 0500:030B00,060A00,060C00;1819:00006D;09C4:000000;098C:000000;1884:000000;1841:000000;1811:003311,003315;1883:003311;092B:000000;1813:000068;0B01:000000;098D:000000;091F:000000;1813:000000


    [cache]

    max_time = 13


    [dvbapi]

    enabled = 1

    au = 1

    pmt_mode = 4

    listen_port = 9090

    user = tvheadend,minisatip,VLC

    #read_sdt = 2

    write_sdt_prov = 1

    boxtype = pc


    Oscam,dvbapi:


    enabled = 1

    au = 1

    pmt_mode = 0

    delayer = 50

    user = dvbapi


    Register:


    2022/11/11 14:28:51 404952C1 c (dvbapi) Demuxer 0 ecmpid 0 CAID: 098D ECM_PID: 1CBA PROVID: 000000

    2022/11/11 14:28:51 404952C1 c (dvbapi) Demuxer 0 ecmpid 1 CAID: 098C ECM_PID: 1ABA PROVID: 000000

    2022/11/11 14:28:51 404952C1 c (dvbapi) Demuxer 0 ecmpid 2 CAID: 09C4 ECM_PID: 1BBA PROVID: 000000

    2022/11/11 14:28:51 404952C1 c (dvbapi) Demuxer 0 found 3 ECM pids and 3 STREAM pids in CA PMT

    2022/11/11 14:28:51 404952C1 c (dvbapi) Demuxer 0 found channel in cache and matching prio -> start descrambling ecmpid 0

    2022/11/11 14:28:51 404952C1 c (dvbapi) Demuxer 0 trying to descramble PID 0 CAID 098D PROVID 000000 ECMPID 1CBA ANY CHID PMTPID 0066 VPID 06FF

    2022/11/11 14:28:51 404952C1 c (dvbapi) Client connected: 'minisatip/1.1.80' (protocol version = 2)

    2022/11/11 14:28:52 404952C1 c (dvbapi) Demuxer 1 ecmpid 0 CAID: 09C4 ECM_PID: 1BBA PROVID: 000000

    2022/11/11 14:28:52 404952C1 c (dvbapi) Demuxer 1 ecmpid 1 CAID: 098C ECM_PID: 1ABA PROVID: 000000

    2022/11/11 14:28:52 404952C1 c (dvbapi) Demuxer 1 ecmpid 2 CAID: 098D ECM_PID: 1CBA PROVID: 000000

    2022/11/11 14:28:52 404952C1 c (dvbapi) Demuxer 1 found 3 ECM pids and 4 STREAM pids in CA PMT

    2022/11/11 14:28:52 404952C1 c (dvbapi) Demuxer 1 found channel in cache and matching prio -> start descrambling ecmpid 2

    2022/11/11 14:28:52 404952C1 c (dvbapi) Demuxer 1 trying to descramble PID 2 CAID 098D PROVID 000000 ECMPID 1CBA ANY CHID PMTPID 0066 VPID 06FF

    2022/11/11 14:28:53 404952C1 c (ecm) anonymous (098D@000000/0090/0011/A7:DAE1CFBBCED677FFAF5D82E3DFD33660): found (94 ms) by FK-S8 (F/2/2/2) - Sky Sport F1 HD (real 94 ms)

    2022/11/11 14:28:57 404952C1 c (ecm) anonymous (098D@000000/0090/0011/A7:DD860E6C14D246B19C7EC107A97CF482): found (240 ms) by FK-S4 (F/2/2/2) - Sky Sport F1 HD (real 240 ms)

    2022/11/11 14:29:04 404952C1 c (ecm) anonymous (098D@000000/0090/0011/A7:F199406DF981E5B659E83ADCD565BED3): found (393 ms) by FK-S4 (F/2/2/2) - Sky Sport F1 HD (real 393 ms)

    2022/11/11 14:29:11 404952C1 c (ecm) anonymous (098D@000000/0090/0011/A7:988034EF4E6C06251C67A7D191FEDC8F): found (393 ms) by FK-S4 (F/2/2/2) - Sky Sport F1 HD (real 393 ms)

    2022/11/11 14:29:18 404952C1 c (ecm) anonymous (098D@000000/0090/0011/A7:5FD3BDCB451F61A370ADB89D949EFBFC): found (236 ms) by FK-S4 (F/2/2/2) - Sky Sport F1 HD (real 235 ms)

    2022/11/11 14:29:25 404952C1 c (ecm) anonymous (098D@000000/0090/0011/A7:95B19E237C6344B535201347BBB4EA27): found (235 ms) by FK-S4 (F/2/2/2) - Sky Sport F1 HD (real 235 ms)

    2022/11/11 14:29:32 404952C1 c (ecm) anonymous (098D@000000/0090/0011/A7:20C7B3B71BD491F486EABDB90FD6C6A0): found (372 ms) by FK-S8 (F/2/2/2) - Sky Sport F1 HD (real 372 ms)

    2022/11/11 14:29:39 404952C1 c (ecm) anonymous (098D@000000/0090/0011/A7:A3E24ABAA82E0B0F4590943DEE6061F4): found (232 ms) by FK-S4 (F/2/2/2) - Sky Sport F1 HD (real 232 ms)

    2022/11/11 14:29:46 404952C1 c (ecm) anonymous (098D@000000/0090/0011/A7:643EA496C753082FAFE45039B141B6A5): found (237 ms) by FK-S4 (F/2/2/2) - Sky Sport F1 HD (real 237 ms)

    2022/11/11 14:29:53 404952C1 c (ecm) anonymous (098D@000000/0090/0011/A7:C97C40A64C2204CD57E8A109F4720D68): found (401 ms) by FK-S4 (F/2/2/2) - Sky Sport F1 HD (real 401 ms)

    2022/11/11 14:30:00 404952C1 c (ecm) anonymous (098D@000000/0090/0011/A7:8DF8F51BA0E09C4C5EC78D60766DD938): found (333 ms) by FK-S8 (F/2/2/2) - Sky Sport F1 HD (real 332 ms)

    2022/11/11 14:30:07 404952C1 c (ecm) anonymous (098D@000000/0090/0011/A7:743B305CC69398EC2BE43336716E3DB6): found (395 ms) by FK-S4 (F/2/2/2) - Sky Sport F1 HD (real 395 ms)

    2022/11/11 14:30:14 404952C1 c (ecm) anonymous (098D@000000/0090/0011/A7:F5722E193D65E5D67C62DEC6B61F7FC9): found (404 ms) by FK-S4 (F/2/2/2) - Sky Sport F1 HD (real 404 ms)

    2022/11/11 14:30:21 404952C1 c (ecm) anonymous (098D@000000/0090/0011/A7:BD82298DB0E262A9533000A3256F916A): found (377 ms) by FK-S4 (F/2/2/2) - Sky Sport F1 HD (real 377 ms)

    2022/11/11 14:30:28 404952C1 c (ecm) anonymous (098D@000000/0090/0011/A7:9D7654EF9628A1104695391413A36B4C): found (226 ms) by FK-S4 (F/2/2/2) - Sky Sport F1 HD (real 226 ms)

    2022/11/11 14:30:35 404952C1 c (ecm) anonymous (098D@000000/0090/0011/A7:7EF98FA70E05669A94844C28154D6A10): found (323 ms) by FK-S8 (F/2/2/2) - Sky Sport F1 HD (real 323 ms)

    2022/11/11 14:30:42 404952C1 c (ecm) anonymous (098D@000000/0090/0011/A7:BD3B401146B2B58C6F7FFDF16E78463C): found (222 ms) by FK-S4 (F/2/2/2) - Sky Sport F1 HD (real 222 ms)

    2022/11/11 14:30:49 404952C1 c (ecm) anonymous (098D@000000/0090/0011/A7:29E2355A2CD13FB639CF07BEF1E5CD74): found (232 ms) by FK-S4 (F/2/2/2) - Sky Sport F1 HD (real 232 ms)

    2022/11/11 14:30:56 404952C1 c (ecm) anonymous (098D@000000/0090/0011/A7:8950A72FD4FFBC52F3D61CC060206121): found (360 ms) by FK-S4 (F/2/2/2) - Sky Sport F1 HD (real 360 ms)

    2022/11/11 14:31:03 404952C1 c (ecm) anonymous (098D@000000/0090/0011/A7:6AC09D3690BD5B06A06CBBC1002B4AA6): found (373 ms) by FK-S4 (F/2/2/2) - Sky Sport F1 HD (real 373 ms)

    2022/11/11 14:31:07 404952C1 c (dvbapi) Demuxer 0 stopped descrambling for program 0011 (Sky Sport F1 HD)

    2022/11/11 14:31:07 404952C1 c (dvbapi) Demuxer 1 stopped descrambling for program 0011 (Sky Sport F1 HD)


    Could it be a minisatip problem?

    Hi,

    If patching and compiling of TVH on your sys went thru without errors and TVH runs afterwards as expected, the issue must be related so something else.


    Are you using DVBAPI to connect from TVH to OSCam?

    Where do you get your 098D from? Locally or remotely?

    Hi. Thanks.

    1. Yes. TVH and Oscam connect via DVBAPI.

    2. Remotely. I understand that my provider uses Oscam Icam because it recommends patching Oscam for Icam. I chose your option to patch TVH because I use Ubuntu and it seemed easier to me.

    Hi guys.


    I have followed the steps of @=[MITM]= in post #81 to install patched TVH on Ubuntu 20.04 with Oscam r11715, apparently without errors, but Sky is still dark. TVH reports:


    Configure arguments:


    --build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libexecdir=${prefix}/lib/tvheadend --disable-maintainer-mode --disable-dependency-tracking --disable-ffmpeg_static --disable-libfdkaac_static --disable-libtheora_static --disable-libopus_static --disable-libvorbis_static --disable-libvpx_static --disable-libx264_static --disable-libx265_static --disable-libfdkaac --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --disable-avahi --disable-dbus_1 --disable-bintray_cache --disable-execinfo --disable-hdhomerun_static --disable-hdhomerun_client --enable-libav --enable-pngquant --enable-trace --enable-vaapi --infodir=/usr/share/info --localstatedir=/var --mandir=/usr/share/man --prefix=/usr --cc=cc --arch=x86_x64 --platform=linux --python=python3 --sysconfdir=/config --jobs=4



    Compiler:


    Using C compiler: ccache cc


    Using LD flags: -ldvbcsa


    Build for arch: x86_x64



    Binaries:


    Using PYTHON: python3


    Using GZIP: gzip


    Using BZIP2: bzip2



    Options:


    pie yes


    ccdebug no


    cardclient yes


    cwc yes


    cccam yes


    capmt yes


    constcw yes


    linuxdvb yes


    satip_server yes


    satip_client yes


    hdhomerun_client no


    hdhomerun_static no


    iptv yes


    tsfile yes


    dvbscan yes


    timeshift yes


    trace yes


    avahi no


    zlib yes


    libav yes


    ffmpeg_static no


    libx264 yes


    libx264_static no


    libx265 yes


    libx265_static no


    libvpx yes


    libvpx_static no


    libtheora yes


    libtheora_static no


    libvorbis yes


    libvorbis_static no


    libfdkaac no


    libfdkaac_static no


    libopus yes


    libopus_static no


    nvenc no


    vaapi yes


    mmal no


    omx no


    inotify yes


    epoll yes


    pcre no


    pcre2 yes


    uriparser yes


    ccache yes


    tvhcsa yes


    bundle no


    pngquant yes


    kqueue no


    dbus_1 no


    android no


    gtimer_check no


    slow_memoryinfo no


    libsystemd_daemon no


    pcloud_cache yes


    ddci yes


    cclang_threadsan no


    gperftools no


    execinfo no


    mmx yes


    sse2 yes


    W_unused_result yes


    f_stack_protector yes


    f_stack_protector_strong yes


    f_stack_check yes


    f_PIE yes


    fdatasync yes


    getloadavg yes


    atomic32 yes


    atomic64 yes


    atomic_time_t yes


    atomic_ptr yes


    bitops64 yes


    lockowner yes


    qsort_r yes


    gmtoff yes


    recvmmsg yes


    sendmmsg yes


    ifnames yes


    py_gzip yes


    bin_pkg_config yes


    bin_xgettext yes


    bin_msgmerge yes


    bin_gzip yes


    bin_bzip2 yes


    ssl yes


    linuxdvbapi yes


    linuxdvb_ca yes


    upnp yes


    hwaccels yes


    inotify_h yes


    inotify_init1 yes


    dvbcsa yes


    epoll_create1 yes


    mpegts yes


    mpegts_dvb yes



    Packages:


    openssl 1.1.1f


    zlib 1.2.11


    libpcre2-8 10.34


    liburiparser 0.9.3


    libavfilter 7.57.100


    libswresample 3.5.100


    libavresample 4.0.0


    libswscale 5.5.100


    libavformat 58.29.100


    libavcodec 58.54.100


    libavutil 56.31.100


    libva 1.7.0


    libva-drm 1.7.0



    Installation paths:


    Prefix: /usr


    Binaries: ${prefix}/bin


    Libraries: ${prefix}/lib


    Data files: ${prefix}/share


    Man pages: /usr/share/man


    Is there a way to know if I've done it correctly? Do I have to implement any other settings or modify the .m3u links like when patching Oscam?


    A little light, please.