[Mplayer-advusers] lavc mpeg4 encode with B-frames coredump

Zoltan Hidvegi mplayer at hzoli.2y.net
Tue Jan 27 09:03:22 CET 2004


I am uploading an 8MB HDTV mpeg-ts file to
ftp://ftp.mplayerhq.hu/MPlayer/incoming/bframe_segv.ts
With this file and the following command:

mencoder bframe_segv.ts -tsprog 2 -vop scale=1024:576,crop=1908:1078:4:0 -nosound -ovc lavc -lavcopts vcodec=mpeg4:vmax_b_frames=1:vqscale=3 -sws 1 -fps 29.97 -ofps 23.976 -o bframe_segv.avi

I get a coredump in mpeg4_encode_picture_header because at line
h263.c:2353, time_div - s->last_time_base = -1:

#0  0x082cee3e in put_bits (s=0x8560f24, n=1, value=1) at common.h:389
#1  0x082c0f21 in mpeg4_encode_picture_header (s=0x8560ed0, picture_number=71)
    at h263.c:2357
#2  0x081cb215 in encode_picture (s=0x8560ed0, picture_number=71)
    at mpegvideo.c:4020
#3  0x081c71f0 in MPV_encode_picture (avctx=0x854ddd0, buf=0x40c15008 "", 
    buf_size=2097152, data=0x854dcf0) at mpegvideo.c:1919
#4  0x081bf14a in avcodec_encode_video (avctx=0x854ddd0, buf=0x40c15008 "", 
    buf_size=2097152, pict=0x854dcf0) at utils.c:430
#5  0x0809680b in put_image (vf=0x854dc58, mpi=0x858d198) at ve_lavc.c:739
#6  0x080aefa9 in vf_next_put_image (vf=0x857eae8, mpi=0x858d198) at vf.c:530
#7  0x080aefa9 in vf_next_put_image (vf=0x857eb58, mpi=0x858d128) at vf.c:530
#8  0x080b2196 in put_image ()
#9  0x32315659 in ?? ()
Cannot access memory at address 0xc04d300
(gdb) up
#1  0x082c0f21 in mpeg4_encode_picture_header (s=0x8560ed0, picture_number=71)
    at h263.c:2357
2357            put_bits(&s->pb, 1, 1);
(gdb) p time_div - s->last_time_base
$1 = -1

Attached is the mencoder -v output.

Zoli
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: v
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-advusers/attachments/20040127/2647c31b/attachment.txt>


More information about the MPlayer-advusers mailing list