vdr-transcode - swiss knife for transcoding

  • Eigentlich sollte man das doch mit systemd machen.

    systemd kümmert sich um start / stop Kommandos, pid Datei, ....

    Und systemd started das Script dann mit dem gewünschten user (vdr).

    Das wäre vielleicht die Lösung,nur wie stellt man das an.

    VDR-1:Steacom-ST-FC9S,Steacom-ST-Nano160,Asus Prime B560M-A,Core i5-11400,NVIDIA T600,DDR4 8GB 3200MHz,Crucial P2 CT500P2SSD8 500GB,DD Cine-S2-V7,STM32 USB Adapter,CSL 300Mbit WLan-Stick,yaVDR-ansible(jammy) alle Updates.

    Client1: Raspberry Pi 3,LibreELEC 9.2.8

    Client2:Raspberry Pi 4,LibreELEC 10.0.3

    TV =Sony KD-55AF8

    Audio=Denon AVR-X2700H/Teufel-Ultima-40 5.1

  • Ich kenne mich mit systemd nicht aus.


    Edit:


    Ich glaube auch nicht, dass das eine Lösung bringt.


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

    Einmal editiert, zuletzt von jsffm ()

  • Ich leider auch nicht.

    Trotzdem,dein Script ist eine super Lösung für mich.

    VDR-1:Steacom-ST-FC9S,Steacom-ST-Nano160,Asus Prime B560M-A,Core i5-11400,NVIDIA T600,DDR4 8GB 3200MHz,Crucial P2 CT500P2SSD8 500GB,DD Cine-S2-V7,STM32 USB Adapter,CSL 300Mbit WLan-Stick,yaVDR-ansible(jammy) alle Updates.

    Client1: Raspberry Pi 3,LibreELEC 9.2.8

    Client2:Raspberry Pi 4,LibreELEC 10.0.3

    TV =Sony KD-55AF8

    Audio=Denon AVR-X2700H/Teufel-Ultima-40 5.1

  • Wie gesagt: Ich glaube auch nicht, dass das eine Lösung bringt.


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

  • Im Git sind einige Änderungen, die die Benutzung als User verbessern sollten. Ich empfehle einmalig die Dateien /tmp/vt* zu Löschen.


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

  • Im Git sind einige Änderungen, die die Benutzung als User verbessern sollten. Ich empfehle einmalig die Dateien /tmp/vt* zu Löschen.

    Werde ich heute Nachmittag testen

    VDR-1:Steacom-ST-FC9S,Steacom-ST-Nano160,Asus Prime B560M-A,Core i5-11400,NVIDIA T600,DDR4 8GB 3200MHz,Crucial P2 CT500P2SSD8 500GB,DD Cine-S2-V7,STM32 USB Adapter,CSL 300Mbit WLan-Stick,yaVDR-ansible(jammy) alle Updates.

    Client1: Raspberry Pi 3,LibreELEC 9.2.8

    Client2:Raspberry Pi 4,LibreELEC 10.0.3

    TV =Sony KD-55AF8

    Audio=Denon AVR-X2700H/Teufel-Ultima-40 5.1

  • MarkusE hatte ja folgendes geschrieben.

    Das werde ich auch noch testen unter YaVDR

    VDR-1:Steacom-ST-FC9S,Steacom-ST-Nano160,Asus Prime B560M-A,Core i5-11400,NVIDIA T600,DDR4 8GB 3200MHz,Crucial P2 CT500P2SSD8 500GB,DD Cine-S2-V7,STM32 USB Adapter,CSL 300Mbit WLan-Stick,yaVDR-ansible(jammy) alle Updates.

    Client1: Raspberry Pi 3,LibreELEC 9.2.8

    Client2:Raspberry Pi 4,LibreELEC 10.0.3

    TV =Sony KD-55AF8

    Audio=Denon AVR-X2700H/Teufel-Ultima-40 5.1

  • Hi,


    zu systemd habe ich folgendes gefunden: http://tuxgraphics.org/npa/systemd-scripts/

    Man brachte wohl eine Datei /lib/systemd/system/vt.service (oder /usr/lib/systemd/system/vt.service) , mit folgendem Inhalt:

    Code
    [Unit]
    Description=VDR transcode
    
    [Service]
    # see man systemd.service 
    Type=oneshot
    ExecStart=sudo su vdr "/usr/local/bin/vt --as"
    RemainAfterExit=true
    ExecStop=sudo su vdr "/usr/local/bin/vt --ak"
    StandardOutput=journal


    Ist noch ungetestet, sollte aber so gehen.

    Client1: ASUS P5QC, Dual Core 3G, Cine S2, Ext. Board von TBE, Xubuntu 20.04, VDR 2.6x

    Client2: RPI3

    Server: RPI4, Sundtek SkyTV Dual 2x

  • Super,werde ich nach der Maloche testen

    VDR-1:Steacom-ST-FC9S,Steacom-ST-Nano160,Asus Prime B560M-A,Core i5-11400,NVIDIA T600,DDR4 8GB 3200MHz,Crucial P2 CT500P2SSD8 500GB,DD Cine-S2-V7,STM32 USB Adapter,CSL 300Mbit WLan-Stick,yaVDR-ansible(jammy) alle Updates.

    Client1: Raspberry Pi 3,LibreELEC 9.2.8

    Client2:Raspberry Pi 4,LibreELEC 10.0.3

    TV =Sony KD-55AF8

    Audio=Denon AVR-X2700H/Teufel-Ultima-40 5.1

  • Unter gentoo bekomme ich dann:


    wie gesagt, ich habe keine Ahnung von systemd


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

  • Ich würde das so umformen, mit einer [Install]-Sektion lässt sich die Unit dann auch enablen:

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • Habe folgendes gemacht


    In /lib/systemd/system eine Datei erstellt vt.service mit folgendem Inhalt


    Dann


    Code
    frank@stube:~$ sudo systemctl enable vt.service

    Dann werden die *.log von vdr-transcode im *.rec der Aufzeichnung als vdr:vdr erstellt.

    Beim löschen der Aufzeichnung wird auch alles gelöscht.

    VDR-1:Steacom-ST-FC9S,Steacom-ST-Nano160,Asus Prime B560M-A,Core i5-11400,NVIDIA T600,DDR4 8GB 3200MHz,Crucial P2 CT500P2SSD8 500GB,DD Cine-S2-V7,STM32 USB Adapter,CSL 300Mbit WLan-Stick,yaVDR-ansible(jammy) alle Updates.

    Client1: Raspberry Pi 3,LibreELEC 9.2.8

    Client2:Raspberry Pi 4,LibreELEC 10.0.3

    TV =Sony KD-55AF8

    Audio=Denon AVR-X2700H/Teufel-Ultima-40 5.1

    2 Mal editiert, zuletzt von pille2011 ()

  • jsffm


    Bei HD Aufzeichnungen wird kein Ton erstellt.

    VDR-1:Steacom-ST-FC9S,Steacom-ST-Nano160,Asus Prime B560M-A,Core i5-11400,NVIDIA T600,DDR4 8GB 3200MHz,Crucial P2 CT500P2SSD8 500GB,DD Cine-S2-V7,STM32 USB Adapter,CSL 300Mbit WLan-Stick,yaVDR-ansible(jammy) alle Updates.

    Client1: Raspberry Pi 3,LibreELEC 9.2.8

    Client2:Raspberry Pi 4,LibreELEC 10.0.3

    TV =Sony KD-55AF8

    Audio=Denon AVR-X2700H/Teufel-Ultima-40 5.1

  • Jetzt müsste nur noch vt beim booten automatisch starten dann wäre es perfekt.

    systemctl enable vt.service

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • systemctl enable vt.service

    Ja genau,gerade geändert,aber beim booten startet vdr-transcode nicht.

    Komisch,wenn ich es manuell starte mit "sudo vt --as &" funktioniert es

    VDR-1:Steacom-ST-FC9S,Steacom-ST-Nano160,Asus Prime B560M-A,Core i5-11400,NVIDIA T600,DDR4 8GB 3200MHz,Crucial P2 CT500P2SSD8 500GB,DD Cine-S2-V7,STM32 USB Adapter,CSL 300Mbit WLan-Stick,yaVDR-ansible(jammy) alle Updates.

    Client1: Raspberry Pi 3,LibreELEC 9.2.8

    Client2:Raspberry Pi 4,LibreELEC 10.0.3

    TV =Sony KD-55AF8

    Audio=Denon AVR-X2700H/Teufel-Ultima-40 5.1

  • Bei HD Aufzeichnungen wird kein Ton erstellt.

    Immer diese Pauschalaussagen :wand


    Wie im 1. Post beschrieben brauche ich das logfile, bei mp4 <datei>.log


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

  • Was steht denn für die Unit im Journal und welchen Status hat die? journalctl -u vt.service -b -l systemctl status vt.service

    yaVDR-Dokumentation (Ceterum censeo enchiridia esse lectitanda.)

  • Wie im 1. Post beschrieben brauche ich das logfile, bei mp4 <datei>.log

    Sorry,mache ich später,will erst das Problem mit dem booten lösen.

    VDR-1:Steacom-ST-FC9S,Steacom-ST-Nano160,Asus Prime B560M-A,Core i5-11400,NVIDIA T600,DDR4 8GB 3200MHz,Crucial P2 CT500P2SSD8 500GB,DD Cine-S2-V7,STM32 USB Adapter,CSL 300Mbit WLan-Stick,yaVDR-ansible(jammy) alle Updates.

    Client1: Raspberry Pi 3,LibreELEC 9.2.8

    Client2:Raspberry Pi 4,LibreELEC 10.0.3

    TV =Sony KD-55AF8

    Audio=Denon AVR-X2700H/Teufel-Ultima-40 5.1

  • Code
    root@stube:/home/frank# journalctl -u vt.service -b -l
    -- Logs begin at Wed 2022-01-12 08:04:16 CET, end at Tue 2022-05-31 16:03:03 CEST. --
    Mai 31 15:56:49 stube systemd[1]: Starting VDR transcode...
    Mai 31 15:56:49 stube vt[818]: & wrong
    Mai 31 15:56:49 stube vt[818]: try -&
    Mai 31 15:56:49 stube systemd[1]: vt.service: Main process exited, code=exited, status=8/n/a
    Mai 31 15:56:49 stube systemd[1]: vt.service: Failed with result 'exit-code'.
    Mai 31 15:56:49 stube systemd[1]: Failed to start VDR transcode.
    root@stube:/home/frank#

    VDR-1:Steacom-ST-FC9S,Steacom-ST-Nano160,Asus Prime B560M-A,Core i5-11400,NVIDIA T600,DDR4 8GB 3200MHz,Crucial P2 CT500P2SSD8 500GB,DD Cine-S2-V7,STM32 USB Adapter,CSL 300Mbit WLan-Stick,yaVDR-ansible(jammy) alle Updates.

    Client1: Raspberry Pi 3,LibreELEC 9.2.8

    Client2:Raspberry Pi 4,LibreELEC 10.0.3

    TV =Sony KD-55AF8

    Audio=Denon AVR-X2700H/Teufel-Ultima-40 5.1

  • Habe es nochmals ohne "&" probiert

    Code
    root@stube:/home/frank# journalctl -u vt.service -b -l
    -- Logs begin at Wed 2022-01-12 08:04:16 CET, end at Tue 2022-05-31 16:11:36 CEST. --
    Mai 31 16:11:03 stube systemd[1]: Starting VDR transcode...
    Mai 31 16:11:03 stube vt[815]: already running
    Mai 31 16:11:03 stube systemd[1]: vt.service: Main process exited, code=exited, status=99/n/a
    Mai 31 16:11:03 stube systemd[1]: vt.service: Failed with result 'exit-code'.
    Mai 31 16:11:03 stube systemd[1]: Failed to start VDR transcode.
    root@stube:/home/frank#

    VDR-1:Steacom-ST-FC9S,Steacom-ST-Nano160,Asus Prime B560M-A,Core i5-11400,NVIDIA T600,DDR4 8GB 3200MHz,Crucial P2 CT500P2SSD8 500GB,DD Cine-S2-V7,STM32 USB Adapter,CSL 300Mbit WLan-Stick,yaVDR-ansible(jammy) alle Updates.

    Client1: Raspberry Pi 3,LibreELEC 9.2.8

    Client2:Raspberry Pi 4,LibreELEC 10.0.3

    TV =Sony KD-55AF8

    Audio=Denon AVR-X2700H/Teufel-Ultima-40 5.1

Jetzt mitmachen!

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