[iptv] m3u, stream, radio Erweiterung

  • I cant' resolve the problem "undefined symbol: SSL_connect"

    Everything compiles but then start fails? And also a difference between Ubuntu 22.04 and Fedora 40? Sounds strange...

    Hmm. After checking the Makefile the liibs ssl and crypto does not exists,

    Could you please check if everything works, if you change the Makefile (Line 57)

    Code
    LIBS = $(shell curl-config --libs) -lssl -lcrypto

    This is of course an error. I only want to check if there does not exists another problem.

  • In any case I don't understand why and where the plugin call to the libraries

    Many m3u URLs uses https therefore the ssl libraries are needed. I now believe that the SSL libraries have been implicitly linked on my system. e.g. via curl. But more important is, that it works now.

    Code
    ldd /usr/lib/x86_64-linux-gnu/libcurl.so
        libssl.so.3 => /lib/x86_64-linux-gnu/libssl.so.3 (0x00007f1001905000)
        libcrypto.so.3 => /lib/x86_64-linux-gnu/libcrypto.so.3 (0x00007f1001400000)
  • Thank you for the efforts.

    Could you please make a PKGBUILD for arch?

    Thank you in advance.

    Best regards

    VDR Server: VDR4Arch (VDR 2.7.4) as a VNSI Server and Streamdev Server. DD CINE S2 + 2 x DD Duoflex S2 (6 tuners)

    VDR1 Client- ASUS AT5IONTI, 4gb RAM, 128GB SSD, MCE Remote, D-Vine 5 HTPC Case, YAVDR Ansible, Ubuntu 20.04.2
    VDR2 Client- Beelink GT King Pro. CE
    VDR3 Client- Modified Reelbox AVG II with working display: Gigabyte C1037UN-EU + EHD + 4GB ram + 32GB SSD. Streamdev client only.BM2LTS
    UNRAID - 180 TB storage, Supermicro X10SRL -F + Xeon E5-2680 v3 + 512 GB DDR4 ECC Ram.

  • Unfortunately I cannot see such PKGBUILD in AUR. Hope someone with Arch will do it on a later stage.

    VDR Server: VDR4Arch (VDR 2.7.4) as a VNSI Server and Streamdev Server. DD CINE S2 + 2 x DD Duoflex S2 (6 tuners)

    VDR1 Client- ASUS AT5IONTI, 4gb RAM, 128GB SSD, MCE Remote, D-Vine 5 HTPC Case, YAVDR Ansible, Ubuntu 20.04.2
    VDR2 Client- Beelink GT King Pro. CE
    VDR3 Client- Modified Reelbox AVG II with working display: Gigabyte C1037UN-EU + EHD + 4GB ram + 32GB SSD. Streamdev client only.BM2LTS
    UNRAID - 180 TB storage, Supermicro X10SRL -F + Xeon E5-2680 v3 + 512 GB DDR4 ECC Ram.

  • If at all possible, please try to create one on your own. Base PKGBUILDs are here: https://github.com/VDR4Arch/vdr4arch

    And after finishing either upload your PKGBUILD to a new Issue or (if possible) create a Pull Request.

    I would do it with a great pleasure and would upload it to AUR but my linux skills are very limited and cannot do it on my own.

    VDR Server: VDR4Arch (VDR 2.7.4) as a VNSI Server and Streamdev Server. DD CINE S2 + 2 x DD Duoflex S2 (6 tuners)

    VDR1 Client- ASUS AT5IONTI, 4gb RAM, 128GB SSD, MCE Remote, D-Vine 5 HTPC Case, YAVDR Ansible, Ubuntu 20.04.2
    VDR2 Client- Beelink GT King Pro. CE
    VDR3 Client- Modified Reelbox AVG II with working display: Gigabyte C1037UN-EU + EHD + 4GB ram + 32GB SSD. Streamdev client only.BM2LTS
    UNRAID - 180 TB storage, Supermicro X10SRL -F + Xeon E5-2680 v3 + 512 GB DDR4 ECC Ram.

  • But just requesting doesn't help. To be honest: I don't plan to accept PKGBUILDs anymore without any previous attempt to create something by the person requesting the PKGBUILD.

  • No problem then. Zabrimus made some very good work and I thought that it deserves to be added as a pkgbuild so that vdr4arch users can use it too.

    VDR Server: VDR4Arch (VDR 2.7.4) as a VNSI Server and Streamdev Server. DD CINE S2 + 2 x DD Duoflex S2 (6 tuners)

    VDR1 Client- ASUS AT5IONTI, 4gb RAM, 128GB SSD, MCE Remote, D-Vine 5 HTPC Case, YAVDR Ansible, Ubuntu 20.04.2
    VDR2 Client- Beelink GT King Pro. CE
    VDR3 Client- Modified Reelbox AVG II with working display: Gigabyte C1037UN-EU + EHD + 4GB ram + 32GB SSD. Streamdev client only.BM2LTS
    UNRAID - 180 TB storage, Supermicro X10SRL -F + Xeon E5-2680 v3 + 512 GB DDR4 ECC Ram.

  • No problem then. Zabrimus made some very good work and I thought that it deserves to be added as a pkgbuild so that vdr4arch users can use it too.

    May be, but M-Reimer asks for your help, as you requested it and he doesnt use vdr too much at all.

    Spoiler anzeigen
    Spoiler anzeigen
    Spoiler anzeigen
    Spoiler anzeigen
    Spoiler anzeigen
    Spoiler anzeigen
    Spoiler anzeigen
    Spoiler anzeigen
    Spoiler anzeigen
    Spoiler anzeigen
    Spoiler anzeigen
    Spoiler anzeigen
    Spoiler anzeigen
    Spoiler anzeigen
    Spoiler anzeigen


    to spoil
    verderben
    beschädigen
    plündern
    behindern
    berauben
    vereiteln
    rauben
    zerstören [fig.] [verderben, verunstalten]
    vergällen
    verhageln [fig.]

  • Yes, understood. And I said I would gladly assist with any help if my linux skills were not so limited.

    VDR Server: VDR4Arch (VDR 2.7.4) as a VNSI Server and Streamdev Server. DD CINE S2 + 2 x DD Duoflex S2 (6 tuners)

    VDR1 Client- ASUS AT5IONTI, 4gb RAM, 128GB SSD, MCE Remote, D-Vine 5 HTPC Case, YAVDR Ansible, Ubuntu 20.04.2
    VDR2 Client- Beelink GT King Pro. CE
    VDR3 Client- Modified Reelbox AVG II with working display: Gigabyte C1037UN-EU + EHD + 4GB ram + 32GB SSD. Streamdev client only.BM2LTS
    UNRAID - 180 TB storage, Supermicro X10SRL -F + Xeon E5-2680 v3 + 512 GB DDR4 ECC Ram.

  • To make it easier, i created a release tag v2.6.0. The latest VDR api is 2.6.9. The samples are not yet copied, because they are new.

    Zurück zu den Änderungen:

    - der PidScanner existierte in den Sourcen, wurde aber überhaupt nicht aufgerufen. Die Einstellung P=1 in der channels.conf hatte keine Auswirkungen. Das wurde geändert.

    - Die Bestimmung der Audio-Pids wurde verbessert (nutzt dazu den PidScanner bei der Einstellung P=1)

    - Die M3U Samples (channels.conf) wurden soweit verbessert/geändert, daß keine Obsolete Channels mehr auftauchen.

    Was stört mich noch?

    - Die Radio-Channels werden abgespielt, aber das letzte Bild des TV bleibt stehen. Ich denke darüber nach, ein Bild aus dem Radio-Plugin zu übernehmen oder ein schwarzes Bild anzeigen zu lassen.

    - Es gibt noch einen schweren Fehler beim Wechsel von einem Radio-Channel zu einem M3U-Channel. Mein Ausgabedevice (softhdcuvid) läuft Amok, Puffer laufen über, Bild und Ton sind eine Katastrophe.... Meine Vermutung ist, daß ich die Ausgabedevice-Puffer löschen muss, so wie ich es auch im web-Plugin machen musste. Das probiere ich noch.

  • Das ist zum Haare raufen - aber sowas von.

    Der Wechsel von RADIO nach M3U macht Probleme. Umgekehrt funktioniert alles, auch Wechsel innerhalb des Protokolls geht einwandfrei (RADIO -> RADIO, M3U -> M3U und auch M3U -> RADIO). Und der Wechsel von RADIO -> DVB -> M3U funktioniert.

    Das ist auch unabhängig vom Ausgabedevice. Probiert habe ich softhdcuvid, softhddevice und softhdodroid.

    Ich kann das Problem einfach nicht lokalisieren. Es sieht alles gut aus und bisher habe ich keine Änderung gefunden, die irgendwie ein anderes Verhalten erzeugt und mehr Hinweise gibt - egal welche.

  • Auch ein blindes Huhn findet mal ein Korn. Den Code mit Ausgaben gepflastert bis eine Unregelmäßigkeit aufgefallen ist.

    Mehrere Threads, die sich die Variablen gegenseitig überschreiben und damit einen inkonsistenten Zustand erzeugen.

    Jetzt muss ich nur noch überlegen, wie ich die Locks vernünftig setze.

  • Das Gegenstück zum Protocol RADIO wurde implementiert: STREAM.

    Damit kann man direkt eine URL eines Videostreams angeben, wenn das Format eben nicht m3u ist.

    Z.B. habe ich bei mit in der channels.conf sowas stehen:

    Code
    TEST:600:S=1|P=1|F=STREAM|U=http%3A//localhost/test_stream|A=1:I:0:256:257:0:0:22:1:222:0

    und der Apache liefert die Video-Datei aus.

    FILE kann nur lokale Files ohne Webserver

    HTTP kann nur HTTP und z.B. kein HTTPS.

    CURL ist vom Namen her eher unglücklich, weil es auf RTSP spezialisiert ist.

    Insgesamt denke ich, daß viele Fälle abgedeckt sein sollten. Mal simpel, mal aufwendiger.

    Was mich aber wirklich stört, das das Audio bei M3U manchmal asynchron ist. Mein Standardsender KIKA mit 3 Audiostreams ist da immer ein guter Test. Ein Wechsel der Audiospur oder ein Wechsel des Kanals hilft manchmal. Sehr seltsam. Eine Option, eine bestimmte Audiospur auszuwählen wäre vielleicht auch eine Option.

    Also entweder ist FFmpeg mit dem Realtime-Muxen etwas überfordert, zumal das sehr zeitkritisch ist, oder die m3u passt nicht.

    Mein Plan sieht vor, mal bei vlc zu schauen, was da so möglich ist.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!