markad-plugin (noad) -> Alpha Testversion

  • Zitat

    Original von C-3PO
    Mit vdr-1.7.0 lässt es sich auf meinem Tessystem nicht übersetzen. :(


    Code
    g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -ggdb -O0 -fPIC -c -DUSE_ATSC -DUSE_CHANNELSCAN -DUSE_CMDSUBMENU -DUSE_CUTTERLIMIT -DUSE_CUTTERQUEUE -DUSE_CUTTIME -DUSE_DDEPGENTRY -DUSE_DELTIMESHIFTREC -DUSE_DOLBYINREC -DUSE_DVBSETUP -DUSE_DVDARCHIVE -DUSE_DVLRECSCRIPTADDON -DUSE_DVLVIDPREFER -DUSE_DVLFRIENDLYFNAMES -DUSE_GRAPHTFT -DUSE_HARDLINKCUTTER -DUSE_JUMPPLAY -DUSE_LIEMIEXT -DUSE_LIRCSETTINGS -DUSE_LIVEBUFFER -DUSE_LNBSHARE -DUSE_MAINMENUHOOKS -DUSE_MENUORG -DUSE_NOEPG -DUSE_OSDMAXITEMS -DUSE_PARENTALRATING -DUSE_PINPLUGIN -DUSE_PLUGINMISSING -DUSE_PLUGINPARAM -DUSE_ROTOR -DUSE_SETTIME -DUSE_SOFTOSD -DUSE_SOURCECAPS -DUSE_SORTRECORDS -DUSE_STREAMDEVEXT -DUSE_TIMERCMD -DUSE_TIMERINFO -DUSE_TTXTSUBS -DUSE_VALIDINPUT -DUSE_VOLCTRL -DUSE_WAREAGLEICON -DUSE_YAEPG -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"noad"' -I/usr/include/PCSC -I/usr/local/src/DVB/linux/include -I../../../include noad.cpp
    g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -ggdb -O0 -fPIC -c -DUSE_ATSC -DUSE_CHANNELSCAN -DUSE_CMDSUBMENU -DUSE_CUTTERLIMIT -DUSE_CUTTERQUEUE -DUSE_CUTTIME -DUSE_DDEPGENTRY -DUSE_DELTIMESHIFTREC -DUSE_DOLBYINREC -DUSE_DVBSETUP -DUSE_DVDARCHIVE -DUSE_DVLRECSCRIPTADDON -DUSE_DVLVIDPREFER -DUSE_DVLFRIENDLYFNAMES -DUSE_GRAPHTFT -DUSE_HARDLINKCUTTER -DUSE_JUMPPLAY -DUSE_LIEMIEXT -DUSE_LIRCSETTINGS -DUSE_LIVEBUFFER -DUSE_LNBSHARE -DUSE_MAINMENUHOOKS -DUSE_MENUORG -DUSE_NOEPG -DUSE_OSDMAXITEMS -DUSE_PARENTALRATING -DUSE_PINPLUGIN -DUSE_PLUGINMISSING -DUSE_PLUGINPARAM -DUSE_ROTOR -DUSE_SETTIME -DUSE_SOFTOSD -DUSE_SOURCECAPS -DUSE_SORTRECORDS -DUSE_STREAMDEVEXT -DUSE_TIMERCMD -DUSE_TIMERINFO -DUSE_TTXTSUBS -DUSE_VALIDINPUT -DUSE_VOLCTRL -DUSE_WAREAGLEICON -DUSE_YAEPG -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"noad"' -I/usr/include/PCSC -I/usr/local/src/DVB/linux/include -I../../../include recv.cpp
    recv.cpp: In constructor »cNoadReceiver::cNoadReceiver(cTimer*, const char*, int)«:
    recv.cpp:31: Fehler: »DVBFE_DELSYS_DVBS2« wurde in diesem Gültigkeitsbereich nicht definiert
    make: *** [recv.o] Fehler 1
    Error compiling noad




    Les doch zumindest mal von Anfang an in dem Thread....


    Gruß
    Wolfgang

  • hi, bei dem Fehler

    Code
    ERROR: /usr/local/bin/plugins/libvdr-noad.so.1.7.9: undefined symbol: av_init_packet

    hat bei mir ein ändern des Makefiles geholfen:

    Code
    DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
     
    -LIBS += -lavcodec
    +LIBS += -lavcodec -lavformat
    
    
     ### The object files (add further files here):


    Gruß Patrick

  • Moin moin !


    Bekomme mit der Version 0.0.2 folgende Fehlermeldung beim kompilieren


  • fraenk


    Ich bräuchte die Ausgabe von


    Code
    grep VERSION_M /usr/include/libavcodec/avcodec.h | head -n 3


    sonst kann ich da nichts dazu sagen. Anscheinend geht bei Dir die Zuweisung avpkt.pts = avpkt.dts = AV_NOPTS_VALUE nicht und auch das DECLARE_ALIGNED scheint nicht zu funktionieren (ist normalerweise in libavutil/mem.h)


    DVBFE_DELSYS_DVBS2 kommt normalerweise aus linux/dvb/frontend.h - was steht denn da bei Dir drin? Gibt es dort SYS_DVBS2?


    Welche VDR-Version?


    Gruß


    Joe_D

  • Hi,


    mit 0.0.2 kommt bei mir die gleiche Fehlermeldung.


    recv.cpp: In member function ‘virtual void cNoadReceiver::Action()’:
    recv.cpp:298: error: expected primary-expression before ‘char’
    recv.cpp:298: error: ‘outbuf’ was not declared in this scope
    recv.cpp:298: error: ‘DECLARE_ALIGNED’ was not declared in this scope
    recv.cpp:349: error: expected primary-expression before ‘char’
    recv.cpp:349: error: ‘outbuf’ was not declared in this scope
    recv.cpp:349: error: ‘DECLARE_ALIGNED’ was not declared in this scope
    make[1]: *** [recv.o] Fehler 1


    Zitat

    Original von Joe_D
    Ich bräuchte die Ausgabe von


    Code
    grep VERSION_M /usr/include/libavcodec/avcodec.h | head -n 3


    Habe hier eine neuere SVN Version.
    # grep VERSION_M /usr/local/include/libavcodec/avcodec.h | head -n 3
    #define LIBAVCODEC_VERSION_MAJOR 52
    #define LIBAVCODEC_VERSION_MINOR 30
    #define LIBAVCODEC_VERSION_MICRO 2


    aber selbst in ffmpeg-0.5 (letzte stabile) kann ich DECLARE_ALIGNED nur im direkten Quellcode unter in den "common internal API header" libavutil/internal.h finden, dieses Makro wird aber bei der Installation leider nicht mit exportiert...


    grep DECLARE_ALIGNED ../ffmpeg-0.5/libavutil/internal.h
    #define DECLARE_ALIGNED(n,t,v) t v __attribute__ ((aligned (n)))



    # grep VERSION_M ../ffmpeg-0.5/libavcodec/avcodec.h | head -n 3
    #define LIBAVCODEC_VERSION_MAJOR 52
    #define LIBAVCODEC_VERSION_MINOR 20
    #define LIBAVCODEC_VERSION_MICRO 0

  • Bei mir compiliert er leider auch nicht:


    Code
    make[1]: Betrete Verzeichnis '/usr/local/src/vdr-1.7.8/PLUGINS/src/noad-0.0.2'
    g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -fPIC -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DUSE_CMDRECCMDI18N -DUSE_CUTTIME -DUSE_DDEPGENTRY -DUSE_DOLBYINREC -DUSE_GRAPHTFT -DUSE_JUMPPLAY -DUSE_LIEMIEXT -DUSE_MAINMENUHOOKS -DUSE_MENUORG -DUSE_NOEPG -DUSE_PARENTALRATING -DUSE_PLUGINMISSING -DUSE_SETTIME -DUSE_STREAMDEVEXTENSION -DUSE_LIEMIEXT -DUSE_PARENTALRATING -DUSE_WAREAGLEICON -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"noad"' -I/usr/local/src/v4l-dvb/linux/include -I../../../include -I/usr/local/include   noad.cpp
    g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -fPIC -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DUSE_CMDRECCMDI18N -DUSE_CUTTIME -DUSE_DDEPGENTRY -DUSE_DOLBYINREC -DUSE_GRAPHTFT -DUSE_JUMPPLAY -DUSE_LIEMIEXT -DUSE_MAINMENUHOOKS -DUSE_MENUORG -DUSE_NOEPG -DUSE_PARENTALRATING -DUSE_PLUGINMISSING -DUSE_SETTIME -DUSE_STREAMDEVEXTENSION -DUSE_LIEMIEXT -DUSE_PARENTALRATING -DUSE_WAREAGLEICON -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"noad"' -I/usr/local/src/v4l-dvb/linux/include -I../../../include -I/usr/local/include   recv.cpp
    recv.cpp: In constructor ‘cNoadReceiver::cNoadReceiver(cTimer*, const char*, int)’:
    recv.cpp:101: error: ‘DVBFE_DELSYS_DVBS2’ was not declared in this scope
    make[1]: *** [recv.o] Fehler 1
  • Zitat

    Original von brabax22
    Bei mir compiliert er leider auch nicht:


    Code
    make[1]: Betrete Verzeichnis '/usr/local/src/vdr-1.7.8/PLUGINS/src/noad-0.0.2'
    g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -fPIC -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DUSE_CMDRECCMDI18N -DUSE_CUTTIME -DUSE_DDEPGENTRY -DUSE_DOLBYINREC -DUSE_GRAPHTFT -DUSE_JUMPPLAY -DUSE_LIEMIEXT -DUSE_MAINMENUHOOKS -DUSE_MENUORG -DUSE_NOEPG -DUSE_PARENTALRATING -DUSE_PLUGINMISSING -DUSE_SETTIME -DUSE_STREAMDEVEXTENSION -DUSE_LIEMIEXT -DUSE_PARENTALRATING -DUSE_WAREAGLEICON -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"noad"' -I/usr/local/src/v4l-dvb/linux/include -I../../../include -I/usr/local/include   noad.cpp
    g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -fPIC -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DUSE_CMDRECCMDI18N -DUSE_CUTTIME -DUSE_DDEPGENTRY -DUSE_DOLBYINREC -DUSE_GRAPHTFT -DUSE_JUMPPLAY -DUSE_LIEMIEXT -DUSE_MAINMENUHOOKS -DUSE_MENUORG -DUSE_NOEPG -DUSE_PARENTALRATING -DUSE_PLUGINMISSING -DUSE_SETTIME -DUSE_STREAMDEVEXTENSION -DUSE_LIEMIEXT -DUSE_PARENTALRATING -DUSE_WAREAGLEICON -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"noad"' -I/usr/local/src/v4l-dvb/linux/include -I../../../include -I/usr/local/include   recv.cpp
    recv.cpp: In constructor ‘cNoadReceiver::cNoadReceiver(cTimer*, const char*, int)’:
    recv.cpp:101: error: ‘DVBFE_DELSYS_DVBS2’ was not declared in this scope
    make[1]: *** [recv.o] Fehler 1


    Hi,


    du kannst mal in der recv.h, Zeile 24 bis 26 auskommentieren (= // davor), dann kompilert es durch und löppert.


    Gruß
    Wolfgang

  • Bekomme trotz deinem tipp
    folgende Fehlermeldung


    recv.cpp:290: error: integer constant is too large for 'long' type
    recv.cpp:341: error: integer constant is too large for 'long' type
    recv.cpp:387: error: integer constant is too large for 'long' type
    recv.cpp: In constructor 'cNoadReceiver::cNoadReceiver(cTimer*, const char*, int)':
    recv.cpp:40: error: 'CPU_COUNT' was not declared in this scope
    recv.cpp: In member function 'virtual void cNoadReceiver::Action()':
    recv.cpp:290: error: 'INT64_C' was not declared in this scope
    recv.cpp:341: error: 'INT64_C' was not declared in this scope
    recv.cpp:387: error: 'INT64_C' was not declared in this scope
    make: *** [recv.o] Fehler 1

  • Zitat

    Original von wbreu
    Hi,


    du kannst mal in der recv.h, Zeile 24 bis 26 auskommentieren (= // davor), dann kompilert es durch und löppert.


    Gruß
    Wolfgang


    Ok. Kompiliert hat er erst einmal. Ich werd jetzt testen... Auf die Funktion hat die Änderung keinen Einfluss (ich hab sehr wohl DVB-S2 im Einsatz) ??

  • Die Fehler mit INT64_C bekommt man weg mit einem beherzten

    Code
    #define __STDC_CONSTANT_MACROS

    nach dem ersten define in recv.h, denn in stdint.h steht:

    Zitat

    /* The ISO C99 standard specifies that in C++ implementations these
    should only be defined if explicitly requested. */
    #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS


    Den Fehler mit DECLARE_ALIGNED habe ich aber auch noch


    Version:
    #define LIBAVCODEC_VERSION_MAJOR 52
    #define LIBAVCODEC_VERSION_MINOR 20
    #define LIBAVCODEC_VERSION_MICRO 0

  • Hallo,


    bekomme beim kompilieren mit vdr-1.7.9 leider auch

    Code
    Package 'libavcodec' requires 'libavutil = 50.3.0' but version of libavutil is 49.15.0


    Code
    # grep VERSION_M /usr/include/libavcodec/avcodec.h | head -n 3
    #define LIBAVCODEC_VERSION_MAJOR 52
    #define LIBAVCODEC_VERSION_MINOR 35
    #define LIBAVCODEC_VERSION_MICRO  0
  • bietet mir Ubuntu 9.04 nicht an:

    Code
    apt-cache search libavutil
    libavutil-dev - development files for libavutil
    libavutil49 - Bibliothek von Werkzeugen für ffmpeg
    libavutil-unstripped-49 - ffmpeg utility library
  • hatte den Fehler

    Code
    ERROR: /usr/local/bin/plugins/libvdr-noad.so.1.7.9: undefined symbol: av_init_packet

    und hab das Makefile dann so editiert:

    Code
    PKG-LIBS += libavcodec lavformat

    jetzt kommt aber

    Code
    vdr: /usr/lib/vdr/plugins/libvdr-noad.so.1.7.9: undefined symbol: avcodec_alloc_frame

    Gruss
    Uwe
    ----
    YaVDR 2.6.6, QNAP TS-453a, Octopus Net max S8

    Einmal editiert, zuletzt von uxtuner ()

  • also noch einfügen von #define __STDC_CONSTANT_MACROS in die recv.h hat die 0.0.2 durchkompiliert. vdr startet auch brav damit.


    bloss: kann ich das irgendwie auch konfigurieren so wie ich das von noad kenne? also online, nach beenden des recordings starten, offline, etc ....


    hab ich da was überlesen? im README steht da nix drin.

    produktiv: intel dh67bl, sat>ip, octopusnet, 16gig boot-ssd, yavdr 0.6.1, cir lirc
    testing: zotac ion-f itx, 1x tt s2-3600 usb, 8gig boot-ssd, yavdr 0.5 testing
    tv: samsung 75" amp:denon avr-x1300

  • ja, dass:

    Zitat

    Original von Joe_D
    Zur Zeit gibt es keinerlei Einstellungen. Das Plugin wird mit jeder Aufzeichnung gestartet und bei dessen Ende auch wieder beendet, es läuft also Online. Es exisitert (bislang) keine Offline-Version.


  • Das hat sich wohl kürzlich wieder geändert, so dass das DECLARE_ALIGNED von internal.h zurück nach mem.h gewandert ist, siehe http://lists.mplayerhq.hu/pipe…log/2009-July/023583.html


    Mit dieser Änderung kompiliert es jetzt auch bei mir durch.

Jetzt mitmachen!

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