Linux 15.070 Themen, 107.540 Beiträge

Avicap - Programmfehler?!?

Diewi / 6 Antworten / Baumansicht Nickles

Tag Leude,

Ich hab vor kurzem die neueste Version von Avifile auf Suse8.0 kompilliert, bloss bei
dem Befehl "make install" kam am Ende ein Fehler, der hieß:
/bin/sh ../../libtool --mode=link g++ -O2 -mcpu=i686 -march=i686 -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -o divx4.la -rpath /usr/local/lib/avifile0.7 -module -avoid-version divx4.lo -ldivxdecore -ldivxencore -lnsl -ldl
rm -fr .libs/divx4.la .libs/divx4.* .libs/divx4.*
(cd . && ln -s divx4.lo divx4.o)
ln: `divx4.o\': File exists
make[2]: *** [divx4.la] Error 1
make[2]: Leaving directory `/home/diewi/Files/Multimedia/AviFile/avifile0.7-0.7.37/plugins/libdivx4\'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/diewi/Files/Multimedia/AviFile/avifile0.7-0.7.37/plugins\'
make: *** [install-recursive] Error 1
Dann hab ich trotzdem versucht avicap zu starten... und es hat geklappt! Beim Aufnehmen
hat es nur angemckert, dass es die Datei btvvc32.drv im Verzeichnis /usr/lib/win32/
nicht finden kann (win32-Binaries waren da schon drin). Die Datei hab ich von
drivers.com heruntergeladen und in das Verzeichnis kopiert. Dann hat es den Fehler
nicht mehr gemeldet, aber sobald ich im Konfiguratonsmenü beim Kompressionsformat auf
den Button "Change" klicke stürtzt mir das Proramm mit folgender Meldung ab:
/usr/lib/avifile0.6/libac3pass.so: found A: 1 V: 0 plugin
/usr/lib/avifile0.6/libaudiodec.so: found A: 5 V: 0 plugins
/usr/lib/avifile0.6/libffmpeg.so: found A: 1 V: 5 plugins
/usr/lib/avifile0.6/libmad_audiodec.so: found A: 1 V: 0 plugin
/usr/lib/avifile0.6/libmjpeg.so: found A: 0 V: 1 plugin
/usr/lib/avifile0.6/libmp3lamebin_audioenc.so: found A: 1 V: 0 plugin
/usr/lib/avifile0.6/libmpeg_audiodec.so: found A: 1 V: 0 plugin
/usr/lib/avifile0.6/libvorbis_audio.so: found A: 1 V: 0 plugin
/usr/lib/avifile0.6/libwin32.so: found A: 13 V: 46 plugins
Uncompressed RGB video encoder created
Unc_Decoder: FATAL: Can\'t handle this format at Uncompressed.cpp: 116
WARNING: plugin is in incompatible format
CreateVideoEncoder(): Unknown codec 0x0 = ""
Unc_Decoder: FATAL: Can\'t handle this format at Uncompressed.cpp: 116
WARNING: plugin is in incompatible format
CreateVideoEncoder(): Unknown codec 0x0 = ""
OS Motion JPEG video encoder created
Using Win32 dll library: divxcfvk.dll
No \'BitRate\' value present
W32 Quality 0 KeyFrames: 9999 BitRate: 910000
DivX ;-) VKI (Fast-Motion) video encoder created
Total Unfree 0 bytes cnt 0 [(nil),0]
Using Win32 dll library: divxcvki.dll
No \'BitRate\' value present
W32 Quality 0 KeyFrames: 9999 BitRate: 910000
DivX ;-) VKI (Low-Motion) video encoder created
Total Unfree 0 bytes cnt 0 [(nil),0]
Using Win32 dll library: divxc32f.dll
No \'BitRate\' value present
W32 Quality 0 KeyFrames: 9999 BitRate: 910000
DivX ;-) Fast-Motion video encoder created
Total Unfree 0 bytes cnt 0 [(nil),0]
Using Win32 dll library: divxc32.dll
No \'BitRate\' value present
W32 Quality 0 KeyFrames: 9999 BitRate: 910000
DivX ;-) Low-Motion video encoder created
Total Unfree 0 bytes cnt 0 [(nil),0]
Using Win32 dll library: mpg4c32.dll
W32 Quality 0 KeyFrames: 9999 BitRate: 910000
Microsoft MPEG-4 video encoder created
Total Unfree 4096 bytes cnt 1 [(nil),0]
Using Win32 dll library: btvvc32.drv
W32 Quality 0 KeyFrames: 65535 BitRate: 910000
Brooktree(r) ProSummer Video (32) video encoder created
Total Unfree 20480 bytes cnt 5 [(nil),0]
Using Win32 dll library: btvvc32.drv
W32 Quality 0 KeyFrames: 65535 BitRate: 910000
ICCompressBegin() failed ( shouldn\'t happen ), error code -2
Aborted

Kann mir bitte jemand helfen?

Gruss Diewi

bei Antwort benachrichtigen
Klaus_T Diewi „Avicap - Programmfehler?!?“
Optionen

>(cd . && ln -s divx4.lo divx4.o)
Hier will er einen Link anlegen von divx4.o nach divx4.lo ...
>ln: `divx4.o\': File exists
Kann er aber nicht, da es diese Datei schon gibt. Loesche die Datei divx4.o und rufe danach noch einmal das 'make'auf.
Klaus

bei Antwort benachrichtigen
Diewi Nachtrag zu: „Avicap - Programmfehler?!?“
Optionen

Bin ich jetzt blöd, oder was???
Ich bin anscheinend zu dumm die Datei divx4.o\ zu finden!
Weiß jemand das Verzeichnis?

bei Antwort benachrichtigen
Klaus_T Diewi „Avicap - Programmfehler?!?“
Optionen

Na, steht doch in der Fehlermeldung:/home/diewi/Files/Multimedia/AviFile/avifile0.7-0.7.37/plugins/libdivx4\
Bye, Klaus

bei Antwort benachrichtigen
Diewi Nachtrag zu: „Avicap - Programmfehler?!?“
Optionen

In dem Verzeichnis ist weder die Datei divx4.o noch .lo, bloß die Datei divx4.cpp.
Ich hab das ganze /home-Verzeichnis nach diesen Dateien suchen lassen.
Wenn man imVerzeichnis
/home/diewi/Files/Multimedia/AviFile/avifile0.7-0.7.37/plugins/libdivx4/ 'make' ausführt
kommt folgende Meldung:
/bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../include -DLINUX -Wall -Wno-unused -I../../include -O2 -mcpu=i686 -march=i686 -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -c divx4.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../../include -DLINUX -Wall -Wno-unused -I../../include -O2 -mcpu=i686 -march=i686 -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -c divx4.cpp -fPIC -DPIC -o divx4.lo
divx4.cpp: In method `int avm::DIVX_VideoDecoder::init()':
divx4.cpp:87: assignment to `int (*)(long unsigned int, long unsigned int, void *, void *)' from `int (*)(void *, int, void *, void *)'
divx4.cpp: In method `int avm::DIVX_VideoDecoder::Start()':
divx4.cpp:145: `DEC_PARAM' undeclared (first use this function)
divx4.cpp:145: (Each undeclared identifier is reported only once
divx4.cpp:145: for each function it appears in.)
divx4.cpp:145: parse error before `;'
divx4.cpp:147: `param' undeclared (first use this function)
divx4.cpp:159: `DEC_RGB565' undeclared (first use this function)
divx4.cpp:159: `DEC_RGB565_INV' undeclared (first use this function)
divx4.cpp:165: `DEC_RGB555' undeclared (first use this function)
divx4.cpp:165: `DEC_RGB555_INV' undeclared (first use this function)
divx4.cpp:168: `DEC_RGB24' undeclared (first use this function)
divx4.cpp:168: `DEC_RGB24_INV' undeclared (first use this function)
divx4.cpp:171: `DEC_RGB32' undeclared (first use this function)
divx4.cpp:171: `DEC_RGB32_INV' undeclared (first use this function)
divx4.cpp:182: `DEC_420' undeclared (first use this function)
divx4.cpp:185: `DEC_YV12' undeclared (first use this function)
divx4.cpp:188: `DEC_YUV2' undeclared (first use this function)
divx4.cpp:192: `DEC_UYVY' undeclared (first use this function)
divx4.cpp: In method `int avm::DIVX_VideoDecoder::DecodeFrame(avm::CImage *, const void *, unsigned int, int, bool = true, avm::CImage ** = 0)':
divx4.cpp:275: `DEC_SET' undeclared (first use this function)
divx4.cpp:275: parse error before `;'
divx4.cpp:276: `set' undeclared (first use this function)
divx4.cpp:277: `DEC_OPT_SETPP' undeclared (first use this function)
divx4.cpp: In method `int avm::DIVX_VideoEncoder::init()':
divx4.cpp:455: `ENC_CSP_RGB24' undeclared (first use this function)
divx4.cpp:456: `ENC_CSP_YUY2' undeclared (first use this function)
divx4.cpp:457: `ENC_CSP_YV12' undeclared (first use this function)
divx4.cpp:458: `ENC_CSP_I420' undeclared (first use this function)
divx4.cpp: In method `int avm::DIVX_VideoEncoder::Start()':
divx4.cpp:467: parse error before `;'
divx4.cpp: In method `int avm::DIVX_VideoEncoder::EncodeFrame(const avm::CImage *, void *, int *, uint_t *, int * = 0)':
divx4.cpp:589: `struct _ENC_FRAME_' has no member named `colorspace'
divx4.cpp:591: `struct _ENC_FRAME_' has no member named `mvs'
divx4.cpp:595: `struct _ENC_FRAME_' has no member named `quant'
divx4.cpp:597: `struct _ENC_FRAME_' has no member named `intra'
divx4.cpp:598: `ENC_OPT_ENCODE_VBR' undeclared (first use this function)
divx4.cpp:603: `struct ENC_RESULT' has no member named `is_key_frame'
make: *** [divx4.lo] Error 1

Gruss Diewi

bei Antwort benachrichtigen
Klaus_T Diewi „In dem Verzeichnis ist weder die Datei divx4.o noch .lo, bloß die Datei...“
Optionen

Sorry, da bin ich ueberfragt. So weit reichen meine Programmierkentnisse nicht. Da muesstest du jemanden haben, der den Quellcode auseinander fummelt. Ich vermute, dass dir irgendetwas fehlt in den Header-Dateien oder eine falsche Version ist. Das Problem ist es, diese Datei zu finden und was dort schief laeuft.
Bye, Klaus

bei Antwort benachrichtigen
Diewi Nachtrag zu: „Avicap - Programmfehler?!?“
Optionen

Ich hab jetzt avifile mal mit 'make -i' und 'make -i install' kompilliert (-i, dass Fehler
ignoriert werden und fortgesetzt wird), aber sobald ich versuche avicap oder avifile zu
starten kommt die Meldung 'Segmentation fault'.

Gruss Diewi

bei Antwort benachrichtigen