PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Probleme mit opencv-2.0.0 + ffmpeg-0.5.1. unter suse11.2



nomad
01.04.10, 10:27
hi,
vorbemerkungen: opencv-1.0.0 + ffmpeg laufen bei mir auf 2 verschieden
linux systemen mit suse 10.3. 64bit und 10.1. 64bit
letzte woch hab ich mit einen neuen laptop 2 intel i5 430M + suse11.2.64bit
gekauft.

ref: interne Webcam with
a) luvcview install & run OK
b) suseGnome: CHEESE : run OK, make a Picture OK

hab gestern versucht opencv version 2.0.0 zu installieren, zuerst ohne ffmpeg-package.

- install under /home with:
- gemaess Intel: interduction to OpenCV
- mit ./configure + make + make install
Compile OK
1.Testlaeufe OK
dann kommen die probleme:
beim versuch aus dem buch "learning opencv 2.1."
laden eines bildes, also ganz einfach.
1) - compile ok,
- aber keine anzeige eines image.jpg- bildes im opencv-window.
- kein absturz, keine fehler meldungen
2) - weiterer versuch mit eigenem prog
- webcam anwendung (mit interner webcam)
- compile ok
- run soweit ok, sobald aber versucht wird mit:
- cvSaveImage( "image.jpg", frame );
- imgFrame = cvLoadImage( "image.jpg",-1);
- via key <2> ein bild zu speichern und dann anschliessend
anzuzeigen
- sofortiger absturz mit consolen-fehlermeldungen
und crash-budy

3) nach diesem Crash
hab ich die neueste version von ffmpeg runtergladen
install gem. opencv-buch mit
./configure --enable-shared
make
make install
-die files liegen gem.buch unter /usr/local/lib/libavformat.so
4) bei opencv /home/opencv-2.0.0/
- ldconfig gemacht

5) heute nochmalige tests:
mit gleichen ergebnissen:

Ich weiss dass ich zuerst ffmpeg installieren muesste .-)
reine bequemlichkeit entschuldigung

jetzt weiss ich eigentlich nicht weiter
es koennte folgendes sein:
- grundlegender fehler: zuerst opencv dann spaeter ffmpeg
- unvertraeglichkeiten bei opencv und ffmpeg
(in den yahoo-opencv-groups kommen sehr haeufig diese
leider meistens von window-usern, manchmal von linux-usern
leider nicht suse)
- da opencv-2.0.0 eine uninstall-routine hat,
waere es sinnvoll
- opencv zu deinstallieren
- dann nochmal ffmpeg zu installieren
- und am schluss wieder opencv-200 zu installieren
- andere moeglichkeit ich koennte opencv1.1.0 installiern ???

unten sind folgende fehlermeldungen aufgefuehrt:
1) consolenfehler-meldung
2) budyCrash-fehlermeldung

ich waere sehr froh um hilfe , tips, und hinweise...
unterdessen versuch im yahoo-forum hilfe zu bekommen (eher unwarscheinlich und noch english)
und da ich verschiedene opencv-progs habe, mal rauszufinden was geht und was nicht.
entschuldigt das lange posting.

gruss nomad



consolenfehler-meldung
---------------------------------------
consolen-meldung cvWebCam_10.cpp:

mycomputer:~/Desktop/opencv-200 # ./cvWebCam_10
Pressed <1> = State Init
Pressed <2> = State Start
OpenCV Error: Unspecified error (could not find a writer for the specified extension) in imwrite_, file highgui/loadsave.cpp, line 276
terminate called after throwing an instance of 'cv::Exception'

