Reelbox Plugin läuft nicht durch (SVN 10483)

  • Hi,


    folgenden Fehler bekomme ich:


    Plugin hello:
    make[1]: Entering directory `/usr/local/src/vdr/PLUGINS/src/hello'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/usr/local/src/vdr/PLUGINS/src/hello'
    Plugin osddemo:
    make[1]: Entering directory `/usr/local/src/vdr/PLUGINS/src/osddemo'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/usr/local/src/vdr/PLUGINS/src/osddemo'
    Plugin pictures:
    make[1]: Entering directory `/usr/local/src/vdr/PLUGINS/src/pictures'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/usr/local/src/vdr/PLUGINS/src/pictures'
    Plugin reelbox:
    make[1]: Entering directory `/usr/local/src/vdr/PLUGINS/src/reelbox-3'
    Makefile:80: ../../../Make.common: No such file or directory
    make[1]: *** No rule to make target `../../../Make.common'. Stop.
    make[1]: Leaving directory `/usr/local/src/vdr/PLUGINS/src/reelbox-3'
    Plugin servicedemo:
    make[1]: Entering directory `/usr/local/src/vdr/PLUGINS/src/servicedemo'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/usr/local/src/vdr/PLUGINS/src/servicedemo'
    Plugin skincurses:
    make[1]: Entering directory `/usr/local/src/vdr/PLUGINS/src/skincurses'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/usr/local/src/vdr/PLUGINS/src/skincurses'
    Plugin sky:
    make[1]: Entering directory `/usr/local/src/vdr/PLUGINS/src/sky'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/usr/local/src/vdr/PLUGINS/src/sky'
    Plugin status:
    make[1]: Entering directory `/usr/local/src/vdr/PLUGINS/src/status'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/usr/local/src/vdr/PLUGINS/src/status'
    Plugin svdrpdemo:
    make[1]: Entering directory `/usr/local/src/vdr/PLUGINS/src/svdrpdemo'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/usr/local/src/vdr/PLUGINS/src/svdrpdemo'


    *** failed plugins: reelbox


    make: *** [plugins] Error 1



    Gibts dazu schon eine Lösung?

  • Hi,


    das obige Problem konnte ich lösen habs im Wiki aktualisiert. Jetzt bekomme ich diesen Fehler:


    make[1]: Entering directory `/usr/local/src/vdr-1.7.0/PLUGINS/src/reelbox-3'
    g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -fPIC -c -DNOT_THEME_LIKE -DPLAYER_VERSION=\"\" -D__LINUX__ -DNOT_THEME_LIKE -D_GNU_SOURCE -D_LARGEFILE_SOURCE -DPLUGIN_NAME='"reelbox"' -DPLUGIN_NAME_I18N='"reelbox"' -I/usr/local/src/dvb/linux/include -I../../../../temp/docimage/libs/alsa-lib/include -I/data/installfiles/eHD/reelbox.org/testing/src/utils/bspshm -I/data/installfiles/eHD/reelbox.org/testing/src/utils/bspshm/include -I/data/installfiles/eHD/reelbox.org/testing/src/utils/hdshm3/src -I/data/installfiles/eHD/reelbox.org/testing/src/utils/hdshm3/src/include -I../../../../temp/docimage/libs/libmad -I../../../include -I/usr/local/src/dvb/linux/include -o VideoPlayerPipHd.o VideoPlayerPipHd.c
    VideoPlayerPipHd.c:40:32: error: libswscale/swscale.h: No such file or directory
    VideoPlayerPipHd.c:41:32: error: libavcodec/avcodec.h: No such file or directory
    In file included from CondVar.h:26,
    from AudioPacketQueue.h:27,
    from AudioDecoder.h:28,
    from MpegPes.h:26,
    from VideoPlayerPip.h:26,
    from VideoPlayerPipHd.h:26,
    from VideoPlayerPipHd.c:23:
    Mutex.h: In constructor âReel::Mutex::Mutex()â:
    Mutex.h:94: warning: unused variable âattrâ
    In file included from AudioPacketQueue.h:27,
    from AudioDecoder.h:28,
    from MpegPes.h:26,
    from VideoPlayerPip.h:26,
    from VideoPlayerPipHd.h:26,
    from VideoPlayerPipHd.c:23:
    CondVar.h: In member function âvoid Reel::CondVar::Wait(Reel::Mutex&, Reel::LLong)â:
    CondVar.h:95: warning: unused variable ârâ
    VideoPlayerPipHd.c: At global scope:
    VideoPlayerPipHd.c:91: error: ISO C++ forbids declaration of âAVCodecâ with no type
    VideoPlayerPipHd.c:91: error: expected â;â before â*â token
    VideoPlayerPipHd.c:92: error: ISO C++ forbids declaration of âAVCodecContextâ with no type
    VideoPlayerPipHd.c:92: error: expected â;â before â*â token
    VideoPlayerPipHd.c:93: error: ISO C++ forbids declaration of âAVFrameâ with no type
    VideoPlayerPipHd.c:93: error: expected â;â before â*â token
    VideoPlayerPipHd.c:97: error: ISO C++ forbids declaration of âAVFrameâ with no type
    VideoPlayerPipHd.c:97: error: expected â;â before â*â token
    VideoPlayerPipHd.c: In constructor âReel::SWDecoder::SWDecoder(Reel::uint, Reel::uint, Reel::uint, Reel::uint)â:
    VideoPlayerPipHd.c:122: error: âav_codecâ was not declared in this scope
    VideoPlayerPipHd.c:123: error: âav_contextâ was not declared in this scope
    VideoPlayerPipHd.c:128: error: ârgb_frameâ was not declared in this scope
    VideoPlayerPipHd.c:132: error: âCODEC_ID_MPEG2VIDEOâ was not declared in this scope
    VideoPlayerPipHd.c:132: error: âavcodec_find_decoderâ was not declared in this scope
    VideoPlayerPipHd.c:138: error: âavcodec_alloc_contextâ was not declared in this scope
    VideoPlayerPipHd.c:139: error: âCODEC_FLAG_TRUNCATEDâ was not declared in this scope
    VideoPlayerPipHd.c:142: error: âavcodec_openâ was not declared in this scope
    VideoPlayerPipHd.c:147: error: âdecoded_frameâ was not declared in this scope
    VideoPlayerPipHd.c:147: error: âavcodec_alloc_frameâ was not declared in this scope
    VideoPlayerPipHd.c:150: error: ârgb_frameâ was not declared in this scope
    VideoPlayerPipHd.c: In destructor âvirtual Reel::SWDecoder::~SWDecoder()â:
    VideoPlayerPipHd.c:195: error: âsws_freeContextâ was not declared in this scope
    VideoPlayerPipHd.c:201: error: ârgb_frameâ was not declared in this scope
    VideoPlayerPipHd.c:202: error: âav_freeâ was not declared in this scope
    VideoPlayerPipHd.c:206: error: âdecoded_frameâ was not declared in this scope
    VideoPlayerPipHd.c:207: error: âav_freeâ was not declared in this scope
    VideoPlayerPipHd.c:208: error: âav_contextâ was not declared in this scope
    VideoPlayerPipHd.c:209: error: âavcodec_closeâ was not declared in this scope
    VideoPlayerPipHd.c:210: error: âav_freeâ was not declared in this scope
    VideoPlayerPipHd.c: In member function âint Reel::SWDecoder::Convert()â:
    VideoPlayerPipHd.c:412: error: âav_contextâ was not declared in this scope
    VideoPlayerPipHd.c:424: error: âsws_freeContextâ was not declared in this scope
    VideoPlayerPipHd.c:434: error: âPIX_FMT_YUV420Pâ was not declared in this scope
    VideoPlayerPipHd.c:435: error: âPIX_FMT_RGBA32â was not declared in this scope
    VideoPlayerPipHd.c:435: error: âSWS_FAST_BILINEARâ was not declared in this scope
    VideoPlayerPipHd.c:436: error: âsws_getContextâ was not declared in this scope
    VideoPlayerPipHd.c:448: error: âAVPictureâ was not declared in this scope
    VideoPlayerPipHd.c:448: error: expected primary-expression before â)â token
    VideoPlayerPipHd.c:449: error: âPIX_FMT_RGBA32â was not declared in this scope
    VideoPlayerPipHd.c:449: error: âavpicture_fillâ was not declared in this scope
    VideoPlayerPipHd.c:452: error: âdecoded_frameâ was not declared in this scope
    VideoPlayerPipHd.c:452: error: ârgb_frameâ was not declared in this scope
    VideoPlayerPipHd.c:455: error: âsws_scaleâ was not declared in this scope
    VideoPlayerPipHd.c: In member function âint Reel::SWDecoder::Decode()â:
    VideoPlayerPipHd.c:477: error: âav_contextâ was not declared in this scope
    VideoPlayerPipHd.c:477: error: âdecoded_frameâ was not declared in this scope
    VideoPlayerPipHd.c:477: error: âuint8_tâ was not declared in this scope
    VideoPlayerPipHd.c:477: error: expected primary-expression before â)â token
    VideoPlayerPipHd.c:477: error: âavcodec_decode_videoâ was not declared in this scope
    VideoPlayerPipHd.c: In static member function âstatic void Reel::VideoPlayerPipHd::Create()â:
    VideoPlayerPipHd.c:526: error: âavcodec_initâ was not declared in this scope
    VideoPlayerPipHd.c:527: error: âavcodec_register_allâ was not declared in this scope
    make[1]: *** [VideoPlayerPipHd.o] Error 1



    - alsa-devel
    - libmad-devel
    - ffmpeg


    sind installiert. Jemand eine IDee dazu?

  • Hi!


    Habe hier unter Ubuntu 8.10 folgendes installiert:

    Code
    libswscale-dev
    libavcodec-dev


    Dann musste ich noch in VideoPlayerPipHd.c die REELVDR-Abfrage wieder deaktivieren (ab Zeile 36):

    C
    extern "C" {
    //#ifdef REELVDR
    #include <ffmpeg/swscale.h>
    #include <ffmpeg/avcodec.h>
    //#else
    //#include <libswscale/swscale.h>
    //#include <libavcodec/avcodec.h>
    //#endif
    }


    Gruß,
    Brougs78

    - -- --- ================================================================ --- -- -
    Antec Fusion, Intel E5200, Asus P5N7A-VM (VDPAU), DD CineS2 v6 + DD DuoFlex CI // yavdr-0.6.1
    - -- --- ================================================================ --- -- -

  • Hi,


    ich bin fast am Ziel. Das Plugin ist jetzt sauber durchgelaufen. Der VDR startet und im Log kommt das:


    Feb 1 01:43:44 vdr vdr: [4836] VDR version 1.7.0 started
    Feb 1 01:43:44 vdr vdr: [4836] codeset is 'UTF-8' - known
    Feb 1 01:43:44 vdr vdr: [4836] found 23 locales in /usr/local/src/vdr/locale
    Feb 1 01:43:44 vdr vdr: [4836] loading plugin: /usr/local/src/vdr/PLUGINS/lib/libvdr-reelbox.so.1.7.0
    Feb 1 01:43:44 vdr vdr: [4836] loading /etc/vdr/setup.conf
    Feb 1 01:43:44 vdr vdr: [4836] loading /etc/vdr/sources.conf
    Feb 1 01:43:44 vdr vdr: [4836] loading /etc/vdr/diseqc.conf
    Feb 1 01:43:44 vdr vdr: [4836] loading /etc/vdr/channels.conf
    Feb 1 01:43:44 vdr vdr: [4836] loading /etc/vdr/svdrphosts.conf
    Feb 1 01:43:44 vdr vdr: [4836] loading /etc/vdr/remote.conf
    Feb 1 01:43:44 vdr vdr: [4836] loading /etc/vdr/keymacros.conf
    Feb 1 01:43:44 vdr vdr: [4840] video directory scanner thread started (pid=4836, tid=4840)
    Feb 1 01:43:44 vdr vdr: [4840] video directory scanner thread ended (pid=4836, tid=4840)
    Feb 1 01:43:44 vdr vdr: [4839] video directory scanner thread started (pid=4836, tid=4839)
    Feb 1 01:43:44 vdr vdr: [4836] reading EPG data from /var/vdr/epg.data
    Feb 1 01:43:44 vdr vdr: [4839] video directory scanner thread ended (pid=4836, tid=4839)
    Feb 1 01:43:44 vdr vdr: [4836] no DVB device found
    Feb 1 01:43:44 vdr vdr: [4836] initializing plugin: reelbox (): ReelBox plugin
    Feb 1 01:43:44 vdr vdr: [4836] plugin 'reelbox' called obsolete function RegisterI18n()
    Feb 1 01:43:44 vdr vdr: HDE control area: 0x7f7eb0002900, mapped 0x7f7ebcc10000, pyhs 16982016, len 2000, hdp 1, hdc 1
    Feb 1 01:43:44 vdr vdr: [4836] setting primary device to 1
    Feb 1 01:43:44 vdr vdr: [4836] assuming manual start of VDR
    Feb 1 01:43:44 vdr vdr: [4836] SVDRP listening on port 2001
    Feb 1 01:43:44 vdr vdr: [4836] setting current skin to "sttng"
    Feb 1 01:43:44 vdr vdr: [4836] loading /etc/vdr/themes/sttng-default.theme
    Feb 1 01:43:44 vdr vdr: [4836] starting plugin: reelbox
    Feb 1 01:43:44 vdr vdr: [4842] LIRC remote control thread started (pid=4836, tid=4842)
    Feb 1 01:43:44 vdr vdr: [4843] KBD remote control thread started (pid=4836, tid=4843)
    Feb 1 01:43:44 vdr vdr: [4836] remote control LIRC - keys known
    Feb 1 01:43:44 vdr vdr: [4836] remote control KBD - keys known
    Feb 1 01:43:44 vdr vdr: [4836] switching to channel 1
    Feb 1 01:43:44 vdr vdr: [4836] info: Kanal nicht verfügbar!
    Feb 1 01:43:46 vdr vdr: [4836] setting watchdog timer to 60 seconds
    Feb 1 01:43:46 vdr vdr: [4836] switching to channel 1
    Feb 1 01:43:46 vdr vdr: [4836] info: Kanal nicht verfügbar!



    ich sehe einen schwarzen Bildschirm und das VDR OSD aber kein TV Bild? An was könnte das liegen? Eine aktuelle channels.conf habe ich schon eingespielt. Was ich auch komisch finde das in der setup.conf vom VDR keine Einträge für das Reelbox Plugin drin sind? Habe die zwar auch schon mal manuell reinkopiert aber dann kommt die gleiche obige Meldung...

  • Zitat

    Original von sewn4
    [...] ich sehe einen schwarzen Bildschirm und das VDR OSD aber kein TV Bild? An was könnte das liegen?....


    Daran??

    Code
    .....
    Feb  1 01:43:46 vdr vdr: [4836] switching to channel 1
    Feb  1 01:43:46 vdr vdr: [4836] info: Kanal nicht verfügbar!


    Auch das scheint mir seltsam zu sein:

    Code
    .....
    Feb 1 01:43:44 vdr vdr: [4836] setting primary device to 1
    .....

    Das ist i.d.R. das letzte Decive, nicht das Erste.

Jetzt mitmachen!

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