[MPlayer-users] Segfault when encoding MPEG transport stream

Nico nsabbi at tiscali.it
Tue Nov 18 14:42:09 CET 2003


Please, cut a reasonable portion of the part of the TS file, upload it 
to ftp://www.mplayerhq.hu/MPlayer/incoming/
and tell us the name.
I assume you are using a recent CVS version, right?
Does mencoder crash when you use -vc ffmpeg2 ?

        Nico

Adam Nielsen wrote:

>[Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
>Hi,
>
>I've found a point in one particular MPEG-TS file that repeatedly causes a 
>segfault.  I compiled a debug version of mencoder and ran it in gdb, and this 
>is what it came up with:
>
>Program received signal SIGSEGV, Segmentation fault.
>[Switching to Thread 16384 (LWP 9066)]
>0x0812a2cb in mpeg2_set_buf (mpeg2dec=0x8506830, buf=0x8552440, id=0x8552420) 
>at decode.c:383
>383     decode.c: No such file or directory.
>        in decode.c
>(gdb) bt
>#0  0x0812a2cb in mpeg2_set_buf (mpeg2dec=0x8506830, buf=0x8552440, 
>id=0x8552420) at decode.c:383
>#1  0x080e736c in decode (sh=0x8505ed0, data=0x3, len=139487280, flags=0) at 
>vd_libmpeg2.c:147
>#2  0x080e1ff3 in decode_video (sh_video=0x8505ed0, start=0x8552420 "", 
>in_size=139797536, drop_frame=0) at dec_video.c:304
>#3  0x080b033f in main (argc=139797536, argv=0x8552420) at mencoder.c:1081
>#4  0x40c5cbb4 in __libc_start_main () from /lib/libc.so.6
>
>Does anyone know what's wrong?  The command line I used was:
>
>mencoder -o /dev/null -mc 0 -noskip -skiplimit 0 -ovc lavc -lavcopts 
>vcodec=mpeg4:vhq:trell:mbd=2:vmax_b_frames=1:v4mv:vb_strategy=0:vlelim=0: 
>vcelim=0:cmp=2:subcmp=2:precmp=2:predia=1:dia=1:vme=4:aspect=4/3:
>vbitrate=1935:vpass=1 -vop crop=516:570:104:3 -nosound input.ts -ss 110 
>-frames 37000
>
>Thanks,
>Adam.
>
>_______________________________________________
>RTFM!!!  http://www.MPlayerHQ.hu/DOCS
>Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
>http://mplayerhq.hu/mailman/listinfo/mplayer-users
>
>  
>




More information about the MPlayer-users mailing list