[markad] überarbeiteter Decoder

  • almost there

    Yes we are. And the latest commit will fix your wrong marks.

    Your cpu appears to be not very powerfull. On my Intel I3 it takes 60s. Change your setup:

    --logocachedir=/var/lib/markad (or your correct path to the logos)

    and copy the logo files from the recording directory into your logo cache dir. markad will use these and does not build an own for each recording.

    Please post your info file from the recording I have downloaded from you. Is only some bytes big.

    VDR

    Server: Ubuntu 24.04 headless VDR im LXC Container, Plugins: satip (Octopus NET SL SX8), live, epgsearch, epg2vdr, markad

    Clients: LibreELEC auf RasPi3 und RasPi 3+

  • sure, fast enough for vdr. But searching the logo in a video stream is very cpu and memory intensive. But no problem, use the old way with the stored logos or spend 12 min of CPU time. Your choice.

    Thx for the info file, I will keep an eye of your recording format for future updates.

    VDR

    Server: Ubuntu 24.04 headless VDR im LXC Container, Plugins: satip (Octopus NET SL SX8), live, epgsearch, epg2vdr, markad

    Clients: LibreELEC auf RasPi3 und RasPi 3+

  • Wie ist eigentlich die Empfehlung bzw. ein gutes Ergebnis möglich:

    - wenn man markad während der Aufnahme

    oder

    - nach der Aufnahme

    laufen lässt?

    Gruß utiltiy

    meine VDR

    vdr03: Antec Remote Fusion, Intel DH67BL, Celeron G1620, GT630, 2x 2GB DDR3 - Hynix, SDA SATA 40GB, SDB SATA 1.5TB, L4M Cine S2 [yaVDR/vdr4arch]
    vdr04: Antec Remote Fusion Micro, Intel DH67BL, Celeron G550, GT630, 2x 2GB DDR3 - Kingston, SDA SATA 160GB WD, SDB SATA 3TB WD Red, L4M Cine S2 [yaVDR/vdr4arch]


    VDR Projects

  • egal, das Ergebnis ist exakt das Gleiche.

    Ich persönlich lasse es sogar unabhängig von VDR über ein eigenes Skript laufen, das nachschaut, ob es das marks File gibt und wenn nicht, markad auf diese Aufnahme startet. Dieses Skript wird stündlich aus crontab gestartet.

    VDR

    Server: Ubuntu 24.04 headless VDR im LXC Container, Plugins: satip (Octopus NET SL SX8), live, epgsearch, epg2vdr, markad

    Clients: LibreELEC auf RasPi3 und RasPi 3+

    Edited once, last by kfb77 (May 5, 2020 at 4:53 PM).

  • Auch eine interessante Möglichkeit. Kannst dir ja denken das jetzt die Frage kommt wie dein Skript aussieht, dazu ;)

    Gruß utiltiy

    meine VDR

    vdr03: Antec Remote Fusion, Intel DH67BL, Celeron G1620, GT630, 2x 2GB DDR3 - Hynix, SDA SATA 40GB, SDB SATA 1.5TB, L4M Cine S2 [yaVDR/vdr4arch]
    vdr04: Antec Remote Fusion Micro, Intel DH67BL, Celeron G550, GT630, 2x 2GB DDR3 - Kingston, SDA SATA 160GB WD, SDB SATA 3TB WD Red, L4M Cine S2 [yaVDR/vdr4arch]


    VDR Projects

  • Irgendwie habe ich diese Frage jetzt erwartet ;)

    Clone dir die V02, da ist es jetzt im Unterverzeichnis contrib drin.

    VDR

    Server: Ubuntu 24.04 headless VDR im LXC Container, Plugins: satip (Octopus NET SL SX8), live, epgsearch, epg2vdr, markad

    Clients: LibreELEC auf RasPi3 und RasPi 3+

  • Eine neue Version 2.0.4 ist auf vdr-plugin-markad verfügbar. Es sind einige Bug Fixes drin.

    rvdb your patches are included in the version 2.0.4

    VDR

    Server: Ubuntu 24.04 headless VDR im LXC Container, Plugins: satip (Octopus NET SL SX8), live, epgsearch, epg2vdr, markad

    Clients: LibreELEC auf RasPi3 und RasPi 3+

  • Die steht im Git als "version.dist", umbenennen müßte helfen :)

    vdr User #2022 - hdvdr2:

    Lenovo SFF M83, Intel(R) Core(TM) i5-4670S, 32 GB Ram, zram-swap/tmp, ubuntu-focal+ESM, softhdcuvid, ffmpeg-6.1(git)

    ddbridge-6.5 mit 2xDVB-S2 und (Flex) 2xDVB-C/T Tunern, nvidia-GF1050Ti SFF (nvidia-dkms-S570.133), system SSD btrfs,

    timeshift-btrfs, Video 8TB HDD XFS/cow, yavdr-ansible-2.7.4-seahawk, epgd-git mit plugins, Kernel 6.12.19+dddvb-0.9.41-git

    vdradmin-am-3.6.13-git, vdr-live-ng, vdrmanager (Smartphones als FB)

  • Link zu version.h ist tot bzw version.h fehlt im Plugin root Verzeichnis

    Works as designed.

    Die version.h wird beim "make all" dynamisch erzeugt. Die ist nicht statisch, damit man als Entwickler innerhalb git auch noch den letzten Commit sha in die Version mit rein bekommt.

    VDR

    Server: Ubuntu 24.04 headless VDR im LXC Container, Plugins: satip (Octopus NET SL SX8), live, epgsearch, epg2vdr, markad

    Clients: LibreELEC auf RasPi3 und RasPi 3+

  • Eine neue Version 2.1.0 ist auf vdr-plugin-markad verfügbar. Es sind einige Bug Fixes und Optimierungen drin.

    Ab dieser Version wird zusätzlich libavfilter-dev zum Kompilieren benötigt.

    VDR

    Server: Ubuntu 24.04 headless VDR im LXC Container, Plugins: satip (Octopus NET SL SX8), live, epgsearch, epg2vdr, markad

    Clients: LibreELEC auf RasPi3 und RasPi 3+

  • Hi, I believe there are some libs mising in the Makefile for markad/command

    line 43 and 44

    libswresample libswscale libavfilter

    Greetings rene

  • Ab dieser Version wird zusätzlich libavfilter-dev zum Kompilieren benötigt.

    Sorry, I forgot my non german speaking customer ;)

    Code
    PKG-LIBS += libavcodec libavutil libavformat libavfilter
    PKG-INCLUDES += libavcodec libavutil libavformat libavfilter

    From this version, libavfilter-dev is also required for compiling. libavfilter is in the lines you have addressed. I do not use functions from libswresample and libswscale, so I do not need them.

    What are your problems ? I remember you use very old self build ffmpeg. I I would recommend to use ffmpeg and libav from the distribution. See INSTALL file for informations about the build dependencies.

    VDR

    Server: Ubuntu 24.04 headless VDR im LXC Container, Plugins: satip (Octopus NET SL SX8), live, epgsearch, epg2vdr, markad

    Clients: LibreELEC auf RasPi3 und RasPi 3+

  • Ab dieser Version wird zusätzlich libavfilter-dev zum Kompilieren benötigt.

    Hallo kfb77,

    vielen Dank für Arbeit am MarkAd-Plugin und auch die Weiterentwicklungen.

    Wenn ich die Abhängigkeit "libavfilter-dev" hinzu füge, dann wird auch libavresample-dev und auch libpostproc-dev mit installiert. Zumindest bei Debian. Allerdings ist doch das libavresample-dev als deprecated definiert. Hast Du das auch gesehen?

    Gruß,

    Pit

  • Welches Debian ?

    Ich nutze Ubuntu, da ist aber libavresample-dev auch in den Abhängigkeiten drin. Dass das Packet deprecated ist stört nicht, markad nutzt keine Funktionen daraus.

    Edit: Ich teste auch hin und wieder mit dem aktuellen Git Stand von ffmpeg. Auch damit baut es ohne warnings. Somit erwarte ich nicht, dass etwas aus ffmpeg verschwindet wird, was ich brauche.

    VDR

    Server: Ubuntu 24.04 headless VDR im LXC Container, Plugins: satip (Octopus NET SL SX8), live, epgsearch, epg2vdr, markad

    Clients: LibreELEC auf RasPi3 und RasPi 3+

    Edited 2 times, last by kfb77 (May 25, 2020 at 6:24 PM).

  • Hi again, I keep asking qustions, i hope you do not mind.

    Now running with version 2.1.10 and ffmpeg 3.2.14

    autologo=2 empty cache dir, perfect marks (but taking 16 minutes.

    So I copied the detedted logo's to /var/lib/ markad

    running noraml on another episode (loaing logo's from cache, but no logo's detected

    than I copied the same logo's to the recording directory from this new episode

    markd with autologo=2 and empty cachedir.

    The logo is no read from the recording directory, and logo's are detected !

    any idea ?

    Greeting Rene

    Hm, I probably need to copy the logo's to /var/lib/markad an call markad with autologo=2. ()not zero)

    then it will be fast if it can fnd the logo, or extract a new one

    Edited once, last by rvdb (May 26, 2020 at 11:45 AM).

  • I am happy to answer your questions, keep going, we will find and fix bugs together.

    Please post your full markad.log from the test with the logo in /var/lib/markad.

    Edit: And "ls -al /var/lib/markad"

    VDR

    Server: Ubuntu 24.04 headless VDR im LXC Container, Plugins: satip (Octopus NET SL SX8), live, epgsearch, epg2vdr, markad

    Clients: LibreELEC auf RasPi3 und RasPi 3+

    Edited once, last by kfb77 (May 26, 2020 at 11:45 AM).

  • i, thanks for all youre work

    I did some more tests trying to get it to work with exiting logo's

    I only get it working when:

    i put the logo; in the recoding directory

    an I call markad with

    auologo=2 and empty cachedir

    it will load the logo fom the recording dior and it i woking oke

    Next test:

    create /tmp/logo

    move the logo's from recording dir to /tmp/log

    call markad with cachedir=/tmp/logo

    markad now loads the logo from

    /tmp/logo, but it will not detect the logo's

    Somehow it is only woking if the logo's are in the recording directory

    Just wondeing; a while back you fixed (loading (full color)logo's from recording diorectory

    Greetings rene, I will keep testing


  • Please post your full markad.log from the test with the logo in /var/lib/markad.

    Edit: And "ls -al /var/lib/markad"

    You forgot to attach the log file.

    VDR

    Server: Ubuntu 24.04 headless VDR im LXC Container, Plugins: satip (Octopus NET SL SX8), live, epgsearch, epg2vdr, markad

    Clients: LibreELEC auf RasPi3 und RasPi 3+

Participate now!

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