[iptv] m3u, stream, radio Erweiterung

  • Nachdem ich soviel über das iptv-Plugin gelesen habe, juckte es mir in den Fingern.

    Ich habe das Plugin erweitert und das iptv-Plugin kennt jetzt einen m3u-Modus, das direkt mit Playlists arbeiten kann. Dabei wird versucht, so schnell wie möglich an den Stream zu kommen. Allerdings kommt mir der VDR in die Quere, wenn z.B. ein PID-Update stattfindet, dann wird der Stream neu initialisiert. Meine Hoffnung ist, das die channels.conf beim nächsten Aufruf bereits in voller Blüte da steht. Aber mal sehen.

    Was wohl noch Probleme macht sind Radio-Kanäle, bei denen ich keinen Ton bekomme. Möglicherweise habe ich die channels.conf noch nicht richtig durchschaut.

    Ein anderes Problem sind mehrere Audio-Kanäle. Die Streams sollten eigentlich im mpeg-ts vorhanden sein, ich kann diese in VDR auch wechseln, allerdings sehe ich keinen großen Effekt, außer das Video/Audio sehr asychron werden.

    Das Repository befindet sich dort https://github.com/Zabrimus/vdr-plugin-iptv. Es gibt ein Samples-Ordner in dem schon die channels.conf und cfg-Dateien von Kodinerds abgelegt sind. Also einfach die gewünschte Config in das plugins/iptv Verzeichnis packen, die channels.conf an die echte channels.conf anhängen und man kann direkt rumspielen.

    Die Extension musste ich von .c auf .cpp ändern, weil es mit nicht gelungen ist, meine IDE von .c irgendwie auf c++ zu mappen. Die Fehlermeldungen und die statische Code-Analyse waren maximale Spaßbremsen und furchtbar.

    Wer ist eigentlich der Maintainer? Obwohl meine Änderungen schon umfassend sind und ein Pull Request ziemlich groß werden würde. Ich weiß gar nicht, ab der Pull Request überhaupt angenommen würde.

  • Zabrimus

    I want play single m3u8 url. How I can to do this. I tried:

    Display Spoiler
    Code
    NASA;internet:1100000:S=1|P=1|F=HTTP|U=ntv1.akamaized.net/hls/live/2014075/NASA-NTV1-HLS/master_2000.m3u8|A=80:I:0:100=2:200=@4:0:0:1:1:1:0

    But I have:

    [socket.cpp,361]: connect(): network unavailable

    May be need to add a new stream address M3U8?

    vdr-2.6.4+(SoftHDDevice GT1030)+ss2 express HD+Behold TV H7+IPTV+PVR150MCE
    https://github.com/ua0lnj/

    Edited once, last by lnj (July 18, 2024 at 2:25 AM).

  • I also have some patches for the IPTV plugin.

    Maybe we can ask M-Reimer to add the iptv plugin to git vdr-projects?

    Patches are welcome :) I started to like the plugin. Should the project moved to vdr-projects?

    But I have:

    [socket.cpp,361]: connect(): network unavailable

    I'm not sure if the protocol will be automatically added to the URL. e.g. http://ntv1...

    The m3u variant will also need the protocol, but it should work, if ffplay can play the url as is. But then the channel configuration is important, because all information for ffmpeg transcoding are read from channels.conf.

    e.g. NID, VPID, APID, SID and so on.

  • Bei den Radio-Kanälen von KodiNerds hatte ich einen Denkfehler. Die URL ist am Ende gar keine m3u.

    Deshalb habe ich das Plugin erweitert um das Protokoll RADIO, mit dem auch solche Streams abgespielt werden können. Das hätte bestimmt auch über ein Script realisiert werden können, aber das war mir zu aufwendig.

    Ein Beispiel für einen Radiostream in der channels.conf

    Code
    1LIVE:80:S=1|P=0|F=RADIO|U=http%3A//wdr-1live-live.icecast.wdr.de/wdr/1live/live/mp3/128/stream.mp3|A=8:I:0:270:271,272,273,274,275:0:0:8:1:9:8
  • rofafor scheint keinen VDR mehr zu besitzen und kein Interesse am Plugin.

    Insofern sollte das Plugin von jemandem aus dem Forum maintained werden, so dass man alle Patches und Verbesserungen einfangen kann.

    Display Spoiler
    Display Spoiler
    Display Spoiler
    Display Spoiler
    Display Spoiler
    Display Spoiler
    Display Spoiler
    Display Spoiler
    Display Spoiler
    Display Spoiler
    Display Spoiler
    Display Spoiler
    Display Spoiler
    Display Spoiler
    Display Spoiler


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

  • lnj

    I want play single m3u8 url. How I can to do this. I tried:

    I was curious how easy or hard it is to play the Nasa stream. Easy :)

    channels.conf:

    Code
    NASA:530:S=1|P=0|F=M3U|U=nasa.cfg|A=1:I:0:720:721:0:0:53:1:1:0

    nasa.cfg (in directory plugins/iptv):

    Code
    1:http://ntv1.akamaized.net/hls/live/2014075/NASA-NTV1-HLS/master_2000.m3u8
  • Ein einfach Hand zu habendes IPTV Plugin wäre eine schöne Sache. Vielen Dank für das weiterentwickeln

    Kanallogos: Picon.cz2VDR | Picons2VDR | MP-Logos
    Backupskripte:
    MV_Backup (RSync) | MV_BorgBackup (Borg)

    Skin: Skin FlatPlus  VDR-Add_MSGT

    "Es gibt keinen Grund, warum irgendjemand einen Computer in seinem Haus wollen würde."
    [Ken Olson], Präsident der Digital Equipment Corp., 1977

    VDR01 - yaVDR 0.7 (VDR 2.7.3)

    VDR 2.7.3; Gehäuse: Antec Fusion V2 Black & iMon LCD; Atric IR-Einschalter Rev. 4; Board: Intel DH77EB, Core i5-3550, GTX 1050 Ti, 8 GB RAM; DVB: 1x Digital Devices CineS2 Quad V6.5

    >Systeminfo.txt< [VDR-User #1540]

  • Code
    Jul 18 11:08:37 gentoo kernel: vdr[6908]: segfault at 610 ip 00007f44bacd9655 sp 00007ffcbc4b8e10 error 4 in libvdr-iptv.so.2.6.7[7f44bac9f000+82000] likely on CPU 5 (core 6, socket 0)
    Jul 18 11:08:37 gentoo kernel: Code: e8 a0 79 fc ff e9 5e ff ff ff 90 66 2e 0f 1f 84 00 00 00 00 00 41 56 41 55 41 54 55 53 48 89 f5 48 89 fb 48 81 ec 40 01 00 00 <48> 8b b6 10 06 00 00 48 8d 7c 24 20 64 48 8b 04 25 28 00 00 00 48

    Leider habe ich keinen Coredump

    Mein VDR

    VDR1 Mediaportal mit QVT-Board, Intel 810 Chipsatz, Pentium III 1,1 Ghz, 256 Mb Ram, WDC WD5000AAKB, DVB-S TT 1.5, Nova-S, Digidish 33, Gentoo Kernel 2.6.31, VDR 1.4.7
    VDR2 Asrock M3N78D, AMD Phenom II X6 1055T, 8 Gb Ram, Geforce GTX 950, WinTV dualHD, Gentoo Kernel 5.10, VDR 2.6.0, softhddevice
    VDR3 MC-1200, GA-B85M-HD3, Celeron G1840, Quadro P400. 4G Ram, CineS2 6, DuoFlex S2, WinTV dualHD, Gentoo Kernel 5.10, VDR 2.6.0, softhddevice
    TV TX-37LZD85F, AV VSX-520D - Consono 35


    vdr-User-# 755 to_h264 chk_r vdr-transcode github

  • Regelmäßig, aber ich habe einen Verdacht.

    Mein VDR

    VDR1 Mediaportal mit QVT-Board, Intel 810 Chipsatz, Pentium III 1,1 Ghz, 256 Mb Ram, WDC WD5000AAKB, DVB-S TT 1.5, Nova-S, Digidish 33, Gentoo Kernel 2.6.31, VDR 1.4.7
    VDR2 Asrock M3N78D, AMD Phenom II X6 1055T, 8 Gb Ram, Geforce GTX 950, WinTV dualHD, Gentoo Kernel 5.10, VDR 2.6.0, softhddevice
    VDR3 MC-1200, GA-B85M-HD3, Celeron G1840, Quadro P400. 4G Ram, CineS2 6, DuoFlex S2, WinTV dualHD, Gentoo Kernel 5.10, VDR 2.6.0, softhddevice
    TV TX-37LZD85F, AV VSX-520D - Consono 35


    vdr-User-# 755 to_h264 chk_r vdr-transcode github

  • Es fehlt dieser Patch:

    Diff
    --- device.cpp.s        2016-04-12 22:18:03.920475489 +0200
    +++ device.cpp  2024-06-24 16:49:18.983183252 +0200
    @@ -261,6 +261,7 @@
    
     bool cIptvDevice::SetChannelDevice(const cChannel *channelP, bool liveViewP)
     {
    +  if (!channelP) return true;
       cIptvProtocolIf *protocol;
       cIptvTransponderParameters itp(channelP->Parameters());

    ich hoffe, das Problem ist jetzt weg.

    Mein VDR

    VDR1 Mediaportal mit QVT-Board, Intel 810 Chipsatz, Pentium III 1,1 Ghz, 256 Mb Ram, WDC WD5000AAKB, DVB-S TT 1.5, Nova-S, Digidish 33, Gentoo Kernel 2.6.31, VDR 1.4.7
    VDR2 Asrock M3N78D, AMD Phenom II X6 1055T, 8 Gb Ram, Geforce GTX 950, WinTV dualHD, Gentoo Kernel 5.10, VDR 2.6.0, softhddevice
    VDR3 MC-1200, GA-B85M-HD3, Celeron G1840, Quadro P400. 4G Ram, CineS2 6, DuoFlex S2, WinTV dualHD, Gentoo Kernel 5.10, VDR 2.6.0, softhddevice
    TV TX-37LZD85F, AV VSX-520D - Consono 35


    vdr-User-# 755 to_h264 chk_r vdr-transcode github

  • Der kommt von hier

    Mein VDR

    VDR1 Mediaportal mit QVT-Board, Intel 810 Chipsatz, Pentium III 1,1 Ghz, 256 Mb Ram, WDC WD5000AAKB, DVB-S TT 1.5, Nova-S, Digidish 33, Gentoo Kernel 2.6.31, VDR 1.4.7
    VDR2 Asrock M3N78D, AMD Phenom II X6 1055T, 8 Gb Ram, Geforce GTX 950, WinTV dualHD, Gentoo Kernel 5.10, VDR 2.6.0, softhddevice
    VDR3 MC-1200, GA-B85M-HD3, Celeron G1840, Quadro P400. 4G Ram, CineS2 6, DuoFlex S2, WinTV dualHD, Gentoo Kernel 5.10, VDR 2.6.0, softhddevice
    TV TX-37LZD85F, AV VSX-520D - Consono 35


    vdr-User-# 755 to_h264 chk_r vdr-transcode github

  • Aber du hast doch mit 2.6.7 probiert, oder?

    Da gab es dieses feature doch noch nicht.

    Display Spoiler
    Display Spoiler
    Display Spoiler
    Display Spoiler
    Display Spoiler
    Display Spoiler
    Display Spoiler
    Display Spoiler
    Display Spoiler
    Display Spoiler
    Display Spoiler
    Display Spoiler
    Display Spoiler
    Display Spoiler
    Display Spoiler


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

  • Bei mir per Patch schon.

    Mein VDR

    VDR1 Mediaportal mit QVT-Board, Intel 810 Chipsatz, Pentium III 1,1 Ghz, 256 Mb Ram, WDC WD5000AAKB, DVB-S TT 1.5, Nova-S, Digidish 33, Gentoo Kernel 2.6.31, VDR 1.4.7
    VDR2 Asrock M3N78D, AMD Phenom II X6 1055T, 8 Gb Ram, Geforce GTX 950, WinTV dualHD, Gentoo Kernel 5.10, VDR 2.6.0, softhddevice
    VDR3 MC-1200, GA-B85M-HD3, Celeron G1840, Quadro P400. 4G Ram, CineS2 6, DuoFlex S2, WinTV dualHD, Gentoo Kernel 5.10, VDR 2.6.0, softhddevice
    TV TX-37LZD85F, AV VSX-520D - Consono 35


    vdr-User-# 755 to_h264 chk_r vdr-transcode github

  • I also have some patches for the IPTV plugin.

    Maybe we can ask M-Reimer to add the iptv plugin to git vdr-projects?

    Letztlich Entscheidung des jenigen der weiterentwickeln will. Wenn gewünscht richte ich gerne das Repo und direkt Commit-Rechte für Zabrimus ein.

    Andernfalls verlinke ich eben sein Repo direkt als neue Quelle.

    Anfragen dazu aber bitte generell und immer via https://github.com/vdr-projects/v…ithub.io/issues

  • I'm getting crazy

    No problem compiling this new version but starting vdr I have this type of reply

    Quote

    vdr: /usr/lib/vdr/libvdr-iptv.so.2.6.9: undefined symbol: SSL_connect

    the new channels.conf and channels.cfg are in the right folders as per Zabrimus instruction

    All libraries ssl openssl are correctly installed

    Really :wand I cant' resolve the problem "undefined symbol: SSL_connect"

Participate now!

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