[MPlayer-users] mencoder crashes when encoding lavc mpeg4

David Kuehling dvdkhlng at gmx.de
Sat Mar 30 13:54:43 CET 2002


Just yesterday I checked out the latest CVS versions of mencoder and
ffmpeg, which worked just great for MPEG4 DVD ripping.  But mencoder
crashes when I tried to encode a VCD-format MPEG1 file.  Here's the
backtrace:

Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 1024 (LWP 5052)]
rate_estimate_qscale (s=0x8338500) at mpegvideo.c:2001
2001        q= 1/((1/long_term_q - 1/short_term_q)*s->qcompress + 1/short_term_q);
(gdb) bt
#0  rate_estimate_qscale (s=0x8338500) at mpegvideo.c:2001
#1  0x0809abaf in encode_picture (s=0x8338500, picture_number=0)
    at mpegvideo.c:1413
#2  0x08097538 in MPV_encode_picture (avctx=0x8185e20, buf=0x40419008 "", 
    buf_size=2097152, data=0x8185ef4) at mpegvideo.c:558
#3  0x08095ddc in avcodec_encode_video (avctx=0x8185e20, buf=0x40419008 "", 
    buf_size=2097152, pict=0x8185ef4) at utils.c:100
#4  0x0804ecf4 in main (argc=8, argv=0xbffffd74, envp=0xbffffd98)
    at mencoder.c:1548
#5  0x402126cf in __libc_start_main () from /lib/libc.so.6

Command-line:

<filename>.mpg -o test.avi -ovc lavc -lavcopts vcodec=mpeg4 

Configuration:

./configure --enable-debug=1 --enable-largefiles \
  --with-csslibdir=/usr/local/lib

OS:

Debian-Woody (testing), about 2 weeks old.  Kernel 2.4.17, GCC 2.95.4


Hope that helps,

David Kühling




More information about the MPlayer-users mailing list