Softdevice Probleme :(

  • Moin, moin, irgendwie bekomme ich das Softdevice plugin nicht an den start :(


    Vdr 1.3.23, aktuelles softdevice aus dem cvs


    starte es wie folgend:
    ./vdr -P "softdevice -vo xv:"


    Ausgbe:
    [softdevice] processing args
    [softdevice] argv [0] = softdevice
    [softdevice] argv [1] = -vo
    [softdevice] initializing Plugin
    [softdevice] Initializing Video Out
    [softdevice] ffmpeg version(0.4.8) build(4680)
    [XvVideoOut]: max area size 2048 x 2048
    [XvVideoOut]: using area size 736 x 576
    Subplugin successfully opend
    [softdevice] Video Out seems to be OK
    [softdevice] Initializing Audio Out
    [softdevice] Audio out seems to be OK
    [softdevice] A/V devices initialized, now initializing MPEG2 Decoder
    cSoftDevice::MakePrimaryDevice
    Failed to open input stream.Error -2
    Segmentation fault


    weis einer rat?


    Gruss BiGLuI

    Gruss BiGLuI


    ---
    4x Skystar 2, 1x Nexus-CA unter Gentoo 3.2GHz P4 HT, 3 GB Ram, 400GB HDD, Hauptrechner und einmal Nova-S Plus in nem kleinen anderen Rechner

  • Dann werde ich mal eben das cvs auschecken und alles neu baue :)
    THX fuer die erste Antwort :)


    Gruss BiGLuI

    Gruss BiGLuI


    ---
    4x Skystar 2, 1x Nexus-CA unter Gentoo 3.2GHz P4 HT, 3 GB Ram, 400GB HDD, Hauptrechner und einmal Nova-S Plus in nem kleinen anderen Rechner

  • die stimmen nun und das problem ist gleich geblieben


    *heul*


    Gruss BiGLuI

    Gruss BiGLuI


    ---
    4x Skystar 2, 1x Nexus-CA unter Gentoo 3.2GHz P4 HT, 3 GB Ram, 400GB HDD, Hauptrechner und einmal Nova-S Plus in nem kleinen anderen Rechner

  • Du hast also jetzt ffmpeg aktuell aus dem cvs ?
    Dann zeig doch bitte mal das Startpotokoll.
    Wo überall gibt es bei Dir ffmpeg libs ?
    find / -name 'libav[cf]o*'


    Stefan Lucke

  • Libs:


    /usr/local/lib/libavcodec.a
    /usr/local/lib/libavformat.a
    /home/vdr/ffmpeg/libavcodec
    /home/vdr/ffmpeg/libavcodec/libavcodec.a
    /home/vdr/ffmpeg/libavformat
    /home/vdr/ffmpeg/libavformat/libavformat.a


    Ausgabe nach start:


    ./vdr -c /home/vdr/vdr/config -L /usr/lib/vdr -P "softdevice -vo xv:"
    [softdevice] processing args
    [softdevice] argv [0] = softdevice
    [softdevice] argv [1] = -vo
    [softdevice] initializing Plugin
    [softdevice] Initializing Video Out
    [softdevice] ffmpeg version(0.4.8) build(4707)
    [XvVideoOut]: max area size 2048 x 2048
    [XvVideoOut]: using area size 736 x 576
    Subplugin successfully opend
    [softdevice] Video Out seems to be OK
    [softdevice] Initializing Audio Out
    [softdevice] Audio out seems to be OK
    [softdevice] A/V devices initialized, now initializing MPEG2 Decoder
    cSoftDevice::MakePrimaryDevice
    Failed to open input stream.Error -2
    Segmentation fault


    Syslog:


    Apr 14 08:16:11 harry vdr[23981]: VDR version 1.3.23 started
    Apr 14 08:16:11 harry vdr[23981]: loading plugin: /usr/lib/vdr/libvdr-softdevice.so.1.3.23
    Apr 14 08:16:11 harry vdr[23981]: loading /home/vdr/vdr/config/sources.conf
    Apr 14 08:16:11 harry vdr[23981]: loading /home/vdr/vdr/config/diseqc.conf
    Apr 14 08:16:11 harry vdr[23981]: loading /home/vdr/vdr/config/channels.conf
    Apr 14 08:16:11 harry vdr[23981]: loading /home/vdr/vdr/config/svdrphosts.conf
    Apr 14 08:16:11 harry vdr[23981]: loading /home/vdr/vdr/config/ca.conf
    Apr 14 08:16:11 harry vdr[23981]: loading /home/vdr/vdr/config/remote.conf
    Apr 14 08:16:11 harry vdr[23981]: loading /home/vdr/vdr/config/keymacros.conf
    Apr 14 08:16:11 harry vdr[23981]: reading EPG data from /video/epg.data
    Apr 14 08:16:12 harry vdr[23981]: probing /dev/dvb/adapter0/frontend0
    Apr 14 08:16:12 harry vdr[23981]: probing /dev/dvb/adapter1/frontend0
    Apr 14 08:16:12 harry vdr[23988]: tuner on device 1 thread started (pid=23988, tid=16386)
    Apr 14 08:16:12 harry vdr[23981]: probing /dev/dvb/adapter2/frontend0
    Apr 14 08:16:12 harry vdr[23989]: Section handler thread started (pid=23989, tid=32771)
    Apr 14 08:16:12 harry vdr[23995]: tuner on device 2 thread started (pid=23995, tid=49156)
    Apr 14 08:16:12 harry vdr[23996]: Section handler thread started (pid=23996, tid=65541)
    Apr 14 08:16:12 harry vdr[24002]: tuner on device 3 thread started (pid=24002, tid=81926)
    Apr 14 08:16:12 harry vdr[24003]: Section handler thread started (pid=24003, tid=98311)
    Apr 14 08:16:12 harry vdr[23981]: found 3 video devices
    Apr 14 08:16:12 harry vdr[23981]: initializing plugin: softdevice (0.1.1): A software emulated MPEG2 device
    Apr 14 08:16:12 harry vdr[23981]: [XvVideoOut]: patch version (2005-03-10)
    Apr 14 08:16:12 harry vdr[23981]: [XvVideoOut]: Initialize XShmCreateImage Successful (0x8d519e8)
    Apr 14 08:16:12 harry vdr[23981]: [XvVideoOut]: Initialize shmget Successful (1695744 bytes)
    Apr 14 08:16:12 harry vdr[23981]: [XvVideoOut]: Initialize shmat Successful
    Apr 14 08:16:12 harry vdr[23981]: [softdevice-xscreensaver]: xscreensaver not running
    Apr 14 08:16:12 harry vdr[23981]: [XvVideoOut]: initialized OK
    Apr 14 08:16:12 harry vdr[23981]: [XvVideoOut]: ATI Radeon Video Overlay: available ports 53 - 53
    Apr 14 08:16:12 harry vdr[23981]: [XvVideoOut]: grabbed port 53
    Apr 14 08:16:12 harry vdr[23981]: [XvVideoOut]: max area size 2048 x 2048
    Apr 14 08:16:12 harry vdr[23981]: [XvVideoOut]: using area size 736 x 576
    Apr 14 08:16:12 harry vdr[23981]: [XvVideoOut]: XV_SET_DEFAULTS NOT-XvGettable XvSettable ( 0 [0x00000000] - 1 [0x00000001]) ( 0 [0x00000000]
    Apr 14 08:16:12 harry vdr[23981]: [XvVideoOut]: XV_AUTOPAINT_COLORKEY XvGettable XvSettable ( 0 [0x00000000] - 1 [0x00000001]) ( 1 [0x00000001]
    Apr 14 08:16:12 harry vdr[23981]: [XvVideoOut]: XV_COLORKEY XvGettable XvSettable ( 0 [0x00000000] - -1 [0xffffffff]) ( 0 [0x00000000]
    Apr 14 08:16:12 harry vdr[23981]: [XvVideoOut]: XV_DOUBLE_BUFFER XvGettable XvSettable ( 0 [0x00000000] - 1 [0x00000001]) ( 1 [0x00000001]
    Apr 14 08:16:12 harry vdr[23981]: [XvVideoOut]: XV_BRIGHTNESS XvGettable XvSettable ( -1000 [0xfffffc18] - 1000 [0x000003e8]) ( -8 [0xfffffff8]
    Apr 14 08:16:12 harry vdr[23981]: [XvVideoOut]: XV_CONTRAST XvGettable XvSettable ( -1000 [0xfffffc18] - 1000 [0x000003e8]) ( 0 [0x00000000]
    Apr 14 08:16:12 harry vdr[23981]: [XvVideoOut]: XV_SATURATION XvGettable XvSettable ( -1000 [0xfffffc18] - 1000 [0x000003e8]) ( -1 [0xffffffff]
    Apr 14 08:16:12 harry vdr[23981]: [XvVideoOut]: XV_COLOR XvGettable XvSettable ( -1000 [0xfffffc18] - 1000 [0x000003e8]) ( -1 [0xffffffff]
    Apr 14 08:16:12 harry vdr[23981]: [XvVideoOut]: XV_HUE XvGettable XvSettable ( -1000 [0xfffffc18] - 1000 [0x000003e8]) ( -450 [0xfffffe3e]
    Apr 14 08:16:12 harry vdr[23981]: [XvVideoOut]: XV_RED_INTENSITY XvGettable XvSettable ( -1000 [0xfffffc18] - 1000 [0x000003e8]) ( 0 [0x00000000]
    Apr 14 08:16:12 harry vdr[23981]: [XvVideoOut]: XV_GREEN_INTENSITY XvGettable XvSettable ( -1000 [0xfffffc18] - 1000 [0x000003e8]) ( 0 [0x00000000]
    Apr 14 08:16:12 harry vdr[23981]: [XvVideoOut]: XV_BLUE_INTENSITY XvGettable XvSettable ( -1000 [0xfffffc18] - 1000 [0x000003e8]) ( 0 [0x00000000]
    Apr 14 08:16:12 harry vdr[23981]: [XvVideoOut]: XV_SWITCHCRT XvGettable XvSettable ( 0 [0x00000000] - 1 [0x00000001]) ( 0 [0x00000000]
    Apr 14 08:16:12 harry vdr[23981]: [XvVideoOut]: XV_GAMMA XvGettable XvSettable ( 100 [0x00000064] - 10000 [0x00002710]) ( 1000 [0x000003e8]
    Apr 14 08:16:12 harry vdr[23981]: [XvVideoOut]: XV_COLORSPACE XvGettable XvSettable ( 0 [0x00000000] - 1 [0x00000001]) ( 0 [0x00000000]
    Apr 14 08:16:12 harry vdr[23981]: [XvVideoOut]: XvShmCreateImage Successful (0x8d53480)
    Apr 14 08:16:12 harry vdr[23981]: [XvVideoOut]: shmget Successful (847872 bytes)
    Apr 14 08:16:12 harry vdr[23981]: [XvVideoOut]: shmat Successful
    Apr 14 08:16:12 harry vdr[23981]: [XvVideoOut]: XShmAttach rc = 1 (should be OK)
    Apr 14 08:16:12 harry vdr[23981]: [softdevice] videoOut OK !
    Apr 14 08:16:12 harry vdr[23981]: [softdevice-audio] Opening alsa device default
    Apr 14 08:16:12 harry vdr[24006]: Xv remote control thread started (pid=24006)
    Apr 14 08:16:12 harry vdr[24006]: [VideoOut]: 736x576 [0,0 736x576] -> 768x576 [0,0 768x576]
    Apr 14 08:16:12 harry vdr[23981]: [softdevice-audio] Device opened! Ready to play
    Apr 14 08:16:12 harry vdr[23981]: setting primary device to 1
    Apr 14 08:16:12 harry vdr[23981]: device 1 has no MPEG decoder
    Apr 14 08:16:12 harry vdr[23981]: trying device number 4 instead
    Apr 14 08:16:12 harry vdr[23981]: setting primary device to 4
    Apr 14 08:16:12 harry vdr[23981]: SVDRP listening on port 2001
    Apr 14 08:16:12 harry vdr[23981]: loading /home/vdr/vdr/config/themes/sttng-default.theme
    Apr 14 08:16:12 harry vdr[23981]: starting plugin: softdevice
    Apr 14 08:16:12 harry vdr[23981]: loading /home/vdr/vdr/config/themes/sttng-default.theme
    Apr 14 08:16:12 harry vdr[23981]: ERROR: /dev/lircd: Connection refused
    Apr 14 08:16:12 harry vdr[24100]: KBD remote control thread started (pid=24100, tid=147466)
    Apr 14 08:16:12 harry vdr[23981]: remote control softdevice-xv - keys known
    Apr 14 08:16:12 harry vdr[23981]: ERROR: remote control LIRC not ready!
    Apr 14 08:16:12 harry vdr[23981]: remote control KBD - learning keys
    Apr 14 08:16:22 harry vdr[23981]: switching to channel 1
    Apr 14 08:16:23 harry vdr[24101]: transfer thread started (pid=24101, tid=163851)
    Apr 14 08:16:23 harry vdr[24102]: receiver on device 1 thread started (pid=24102, tid=180236)
    Apr 14 08:16:23 harry vdr[24103]: TS buffer on device 1 thread started (pid=24103, tid=196621)


    Hoffe DU findest was :9


    Gruss BiGLuI

    Gruss BiGLuI


    ---
    4x Skystar 2, 1x Nexus-CA unter Gentoo 3.2GHz P4 HT, 3 GB Ram, 400GB HDD, Hauptrechner und einmal Nova-S Plus in nem kleinen anderen Rechner

    Einmal editiert, zuletzt von BiGLuI ()

  • Libs: sieht gut aus.

    Zitat


    [softdevice] ffmpeg version(0.4.8) build(4707)


    Bei dem Buildlevel hat sich zwar was getan, aber 4707 stammt aus der Zeit zwischen 2004-03-03 und 2004-04-02. Aktuell ist 4752.


    Zitat


    cSoftDevice::MakePrimaryDevice
    Failed to open input stream.Error -2
    Segmentation fault


    -2 bedeutet nach ffmpeg so etwas wie ein Fehler beim lesen des Headers (AVERROR_IO).



    Du hast also 3 Karten. Sind das wirklich alles Budgetkarten oder ist da eine FF-Karte dabei ?


    Leider ist da noch keine Auffälligkeit zu sehen.


    Stefan Lucke

  • Ja es sind 3 Karten, 1x Nova-CI und 2x Skystar2


    ffmpeg ist das aktuelle CVS von mplayerhq.hu:/cvsroot/ffmpeg, warum der buildlevel da nicht stimmt keine ahnung.



    Gruss BiGLuI

    Gruss BiGLuI


    ---
    4x Skystar 2, 1x Nexus-CA unter Gentoo 3.2GHz P4 HT, 3 GB Ram, 400GB HDD, Hauptrechner und einmal Nova-S Plus in nem kleinen anderen Rechner

    Einmal editiert, zuletzt von BiGLuI ()

  • Meine Bemerkung Libs sind Ok ist wohl nicht richtig. Du hast zwei Versionen
    a. /usr/local/lib
    b. /home/vdr/ffmpeg/..


    Eine davon ist die Alte (weg damit oder umbennen).


    Stefan Lucke

  • A ist der soure B ist die installierte lib beide identisch .oO( dachte ich zumindest) *schaem*


    Aber der fehler ist geblieben :(



    Gruss BiGLuI

    Gruss BiGLuI


    ---
    4x Skystar 2, 1x Nexus-CA unter Gentoo 3.2GHz P4 HT, 3 GB Ram, 400GB HDD, Hauptrechner und einmal Nova-S Plus in nem kleinen anderen Rechner

    2 Mal editiert, zuletzt von BiGLuI ()

  • Wenn die Libs stimmen, dann muß es noch die alten Header geben. Suche mal nach avcodec.h dort ist der Buildlevel definiert. Damit sind wir bei der Vermutung von ollo .


    Stefan Lucke

  • Moin,


    stl
    ... ist keine Vermutung, sondern leidvolle Erfahrung ;D


    BiGLuI
    ... welcher ffmpeg Pfad steht denn im Makefile von softdevice? Wahrscheinlich mußt Du dort den eintragen, wo die cvs header (nach "make install" in Deinem cvs ffmpeg directory) hingeschrieben werden.


    Gruß, Ollo

  • Die Header landen auch in /usr/local/include und werden dann über den Pfad gefunden der im Makefile angegeben ist. Liegt vielleicht daran, daß ich immer
    make install _und_ make installib aufrufe. Auch dazu gibts einen Hinweis im Makefile. Müße auch mal ins README :) .


    Stefan Lucke

  • nach wilden loesch und kopier orgien, habe ich nun softdevice an den start gebracht, meine fresse wo sich headerdateien ueberall verstecken nur um die armen User zu aergern *gg*


    Danke fuer eure hilfe, ich haette mich mal wieder stundenlang mit suchen beschaeftigt und haette es aufgegeben .


    Gruss BiGLuI

    Gruss BiGLuI


    ---
    4x Skystar 2, 1x Nexus-CA unter Gentoo 3.2GHz P4 HT, 3 GB Ram, 400GB HDD, Hauptrechner und einmal Nova-S Plus in nem kleinen anderen Rechner

Jetzt mitmachen!

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