[MPlayer-users] mencoder -ss causes sigfpe or doesn't skip correctly

Jolan Luff jolan at cryptonomicon.org
Mon Oct 28 08:26:02 CET 2002


Hi,

I'm trying to encode a dvd with divx and split it into two parts using
-ss and -endpos.  Unfortunately, it either skips the incorrect amount of
time or mencoder dies on SIGFPE.

My environment is:

OpenBSD 3.2-current (i386)
MPlayer 0.90pre9
XFree86 4.2.1
gcc version 2.95.3 20010125 (prerelease)
GNU ld version 2.11.2 (with BFD 2.11.2)
GNU assembler version 2.11.2 (i386-unknown-openbsd3.2) using BFD version
2.11.2

I ran mencoder with the following arguments:

mencoder -dvd 1 -oac mp3lame -lameopts br=192:cbr:aq=0:mode=0 -ovc lavc
-lavcopts vcodec=mpeg4:vbitrate=2200:vhq:keyint=250:vpass=1 -ss 00:58:00
-vop scale=837:480 -sws 2

The output from mencoder is:

MEncoder 0.90pre9-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP
Multiprocessor/Athlon XP eXtreme Performance (Family: 6, Stepping: 2)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Reading /usr/home/jolan/.mplayer/codecs.conf: can't open
'/usr/home/jolan/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/share/mplayer/codecs.conf: 38 audio & 110 video
codecs
File not found: 'frameno.avi'
font: can't open file: /usr/home/jolan/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using CSS Key-cache dir: /usr/home/jolan/.mplayer/DVDKeys/GHOST_DOG
Reading disc structure, please wait...
There are 10 titles on this DVD.
There are 28 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened!
success: format: 0  data: 0x0 - 0x3615C800
Detected MPEG-PS file format!
VIDEO:  MPEG2  720x480  (aspect 3)  29.97 fps  12252.0 kbps (1531.5
kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x480  fps:29.97  ftime:=0.0334
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using 3DNowEx optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe)  48000 Hz  384.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 48000->192000 (384.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
Opening video filter: [expand=-1:-1:-1:-1:1]
Expand: -1 x -1, -1 ; -1  (-1=autodetect) osd: 1
Opening video filter: [scale=837:480]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
Sorry, selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 1 -> 1

SwScaler: BICUBIC scaler, from Planar YV12 to Planar YV12 using MMX2
videocodec: libavcodec (837x480 fourcc=58564944 [DIVX])
High quality encoding selected (non real time)!
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2)
==========================================================================
MP3 audio selected
Building audio filter chain for 48000Hz/2ch/16bit ->
48000Hz/2ch/16bit...
Writing AVI header...
Floating exception (core dumped)

gdb isn't too useful on OpenBSD, so I used ktrace.  The output is at:

http://cryptonomicon.org/~jolan/files/temp/sigfpe.txt

mencoder encodes movies without any problems if I don't try to split
them up.

Please let me know if there's any more information that I can provide to
help.

thanks,

- jolan




More information about the MPlayer-users mailing list