Crystal Space
Welcome, Guest. Please login or register.
September 01, 2014, 09:07:59 am

Login with username, password and session length
Search:     Advanced search
9009 Posts in 2043 Topics by 8369 Members
Latest Member: Riripark
* Home Help Search Login Register
+  Crystal Space
|-+  Crystal Space Development
| |-+  Support
| | |-+  AVI Divx playback
« previous next »
Pages: [1] Print
Author Topic: AVI Divx playback  (Read 1638 times)
TookiTooki
Guest
« on: June 06, 2005, 01:22:58 pm »

Hello,

When I try to run the csvid.exe demo app, it complains about not able to load a plugin:

WARNING: CODEC class "crystalspace.video.codec.avi.divx" could not be loaded. No valid videostream found!

I've noticed that CS didn't find divx4 or opendivx on my system:
config.log

configure:46975: checking for DivX4
configure:47067: gcc -o conftest.exe    -I/C/CrystalSpaceLibs/include  -I/C/CrystalSpaceLibs/include    -L/C/CrystalSpaceLibs/lib -L/C/CrystalSpaceLibs/lib/mingw-gcc-3.4.2 conftest.c -ldivxdecore -lm  >&5
conftest.c:25:26: divx4/decore.h: No such file or directory
conftest.c: In function `main':
conftest.c:29: error: `DEC_MEM_REQS' undeclared (first use in this function)
conftest.c:29: error: (Each undeclared identifier is reported only once
conftest.c:29: error: for each function it appears in.)
conftest.c:29: error: syntax error before "r"
conftest.c:29: error: `DEC_OPT_MEMORY_REQS' undeclared (first use in this function)
conftest.c:29: error: `r' undeclared (first use in this function)
configure:47073: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "crystalspace"
| #define PACKAGE_TARNAME "crystalspace"
| #define PACKAGE_VERSION "0.99"
| #define PACKAGE_STRING "crystalspace 0.99"
| #define PACKAGE_BUGREPORT "crystal-main@lists.sourceforge.net"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_CMATH 1
| #define X_DISPLAY_MISSING 1
| #define HAVE_WINDOWS_H 1
| /* end confdefs.h.  */
| #include <divx4/decore.h>
| int
| main ()
| {
| DEC_MEM_REQS r; decore(0, DEC_OPT_MEMORY_REQS, 0, &r);
|   ;
|   return 0;
| }
configure:47126: result: no
configure:47315: checking for OpenDivX
configure:47407: gcc -o conftest.exe    -I/C/CrystalSpaceLibs/include  -I/C/CrystalSpaceLibs/include    -L/C/CrystalSpaceLibs/lib -L/C/CrystalSpaceLibs/lib/mingw-gcc-3.4.2 conftest.c -ldivxdecore -lm  >&5
conftest.c:25:25: divx/decore.h: No such file or directory
conftest.c: In function `main':
conftest.c:29: error: `DEC_OPT_RELEASE' undeclared (first use in this function)
conftest.c:29: error: (Each undeclared identifier is reported only once
conftest.c:29: error: for each function it appears in.)
configure:47413: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "crystalspace"
| #define PACKAGE_TARNAME "crystalspace"
| #define PACKAGE_VERSION "0.99"
| #define PACKAGE_STRING "crystalspace 0.99"
| #define PACKAGE_BUGREPORT "crystal-main@lists.sourceforge.net"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_CMATH 1
| #define X_DISPLAY_MISSING 1
| #define HAVE_WINDOWS_H 1
| /* end confdefs.h.  */
| #include <divx/decore.h>
| int
| main ()
| {
| decore(0, DEC_OPT_RELEASE, 0, 0);
|   ;
|   return 0;
| }



Also in the out-dir, there are no directories named divx...


any ideas to be able to get the csvid demo app to work, or to get divx installed? the video file is coded in divx4.

The target system is Win32 XP.

ThanX!!
Logged
sunshine
Administrator
Sr. Member
*****
Posts: 294


View Profile
« Reply #1 on: September 02, 2005, 08:21:59 pm »

Normally, you would need to download, compile, and install either DivX or OpenDivX; and then re-run the CS configure script.
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 4.138 seconds with 15 queries.