** (bug-buddy:4717): WARNING **: Couldn't load /etc/xdg/autostart/ksmolt-autostart.desktop: Ungültiger Schlüsselname: X-KDE-autostart-condition[$e]
Missing separate debuginfo for /usr/lib64/libstdc++.so.6
Try: zypper install -C "debuginfo(build-id)=62220ad5c8941afb5d332c0c47d32f8beec8ac50"
Missing separate debuginfo for /lib64/libm.so.6
Try: zypper install -C "debuginfo(build-id)=57fc1891d8d9f419fb8c7fc06a8285563b53a47e"
Missing separate debuginfo for /lib64/libgcc_s.so.1
Try: zypper install -C "debuginfo(build-id)=0206e11fa8ca0db0633073adcbf1349a7871e1dc"
Missing separate debuginfo for /lib64/libc.so.6
Try: zypper install -C "debuginfo(build-id)=c5a3dfd66bf61fcdec9bc22153b2fbd0d6697960"
Missing separate debuginfo for /lib64/librt.so.1
Try: zypper install -C "debuginfo(build-id)=c663e79551b37d4c0c9bc93b252b917bfdedb150"
Missing separate debuginfo for /lib64/libz.so.1
Try: zypper install -C "debuginfo(build-id)=763926681ebc75fcd9de7b99f7229ff15c7d1754"
Missing separate debuginfo for /lib64/libpthread.so.0
Try: zypper install -C "debuginfo(build-id)=7bcbabc9da24424f1f5ef7be77b575fd3d796288"
Missing separate debuginfo for /lib64/libdl.so.2
Try: zypper install -C "debuginfo(build-id)=44e66ebae672563bd496f290e08d316bc3bf0ac7"
Missing separate debuginfo for /usr/lib64/libgomp.so.1
Try: zypper install -C "debuginfo(build-id)=fd1c2dd0dba55eda091444b9e17c3401271a93e7"
Missing separate debuginfo for /usr/lib64/libgthread-2.0.so.0
Try: zypper install -C "debuginfo(build-id)=bf745d8917d27e255bf174e08e0e6775de77075b"
Missing separate debuginfo for /usr/lib64/libgtk-x11-2.0.so.0
Try: zypper install -C "debuginfo(build-id)=3ef68407a0d2fd8402e30c3510ba77665fc32156"
Missing separate debuginfo for /usr/lib64/libgdk-x11-2.0.so.0
Try: zypper install -C "debuginfo(build-id)=b790d45d12271f7de80fc24169ecf82071cb832d"
Missing separate debuginfo for /usr/lib64/libatk-1.0.so.0
Try: zypper install -C "debuginfo(build-id)=6b1b562a685377458d2ba24ef2e3080517bddbde"
Missing separate debuginfo for /usr/lib64/libpangoft2-1.0.so.0
Try: zypper install -C "debuginfo(build-id)=ff6ab6a12ac30c66bca001b897d454b901a759cd"
Missing separate debuginfo for /usr/lib64/libpangocairo-1.0.so.0
Try: zypper install -C "debuginfo(build-id)=92f8e672ab08d6acb437334716aa34af3006624c"
Missing separate debuginfo for /usr/lib64/libcairo.so.2
Try: zypper install -C "debuginfo(build-id)=eff393400f13166189b42ccd85c24395cb62901a"
Missing separate debuginfo for /usr/lib64/libpango-1.0.so.0
Try: zypper install -C "debuginfo(build-id)=1afe045ecc021366c0515b4dad6e66fe0ebe771e"
Missing separate debuginfo for /usr/lib64/libfreetype.so.6
Try: zypper install -C "debuginfo(build-id)=548e35b1efff83633f9244c84f02d37571e8ac19"
Missing separate debuginfo for /usr/lib64/libfontconfig.so.1
Try: zypper install -C "debuginfo(build-id)=91c40a3235e928f04acc6b7d9c308f9db5502b20"
Missing separate debuginfo for /usr/lib64/libgdk_pixbuf-2.0.so.0
Try: zypper install -C "debuginfo(build-id)=20edddb566b82a691512c3bc94f4d6ae4167192c"
Missing separate debuginfo for /usr/lib64/libgio-2.0.so.0
Try: zypper install -C "debuginfo(build-id)=08ca9202ff9c75bc7271ef47e5bbad43a2a0c36d"
Missing separate debuginfo for /usr/lib64/libgobject-2.0.so.0
Try: zypper install -C "debuginfo(build-id)=f19847d70b70328d99de6303ce77402c1c0ad267"
Missing separate debuginfo for /usr/lib64/libgmodule-2.0.so.0
Try: zypper install -C "debuginfo(build-id)=8e6cb0d3af9508ac2bfb8db5157694ba8fac5cd9"
Missing separate debuginfo for /usr/lib64/libglib-2.0.so.0
Try: zypper install -C "debuginfo(build-id)=7e3842ab0a347df5f56a0697077f4eca83bfe5fe"
Missing separate debuginfo for /usr/lib64/libpng12.so.0
Try: zypper install -C "debuginfo(build-id)=67ebdd04bd0be9a64a35354cb80d8ba2b0221f8f"
Missing separate debuginfo for /lib64/ld-linux-x86-64.so.2
Try: zypper install -C "debuginfo(build-id)=591af1afa33f255704fb6a60859b93d00e205302"
Missing separate debuginfo for /usr/lib64/libX11.so.6
Try: zypper install -C "debuginfo(build-id)=5fa84adc30db95abcbaea20ed7ec1c8dd94dfff2"
Missing separate debuginfo for /usr/lib64/libXfixes.so.3
Try: zypper install -C "debuginfo(build-id)=6495446f04c2f9a4fa3021f7322d6f12c4017305"
Missing separate debuginfo for /usr/lib64/libXext.so.6
Try: zypper install -C "debuginfo(build-id)=a14cd41f23af7f31d0ac2bd8eada730888690b27"
Missing separate debuginfo for /usr/lib64/libXrender.so.1
Try: zypper install -C "debuginfo(build-id)=55f90cfa8482fae594e59cce00c20937e7257446"
Missing separate debuginfo for /usr/lib64/libXinerama.so.1
Try: zypper install -C "debuginfo(build-id)=c7af2457b235b84f26ce24f1c4d260ec7eeb9f88"
Missing separate debuginfo for /usr/lib64/libXi.so.6
Try: zypper install -C "debuginfo(build-id)=d278c56b4359f6a219af5e13576873a38581c25c"
Missing separate debuginfo for /usr/lib64/libXrandr.so.2
Try: zypper install -C "debuginfo(build-id)=6a1fccee186ebf368f2d6a7d5ccd582943fd1953"
Missing separate debuginfo for /usr/lib64/libXcursor.so.1
Try: zypper install -C "debuginfo(build-id)=56d901d8946aefda2e4b5e12dba24c13ac3f61a9"
Missing separate debuginfo for /usr/lib64/libXcomposite.so.1
Try: zypper install -C "debuginfo(build-id)=04bac2797b48183b0534d8ab8a481383e12680aa"
Missing separate debuginfo for /usr/lib64/libXdamage.so.1
Try: zypper install -C "debuginfo(build-id)=650d88fdf900daadd8ba1c9134c21b4e68b560bc"
Missing separate debuginfo for /usr/lib64/libpixman-1.so.0
Try: zypper install -C "debuginfo(build-id)=e2796f6ce8e24789f258c0047a7ad1c47eeae67d"
Missing separate debuginfo for /usr/lib64/libxcb-render-util.so.0
Try: zypper install -C "debuginfo(build-id)=c316459cc02a8eb148173af72236bfa034acd17b"
Missing separate debuginfo for /usr/lib64/libxcb-render.so.0
Try: zypper install -C "debuginfo(build-id)=7fdad8a2768f53c44f378b1ce0b4747f045b0ffb"
Missing separate debuginfo for /usr/lib64/libxcb.so.1
Try: zypper install -C "debuginfo(build-id)=54a77c10d44b40080d6d8e65d277ccb7ab2a5b4a"
Missing separate debuginfo for /lib64/libexpat.so.1
Try: zypper install -C "debuginfo(build-id)=377d4d1802e40c055be37bbf4bde9fcf0a6c9e4e"
Missing separate debuginfo for /lib64/libresolv.so.2
Try: zypper install -C "debuginfo(build-id)=75e330be16e086696f5aac505e30e9628abc9ca9"
Missing separate debuginfo for /lib64/libselinux.so.1
Try: zypper install -C "debuginfo(build-id)=e2a1d921e5eb705fc1e51c5651c04fea1e31bcfd"
Missing separate debuginfo for /lib64/libpcre.so.0
Try: zypper install -C "debuginfo(build-id)=faf1aba9b565a29c99ce1d3944978347d6209cc3"
Missing separate debuginfo for /usr/lib64/libXau.so.6
Try: zypper install -C "debuginfo(build-id)=72341bb9d8a1ad2ca2bbced007f3a785121aac28"
Missing separate debuginfo for /usr/lib64/gtk-2.0/2.10.0/engines/libmurrine.so
Try: zypper install -C "debuginfo(build-id)=281f2d6f682e55779804b151acddfa890ca3efc7"
Missing separate debuginfo for /usr/lib64/gtk-2.0/modules/libcanberra-gtk-module.so
Try: zypper install -C "debuginfo(build-id)=dacf2811996d88f90019992dfbe65fd1c6db581b"
Missing separate debuginfo for /usr/lib64/libcanberra-gtk.so.0
Try: zypper install -C "debuginfo(build-id)=a8fff5fc36b17cd05f1c76819fb58c15b7a33b3b"
Missing separate debuginfo for /usr/lib64/libcanberra.so.0
Try: zypper install -C "debuginfo(build-id)=4559edae1f73d4230667c627ce758222be306f02"
Missing separate debuginfo for /usr/lib64/libvorbisfile.so.3
Try: zypper install -C "debuginfo(build-id)=1ec4ca8fb5fd2f0f836e1312d225ce748307dd4b"
Missing separate debuginfo for /usr/lib64/libltdl.so.7
Try: zypper install -C "debuginfo(build-id)=c0d151a6ac881b1d40daf180284ae1a980b6930b"
Missing separate debuginfo for /usr/lib64/libvorbis.so.0
Try: zypper install -C "debuginfo(build-id)=b6e9c3afdefda8b972a34597c9de8303c03fd6e2"
Missing separate debuginfo for /usr/lib64/libogg.so.0
Try: zypper install -C "debuginfo(build-id)=b7a08f86d1b2980454dda0225550ffc0eefbf390"
Missing separate debuginfo for /usr/lib64/gtk-2.0/modules/libgnomebreakpad.so
Try: zypper install -C "debuginfo(build-id)=62f0d5f19f78c5799d144722ca934438675abc71"
Missing separate debuginfo for /usr/lib64/libelf.so.1
Try: zypper install -C "debuginfo(build-id)=7a16ebf3947e2287ba92d7b34da032c9f499423c"
mycomputer:~/Desktop/opencv-200 #

