[Mplayer-dvb] Mencoder segfaults on new CPU

Joerg Oliver Todamm joergot at avanade.com
Mon Nov 19 14:41:45 CET 2001


Hello,
 
I play around with mencoder for about a week now and really like it. But
now mencoder does not work anymore. Maybe some (arpi) can help me out.
 
Recently I changes my CPU from iPII-350MHz ro iPIII-700MHz and added
some extra memory. The system running SuSE Linux 7.2 is acting well and
VDR is also working flawless.
 
Whenever I try to use the old mencoder (compiled with iPII and seems
only to use MMX) or a new compiled one (used CVS from today) mencoder
always segfaults. 
 
I also tried to vary parameters and so on. Now I am going to recompile
LAME and MAD.
 
Configured with --with-extraincdir=/path-to-DVB --enable-longfiles
 
Here is the output of mencoder (cvs about 1 week old)
-------------------------------------------------------
vdr:/opt/video0/%Stargate/2001-11-09.20--11.99.99.rec # nice -n 10
/root/transcode/main/mencoder -ovc divx4 -divx4opts
br=6000:key=300:deinterlace:q=5:rc_period=164000:rc_reaction_period=10:r
c_reaction_ratio=5:min_quant=2:max_quant=2 -pp 0x20000 -pass 1 001.vdr
-o /opt/video0/Pass1.avi
Reading /root/.mplayer/codecs.conf: 21 audio & 52 video codecs
success: format: 0  data: 0x0 - 0x7D0152BE
Detected MPEG-PS file format!
VIDEO:  MPEG2  480x576  (aspect 2)  25.00 fps  18750.0 kbps (2343.8
kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:480x576  fps:25.00  ftime:=0.0400
Detected video codec: [mpeg12] drv:1 (MPEG 1 or 2)
mpeg2dec-0.2.0-release (C) 2000-2001 Aaron Holtzman & Michel Lespinasse
libmpeg2: Using MMX for IDCT transform
libmpeg2: Using MMX for motion compensation
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
mp3lib: Processor ID: 683
mp3lib: Using Pentium-MMX optimized decore.
AUDIO: srate=48000  chans=2  bps=2  sfmt=0x10  ratio: 24000->192000
Writting AVI header...
Segmentation fault7 A-V: -0.035 oAV:  0.464 diff: -0.499 ct:  0.000 vpc:
0.000

With the new CVS I found that CPU detection of mp3lib switches from
MMXEXT to SSE. 
------------------------------------------------------------------------
-------
MEncoder CVS-011119-13:38(C) 2000-2001 Arpad Gereoffy (see DOCS!)
Reading /root/.mplayer/codecs.conf: 21 audio & 52 video codecs
success: format: 0  data: 0x0 - 0x7D0152BE
MPEG-PS Dateiformat erkannt!
VIDEO:  MPEG2  480x576  (aspect 2)  25.00 fps  18750.0 kbps (2343.8
kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:480x576  fps:25.00  ftime:=0.0400
Detected video codec: [mpeg12] drv:1 (MPEG 1 or 2)
mpeg2dec-0.2.0-release (C) 2000-2001 Aaron Holtzman & Michel Lespinasse
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
mp3lib: Processor ID: 683
mp3lib: Using SSE! optimized decore.
AUDIO: srate=48000  chans=2  bps=2  sfmt=0x10  ratio: 24000->192000
Writing AVI header...
Segmentation fault7 A-V: -0.035 oAV:  0.464 diff: -0.499 ct:  0.000 vpc:
0.000
 
MEncoder CVS-011119-13:38(C) 2000-2001 Arpad Gereoffy (see DOCS!)
Reading /root/.mplayer/codecs.conf: 21 audio & 52 video codecs
success: format: 0  data: 0x0 - 0x7D0152BE
MPEG-PS Dateiformat erkannt!
VIDEO:  MPEG2  480x576  (aspect 2)  25.00 fps  18750.0 kbps (2343.8
kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:480x576  fps:25.00  ftime:=0.0400
Detected video codec: [mpeg12] drv:1 (MPEG 1 or 2)
mpeg2dec-0.2.0-release (C) 2000-2001 Aaron Holtzman & Michel Lespinasse
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
mp3lib: Processor ID: 683
mp3lib: Using SSE! optimized decore.
AUDIO: srate=48000  chans=2  bps=2  sfmt=0x10  ratio: 24000->192000
Writing AVI header...
Segmentation fault7 A-V: -0.035 oAV:  0.464 diff: -0.499 ct:  0.000 vpc:
0.000


Any ideas?
 
So long,
 
Joerg-Oliver Todamm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dvb/attachments/20011119/498dafc7/attachment.htm>


More information about the MPlayer-dvb mailing list