[SDL] migration to mailinglist _strongly_ recommended?

Guido Draheim guidod-2001q3 at gmx.de
Thu Aug 16 05:51:01 PDT 2001


-----Forwarded Message-----
From: Florin Andrei <elf_too at yahoo.com>
To: avifile list <avifile at prak.org>
Subject: [Avifile]x2divx compile problem


Here's everything about my system:
- PIII/600
- Red Hat Linux 7.1 (all updates applied)
- kernel-2.4.7 (compiled by myself)
- SDL-1.2.2 (installed from RPMs)
- Win32 codecs 0.18
- libmpeg3-1.3 (included in the x2divx source tree)

I compiled avifile-0.6-20010713 and installed it in /usr/local
aviplay works fine.
Now, i try to use mpeg2divx to rip some DVDs. And here comes the
problem...

The binary (precompiled) mpeg2divx-0.9 core dumps at me. This is the
message:

[root at pc /stuff]# mpeg2divx -o /stuff/1.avi 1.mpeg 
Available CPU flags: fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca
cmov pat pse36 mmx fxsr sse
598.063 MHz Pentium III (Coppermine) processor detected
/usr/local/lib/avifile/libwin32.so.0: found 26 plugins   (A: 5  V: 21)
/usr/local/lib/avifile/libmpeg_audiodec.so.0: found 1 plugin   (A: 1  V:
0)
/usr/local/lib/avifile/libmp3lame_audioenc.so.0: found 1 plugin   (A: 1
V: 0)
/usr/local/lib/avifile/libmjpeg.so.0: found 1 plugin   (A: 0  V: 1)
/usr/local/lib/avifile/libffmpeg.so.0: found 3 plugins   (A: 0  V: 3)
/usr/local/lib/avifile/libaudiodec.so.0: found 4 plugins   (A: 4  V: 0)
set audio stream 0 of 1
set video stream 0 of 1
channels 6, rate 48000, samples 89805697
width 720, height 480, framerate 29.970030, frames 56072
Initializing registry
Initializing registry
Initializing registry
Initializing registry
Using Win32 dll library: divxc32.dll
Setting bit rate to 20000 160
Encoding frame 0 of 56072, 0.0 frames per sec    Segmentation fault
(core dumped)
[root at pc /stuff]#

If i try to compile x2divx-0.9a, here's what i get:

make[1]: Leaving directory `/root/compile/x2divx-0.9a/libmpeg3-1.3'
g++ -g -O3 -funroll-loops -I/usr/local/include/avifile -I./libmpeg3-1.3
-o mpeg2divx mpeg2divx.cpp -laviplay -lpthread libmpeg3-1.3/*/libmpeg3.a
/usr/local/lib/libaviplay.so: undefined reference to
`XF86VidModeGetAllModeLines'
/usr/local/lib/libaviplay.so: undefined reference to
`XF86VidModeGetModeLine'
collect2: ld returned 1 exit status
make: *** [mpeg2divx] Error 1
[root at pc x2divx-0.9a]#

On avifile's site, i saw that this problem is specific to SDL-1.1.7, and
i should downgrade to 1.1.6. But according to the README file included
with my avifile distribution, "use 1.2 or better if you can".
Now, i do have SDL-1.2.2 :-)

What should i do?
Try a different avifile build?
Try a different SDL?
What exactly is the problem?

-- 
Florin Andrei






More information about the SDL mailing list