------------------




budyCrashfehlermeldung
--------------------
System: Linux 2.6.31.5-0.1-desktop #1 SMP PREEMPT 2009-10-26 15:49:03 +0100 x86_64
X Vendor: The X.Org Foundation
X Vendor Release: 10605000
Selinux: No
Accessibility: Disabled
GTK+ Theme: Sonar
Icon Theme: Gilouche
GTK+ Modules: canberra-gtk-module, gnomebreakpad

Memory status: size: 154497024 vsize: 154497024 resident: 13959168 share: 9695232 rss: 13959168 rss_rlim: 18446744073709551615
CPU usage: start_time: 1270109784 rtime: 106 utime: 101 stime: 5 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/root/Desktop/opencv-200/cvWebCam_10'

[Thread debugging using libthread_db enabled]
0x00007ff67098419e in waitpid () from /lib64/libc.so.6
#0 0x00007ff67098419e in waitpid () from /lib64/libc.so.6
#1 0x00007ff66d8ad279 in g_spawn_sync () from /usr/lib64/libglib-2.0.so.0
#2 0x00007ff66d8ad589 in g_spawn_command_line_sync ()
from /usr/lib64/libglib-2.0.so.0
#3 0x00007ff669815d71 in ?? ()
from /usr/lib64/gtk-2.0/modules/libgnomebreakpad.so
#4 <signal handler called>
#5 0x00007ff6709164e5 in raise () from /lib64/libc.so.6
#6 0x00007ff6709179b0 in abort () from /lib64/libc.so.6
#7 0x00007ff671171dc5 in __gnu_cxx::__verbose_terminate_handler() ()
from /usr/lib64/libstdc++.so.6
#8 0x00007ff6711701f6 in ?? () from /usr/lib64/libstdc++.so.6
#9 0x00007ff671170223 in std::terminate() () from /usr/lib64/libstdc++.so.6
#10 0x00007ff67117031e in __cxa_throw () from /usr/lib64/libstdc++.so.6
#11 0x00007ff67215db58 in cv::error (exc=...) at cxcore/cxsystem.cpp:194
#12 0x00007ff671960a77 in cv::imwrite_ (filename="image.jpg", image=...,
params=<value optimized out>, flipv=false) at highgui/loadsave.cpp:276
#13 0x00007ff671961040 in cvSaveImage (filename=0x401097 "image.jpg", arr=
0x605668, _params=<value optimized out>) at highgui/loadsave.cpp:494
#14 0x0000000000400d4a in makeImage() ()
#15 0x0000000000400e42 in main ()

