Beiträge von amenz

    Hi,

    ich habe den Container wie folgt erstellt:

    [cbox]docker container run -d --restart unless-stopped --name tvheadend --device /dev/dri:/dev/dri --device /dev/dvb:/dev/dvb --device=/dev/bus/usb -e PUID=1000 -e PGID=1000 -e TZ=Europe/Berlin -p 9981:9981 -p 9982:9982 -v /home/pi/docker_conf/tvh/config:/config -v /home/pi/docker_conf/tvh/picons:/picons -v /home/pi/docker_conf/tvh/sundtek:/sundtek -v /home/pi/nas/tvhead_aufnahmen:/recordings -v /etc/localtime:/etc/localtime:ro newtvhead[/cbox]

    Eigentlich liefen die recordings also in dieses volume: /home/pi/nas/tvhead_aufnahmen:/recordings das war ein über NFS gemountetes NAS. Um hier Konfigurationsfehler auszuschließen hatte ich es in TVH auf das /config/ geändert. Dieses ist allerdings auch extern eingbunden über: -v /home/pi/docker_conf/tvh/config:/config

    Hallo zusammen,

    Ich habe das Problem, dass bei DVR Aufnahmen nur Dateien mit einer Größe von 2GB geschrieben werden können. Das TVHeadend Log sieht dann wie folgt aus:
    [cbox]2021-04-11 10:31:18.930 dvr: Unable to change directory permissions to "775" for "/config/LUKE!-Die-Schule-und-ich---VIPs-gegen-Kids" (keeping "755")
    2021-04-11 10:31:18.931 dvr: /config/LUKE!-Die-Schule-und-ich---VIPs-gegen-Kids/LUKE!-Die-Schule-und-ich---VIPs-gegen-Kids-----LUKE!-Die-Schule-und-ich---VIPs-gegen-Kids_Gameshow,-D-2021_Altersfreigabe_-ab-12.mkv from adapter: "Sundtek DVB-S/S2 (VIII) #1 : DVB-S #0", network: "Astra", mux: "11464.25H", provider: "ProSiebenSat.1", service: "SAT.1 HD"
    2021-04-11 10:31:18.931 dvr: # type lang resolution aspect ratio sample rate channels
    2021-04-11 10:31:18.931 dvr: 2 H264 1920x1080 16:9
    2021-04-11 10:31:18.931 dvr: 3 AC3 ger 48000 2
    2021-04-11 10:31:18.931 dvr: 4 TEXTSUB ger
    2021-04-11 11:21:33.646 mkv: /config/LUKE!-Die-Schule-und-ich---VIPs-gegen-Kids/LUKE!-Die-Schule-und-ich---VIPs-gegen-Kids-----LUKE!-Die-Schule-und-ich---VIPs-gegen-Kids_Gameshow,-D-2021_Altersfreigabe_-ab-12.mkv: *Write failed -- File too large*
    [/cbox]

    Ich nutze TVHeadend in einem Docker Container aus diesem image: https://hub.docker.com/r/linuxserver/tvheadend in Version: HTS Tvheadend 4.3-1923~gaaca05cc1
    Die Daten werden im container momentan nach /config geschrieben, welches ich vom host eingebunden habe. Wenn ich mich in den entsprechenden laufenden Container per bash verbinde:
    docker exec -it tvheadend2 /bin/bash

    Kann ich ohne Problme größere Dateien erzeugen:
    [cbox]pi@raspi:~ $ docker exec -it tvheadend2 /bin/bash
    root@650787120ab5:/# cd config
    root@650787120ab5:/config# dd if=/dev/zero of=testfile.ts bs=1M count=5000
    5000+0 records in
    5000+0 records out
    5242880000 bytes (5.2 GB, 4.9 GiB) copied, 28.998 s, 181 MB/s
    [/cbox]
    Die dvr config sieht wie folgt aus:
    [cbox]{
    "enabled": true,
    "name": "",
    "profile": "45d9bec4fa1465796a1751925f767fec",
    "pri": 0,
    "retention-days": 2147483646,
    "removal-days": 2147483647,
    "remove-after-playback": 0,
    "pre-extra-time": 0,
    "post-extra-time": 0,
    "clone": false,
    "rerecord-errors": 10,
    "complex-scheduling": false,
    "fetch-artwork": false,
    "fetch-artwork-known-broadcasts-allow-unknown": false,
    "storage": "/config/",
    "storage-mfree": 50,
    "storage-mused": 0,
    "directory-permissions": "0775",
    "file-permissions": "0755",
    "charset": "UTF-8",
    "pathname": "$t/$t -$ e -$ s$n.$x",
    "cache": 2,
    "day-dir": false,
    "channel-dir": false,
    "title-dir": true,
    "format-tvmovies-subdir": "tvmovies",
    "format-tvshows-subdir": "tvshows",
    "channel-in-title": false,
    "date-in-title": false,
    "time-in-title": false,
    "episode-in-title": false,
    "subtitle-in-title": false,
    "omit-title": false,
    "clean-title": true,
    "whitespace-in-title": true,
    "windows-compatible-filenames": true,
    "tag-files": true,
    "epg-update-window": 86400,
    "epg-running": true,
    "autorec-maxcount": 0,
    "autorec-maxsched": 0,
    "skip-commercials": true,
    "warm-time": 30
    }
    [/cbox]
    Ich vermute deshalb, dass das Problem irgendwo in TVHeadend liegt oder vielleicht auch konfiguriert werden kann? Falls jemand eine Idee hat, würde ich mich sehr freuen!

    Gruß
    Timo

    Hi CHVB,

    zunächst Danke für die Mühe, die du Dir machst und dass du es hier für uns zur Verfügung stellst!

    leider passen die Picons, welche in der 4.3er Version beschrieben sind nicht mehr zu den Dateinamen. Besteht die Möglichkeit das nochmal bereit gestellt zu bekommen? :)

    Gruß
    Timo

    Habe es nun auch einmal mit einer CAID und dem hinzufügen von versucht.

    Code
    disablecrccws                 = 1
    ndsversion                    = 2

    Leider werden die Kanäle noch immer nicht hell. Im TVH Log erscheint nun aber:

    Code
    2019-06-02 17:51:01.802 descrambler: cannot decode packets for service "SAT.1 HD"


    Die TVH Konfig sieht übrigens wie folgt aus:

    Hallo,

    ich würde gerne folgende Setting zum Laufen bekommen:

    Dreambox auf dieser läuft Oscam und dort werden die entsprechenden Sender durch CCCAM hell. Nun möchte ich auf diesen Oscam Server von einem Raspi mit LibreElec und TVHeadend über Newcamd zugreifen. Die Connection sieht m.M.n. auch gut aus, jedoch werden die Sender leider nicht hell. :( Anbei mal die Configs und ein paar Log Ausgaben:

    Oscam Konfig auf der Dreambox:

    Oscam.version

    Spoiler anzeigen


    Unix starttime: 1559471928
    Starttime: 02.06.2019 12:38:48
    Version: oscam-1535-r-795
    Compiler: mipsel-oe-linux
    Box type: dm500hd (generic)
    PID: 646
    TempDir: /tmp/.oscam
    GBox tmp_dir: not defined using: /tmp/.oscam
    ConfigDir: /etc/tuxbox/config/
    WebifPort: 8888


    Web interface support: yes
    LiveLog support: yes
    jQuery support intern: yes
    Touch interface support: no
    SSL support: yes
    DVB API support: yes
    DVB API with AZBOX support: no
    DVB API with MCA support: no
    DVB API with COOLAPI support: no
    DVB API with COOLAPI2 support: no
    DVB API with STAPI support: no
    DVB API with STAPI5 support: no
    DVB API with NEUTRINO support: no
    DVB API read-sdt charsets: yes
    Irdeto guessing: yes
    Anti-cascading support: no
    [definition=12,4][definition='1','3']Debug[/definition][/definition] mode: no
    Monitor: yes
    Loadbalancing support: yes
    Cache exchange support: yes
    CW Cycle Check support: yes
    LCD support: no
    LED support: no
    Clockfix with realtime clock: yes
    IPv6 support: no
    Emulator support: yes
    Built-in SoftCam.Key: yes


    camd 3.3x: no
    camd 3.5 UDP: yes
    camd 3.5 TCP: yes
    newcamd: yes
    CCcam: yes
    CCcam share: yes
    gbox: yes
    radegast: no
    scam: yes
    serial: no
    constant CW: no
    Pandora: no
    ghttp: no


    Reader support: yes


    Nagra: yes
    Nagra Merlin: yes
    Irdeto: yes
    Conax: yes
    Cryptoworks: yes
    Seca: yes
    Viaccess: yes
    NDS Videoguard: yes
    DRE Crypt: yes
    TONGFANG: yes
    Bulcrypt: yes
    Griffin: yes
    DGCrypt: yes


    cardreader_phoenix: yes
    cardreader_drecas: no
    cardreader_internal_azbox: no
    cardreader_internal_coolapi: no
    cardreader_internal_coolapi2: no
    cardreader_internal_sci: yes
    cardreader_sc8in1: no
    cardreader_mp35: no
    cardreader_smargo: no
    cardreader_pcsc: no
    cardreader_smartreader: yes
    cardreader_db2com: no
    cardreader_stapi: no
    cardreader_stapi5: no
    cardreader_stinger: yes

    Oscam.conf Das man für Newcamd nicht für jede CAID einen Eintrag hinterlegen muss, habe ich hier gelesen. Da ich mir bei den CAID, welche ich verwenden müsste auch nicht sicher bin, wollte ich es erstmal dabei belassen.

    Spoiler anzeigen


    [global]
    logfile = /var/[definition='1','0']log[/definition]/oscam.[definition='1','0']log[/definition]
    logduplicatelines = 1
    waitforcards = 0
    preferlocalcards = 2
    disablecrccws_only_for = 09C4:000000;098C:000000;098D:000000


    [cache]


    [newcamd]
    port = 32156@0000:000000
    serverip = 192.168.178.29
    key = 0102030405060708091011121314
    keepalive = 1
    mgclient = 1


    [streamrelay]


    [dvbapi]
    enabled = 1
    au = 1
    pmt_mode = 1
    request_mode = 1
    delayer = 60
    user = local
    read_sdt = 2
    write_sdt_prov = 1
    boxtype = dreambox


    [webif]
    httpport = 8888
    httpuser = user
    httppwd = pw
    httppollrefresh = 5
    httphideidleclients = 0
    httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255
    http_status_log = 1

    oscam.user

    Spoiler anzeigen


    [account]
    user = local
    au = 1
    group = 1,2


    [account]
    user = tvheadend
    pwd = tvheadend
    au = 1
    group = 1,2
    cccignorereshare = 1

    oscam.server

    Spoiler anzeigen


    [reader]
    label = reader1
    protocol = cccam
    device = IP1,1000
    user = user1
    password = pw1
    group = 1
    ccckeepalive = 1


    [reader]
    label = reader2
    protocol = cccam
    device = IP2,1010
    user = user2
    password = pw2
    group = 1
    ccckeepalive = 1


    [reader]
    label = reader3
    description = 18-10-2019
    protocol = cccam
    device = IP3,33001
    user = user3
    password = pw3
    group = 2
    ccckeepalive = 1

    Wenn ich im TVHeadend den CAs Eintrag aktivere kommt auf Oscam folgendes Log:

    Spoiler anzeigen
    • 2019/06/02 12:44:47 3C628CD9 c (newcamd) client connected to 32156 port
    • 2019/06/02 12:44:47 3C628CD9 c (client) encrypted newcamd:32156-client 192.168.178.21 granted (tvheadend, au=auto (4 reader))
    • 2019/06/02 12:44:47 3C628CD9 c (newcamd) user tvheadend authenticated successfully (Tvheadend)
    • 2019/06/02 12:44:47 3C628CD9 c (newcamd) AU enabled for user tvheadend on reader reader1

    Und im TVHeadend Log sieht es wie folgt aus:

    Spoiler anzeigen


    2019-06-02 10:44:48.535 cwc: Attemping to connect to 192.168.178.29:32156
    2019-06-02 10:44:48.537 cwc: Connected to 192.168.178.29:32156
    2019-06-02 10:44:48.560 cwc: 192.168.178.29:32156: Connected as user tvheadend to a 0x0-card [0x0000 : 00.00.00.00.00.00.00.00] with 1 provider
    2019-06-02 10:44:48.561 cwc: 192.168.178.29:32156: Provider ID #1: 0x0000:0x000000 00.00.00.00.00.00.00.00
    2019-06-02 10:44:48.561 cwc: 192.168.178.29:32156: Will not forward EMMs (not allowed by server)
    2019-06-02 10:44:48.562 cwc: 192.168.178.29:32156: Connected as user tvheadend to a Viaccess-card [0x0500] with 1 provider
    2019-06-02 10:44:48.563 cwc: 192.168.178.29:32156: Provider ID #1: 0x0500:0x000000
    2019-06-02 10:44:48.564 cwc: 192.168.178.29:32156: Connected as user tvheadend to a Viaccess-card [0x0500] with 1 provider
    2019-06-02 10:44:48.565 cwc: 192.168.178.29:32156: Provider ID #1: 0x0500:0x007400
    2019-06-02 10:44:48.567 cwc: 192.168.178.29:32156: Connected as user tvheadend to a Viaccess-card [0x0500] with 1 provider
    2019-06-02 10:44:48.567 cwc: 192.168.178.29:32156: Provider ID #1: 0x0500:0x007800
    2019-06-02 10:44:48.569 cwc: 192.168.178.29:32156: Connected as user tvheadend to a Viaccess-card [0x0500] with 1 provider
    2019-06-02 10:44:48.569 cwc: 192.168.178.29:32156: Provider ID #1: 0x0500:0x021110
    2019-06-02 10:44:48.571 cwc: 192.168.178.29:32156: Connected as user tvheadend to a Viaccess-card [0x0500] with 1 provider
    2019-06-02 10:44:48.571 cwc: 192.168.178.29:32156: Provider ID #1: 0x0500:0x023800
    2019-06-02 10:44:48.573 cwc: 192.168.178.29:32156: Connected as user tvheadend to a Irdeto-card [0x0604] with 1 provider
    2019-06-02 10:44:48.573 cwc: 192.168.178.29:32156: Provider ID #1: 0x0604:0x000000
    2019-06-02 10:44:48.575 cwc: 192.168.178.29:32156: Connected as user tvheadend to a NDS-card [0x090f] with 1 provider
    2019-06-02 10:44:48.575 cwc: 192.168.178.29:32156: Provider ID #1: 0x090f:0x000000
    2019-06-02 10:44:48.576 cwc: 192.168.178.29:32156: Connected as user tvheadend to a PowerVu-card [0x0e00] with 1 provider
    2019-06-02 10:44:48.577 cwc: 192.168.178.29:32156: Provider ID #1: 0x0e00:0x000000
    2019-06-02 10:44:48.579 cwc: 192.168.178.29:32156: Connected as user tvheadend to a Tandberg-card [0x1010] with 1 provider
    2019-06-02 10:44:48.579 cwc: 192.168.178.29:32156: Provider ID #1: 0x1010:0x000000
    2019-06-02 10:44:48.580 cwc: 192.168.178.29:32156: Connected as user tvheadend to a NagraVision-card [0x1801] with 1 provider
    2019-06-02 10:44:48.581 cwc: 192.168.178.29:32156: Provider ID #1: 0x1801:0x000000
    2019-06-02 10:44:48.582 cwc: 192.168.178.29:32156: Connected as user tvheadend to a NagraVision-card [0x1801] with 1 provider
    2019-06-02 10:44:48.583 cwc: 192.168.178.29:32156: Provider ID #1: 0x1801:0x001101
    2019-06-02 10:44:48.584 cwc: 192.168.178.29:32156: Connected as user tvheadend to a NagraVision-card [0x1801] with 1 provider
    2019-06-02 10:44:48.584 cwc: 192.168.178.29:32156: Provider ID #1: 0x1801:0x002111
    2019-06-02 10:44:48.586 cwc: 192.168.178.29:32156: Connected as user tvheadend to a NagraVision-card [0x1801] with 1 provider
    2019-06-02 10:44:48.587 cwc: 192.168.178.29:32156: Provider ID #1: 0x1801:0x007301
    2019-06-02 10:44:48.588 cwc: 192.168.178.29:32156: Connected as user tvheadend to a EBU-card [0x2600] with 1 provider
    2019-06-02 10:44:48.589 cwc: 192.168.178.29:32156: Provider ID #1: 0x2600:0x000000
    2019-06-02 10:44:48.591 cwc: 192.168.178.29:32156: Connected as user tvheadend to a EBU-card [0x2602] with 1 provider
    2019-06-02 10:44:48.591 cwc: 192.168.178.29:32156: Provider ID #1: 0x2602:0x000000
    2019-06-02 10:44:48.593 cwc: 192.168.178.29:32156: Connected as user tvheadend to a EBU-card [0x2610] with 1 provider
    2019-06-02 10:44:48.593 cwc: 192.168.178.29:32156: Provider ID #1: 0x2610:0x000000
    2019-06-02 10:44:48.595 cwc: 192.168.178.29:32156: Connected as user tvheadend to a DRECrypt2-card [0x4ae1] with 1 provider
    2019-06-02 10:44:48.595 cwc: 192.168.178.29:32156: Provider ID #1: 0x4ae1:0x000011
    2019-06-02 10:44:48.596 cwc: 192.168.178.29:32156: Connected as user tvheadend to a DRECrypt2-card [0x4ae1] with 1 provider
    2019-06-02 10:44:48.597 cwc: 192.168.178.29:32156: Provider ID #1: 0x4ae1:0x000014
    2019-06-02 10:44:48.598 cwc: 192.168.178.29:32156: Connected as user tvheadend to a DRECrypt2-card [0x4ae1] with 1 provider
    2019-06-02 10:44:48.599 cwc: 192.168.178.29:32156: Provider ID #1: 0x4ae1:0x0000fe

    Die Verbindung von TVHeadend und OSCAM schaut für mich jetzt erst mal gut aus. Beim Umschalten auf einen der Kanäle bleibt dieser jedoch dunkel und sowohl im TVH als auch OSCAM Log tut sich gar nichts. Auf der Dreambox selbst funktioniert dies jedoch und der Kanal wird hell (läuft über DVBAPI und den user "local"). Im Log findet sich dann folgendes:

    Spoiler anzeigen
    • 2019/06/02 12:49:33 6B6A67B2 c (dvbapi) Demuxer 0 stop descrambling program number 2B66 (ZDF HD)
    • 2019/06/02 12:49:34 6B6A67B2 c (dvbapi) Demuxer 0 ecmpid 0 CAID: 09C4 ECM_PID: 1B0D PROVID: 000000
    • 2019/06/02 12:49:34 6B6A67B2 c (dvbapi) Demuxer 0 ecmpid 1 CAID: 098C ECM_PID: 1A0D PROVID: 000000
    • 2019/06/02 12:49:34 6B6A67B2 c (dvbapi) Demuxer 0 ecmpid 2 CAID: 098D ECM_PID: 1C0D PROVID: 000000
    • 2019/06/02 12:49:34 6B6A67B2 c (dvbapi) Demuxer 0 found 3 ECMpids and 4 STREAMpids in caPMT
    • 2019/06/02 12:49:34 6B6A67B2 c (dvbapi) Demuxer 0 found channel in cache and matching prio -> start descrambling ecmpid 1
    • 2019/06/02 12:49:34 6B6A67B2 c (dvbapi) Demuxer 0 trying to descramble PID 1 CAID 098C PROVID 000000 ECMPID 1A0D ANY CHID PMTPID 0060 VPID 00FF
    • 2019/06/02 12:49:34 6B6A67B2 c (dvbapi) Demuxer 0 found 3 ECMpids and 4 STREAMpids in PMT
    • 2019/06/02 12:49:34 6B6A67B2 c (ecm) local (098C@000000/0C1F/0069/9F:8169C78E4D02DC35211791C3FEDA8678): found (42 ms) by reader2 (P/3/3/3) -Kanal XYZ 1 HD

    Jemand eine Idee wo es haken könnte? Ich könnte es mir ja eigentlich nur über eine falsche Konfig des Newcamd Users in OSCAM erklären?

    Gruß
    amenz