[MPlayer-dev-eng] mencoder bugreport

Bohdan Horst nexus at hoth.amu.edu.pl
Thu May 16 12:30:24 CEST 2002


FreeBSD-4.5
gcc-2.95.3
XFree86 4.2.0
P3 750Mhz

3pass encoding

pass 0 (works fine):
mencoder file.avi -ovc frameno -lameopts cbr:br=48 -o frameno.avi

pass 1 (works fine):
mencoder file.avi -oac copy -pass 1 -lavcopts vcodec=mpeg4:vhq:vbitrate=192:vmax_b_frames=4 -vop scale=352:208

pass 2 (crash):
mencoder file.avi -oac copy -pass 2 -lavcopts vcodec=mpeg4:vhq:vbitrate=192:vmax_b_frames=4 -vop scale=352:208


Program received signal SIGFPE, Arithmetic exception.
0x814f8f5 in __divdi3 ()
(gdb) bt
#0  0x814f8f5 in __divdi3 ()
#1  0x80b95d9 in ff_set_mpeg4_time (s=0x90df000, picture_number=0) at h263.c:1128
#2  0x80b480c in encode_picture (s=0x90df000, picture_number=0) at mpegvideo.c:1590
#3  0x80af7a5 in MPV_encode_picture (avctx=0x8263404, buf=0x8ad6000 "", buf_size=2097152, data=0xbfbfe600) at mpegvideo.c:795
#4  0x80ad55f in avcodec_encode_video (avctx=0x8263404, buf=0x8ad6000 "", buf_size=2097152, pict=0xbfbfe600) at utils.c:106
#5  0x80728ca in put_image (vf=0x8247a00, mpi=0x8248a80) at ve_lavc.c:238
#6  0x807be21 in vf_next_put_image (vf=0x8247a80, mpi=0x8248a80) at vf.c:301
#7  0x807cc3b in put_image (vf=0x8247a80, mpi=0x8248a40) at vf_expand.c:219
#8  0x807be21 in vf_next_put_image (vf=0x8247b00, mpi=0x8248a40) at vf.c:301
#9  0x807d570 in put_image (vf=0x8247b00, mpi=0x8248a00) at vf_scale.c:136
#10 0x8076271 in decode_video (sh_video=0x8864700, start=0x8f54900 "E\037", '˙' <repeats 114 times>, "ŕ", in_size=117, drop_frame=0) at dec_video.c:204
#11 0x805d21e in main (argc=10, argv=0xbfbffafc, envp=0xbfbffb28) at mencoder.c:964


effect exist in many [2;)] tested movie files with vmax_b_frames option

without vmax_b_frames option works fine 

best regards

btw what difference between -pass 1/2  and -lavcopts vpass 1/2 ?

-- 
 / irl:Bohdan 'Nexus' Horst | mailto:nexus at irc.pl | irc:Nexus \
{---------------------------^----------v----------^------------}
 \ http://www.physd.amu.edu.pl/~nexus/ | Instytut Fizyki  UAM /



More information about the MPlayer-dev-eng mailing list