Thread 1 (Thread 0x7ff67265d810 (LWP 4820)):
#0 0x00007ff67098419e in waitpid () from /lib64/libc.so.6
No symbol table info available.
#1 0x00007ff66d8ad279 in g_spawn_sync () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#2 0x00007ff66d8ad589 in g_spawn_command_line_sync ()
from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#3 0x00007ff669815d71 in ?? ()
from /usr/lib64/gtk-2.0/modules/libgnomebreakpad.so
No symbol table info available.
#4 <signal handler called>
No symbol table info available.
#5 0x00007ff6709164e5 in raise () from /lib64/libc.so.6
No symbol table info available.
#6 0x00007ff6709179b0 in abort () from /lib64/libc.so.6
No symbol table info available.
#7 0x00007ff671171dc5 in __gnu_cxx::__verbose_terminate_handler() ()
from /usr/lib64/libstdc++.so.6
No symbol table info available.
#8 0x00007ff6711701f6 in ?? () from /usr/lib64/libstdc++.so.6
No symbol table info available.
#9 0x00007ff671170223 in std::terminate() () from /usr/lib64/libstdc++.so.6
No symbol table info available.
#10 0x00007ff67117031e in __cxa_throw () from /usr/lib64/libstdc++.so.6
No symbol table info available.
#11 0x00007ff67215db58 in cv::error (exc=...) at cxcore/cxsystem.cpp:194
No locals.
#12 0x00007ff671960a77 in cv::imwrite_ (filename="image.jpg", image=...,
params=<value optimized out>, flipv=false) at highgui/loadsave.cpp:276
temp = {flags = 0, rows = 0, cols = 0, step = 0, data = 0x0,
refcount = 0x0, datastart = 0x0, dataend = 0x0}
__func__ = "imwrite_"
pimage = <value optimized out>
encoder = {obj = 0x0, refcount = 0x0}
code = <value optimized out>
#13 0x00007ff671961040 in cvSaveImage (filename=0x401097 "image.jpg", arr=
0x605668, _params=<value optimized out>) at highgui/loadsave.cpp:494
i = <value optimized out>
#14 0x0000000000400d4a in makeImage() ()
No symbol table info available.
#15 0x0000000000400e42 in main ()
No symbol table info available.
A debugging session is active.

Inferior 1 [process 4820] will be detached.

Quit anyway? (y or n) [answered Y; input not from terminal]


----------- .xsession-errors (3286 sec old) ---------------------
System exception: IDL:omg.org/CORBA/COMM_FAILURE:1.0
(gnome-panel:3762): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -9 and height 24
Nautilus-Share-Message: REFRESHING SHARES
Nautilus-Share-Message: ------------------------------------------
Nautilus-Share-Message: spawn arg "net"
Nautilus-Share-Message: spawn arg "usershare"
Nautilus-Share-Message: spawn arg "info"
Nautilus-Share-Message: end of spawn args; SPAWNING
Nautilus-Share-Message: returned from spawn: SUCCESS:
Nautilus-Share-Message: exit code 255
Nautilus-Share-Message: ------------------------------------------
Nautilus-Share-Message: Called "net usershare info" but it failed: »net usershare« gab den Fehler 255 zurück: net usershare: usershares are currently disabled
--------------------------------------------------