Hi, On 6/17/2009 9:09 AM, Matthew Hallin wrote: > Here is the output from gdb > > Program received signal SIGSEGV, Segmentation fault. > ff_set_qscale (s=0xa5113d0, qscale=<value optimized out>) > at libavcodec/mpegvideo.c:2356 > 2356 s->y_dc_scale= s->y_dc_scale_table[ qscale ]; > Current language: auto; currently c > (gdb) backtrace > #0 ff_set_qscale (s=0xa5113d0, qscale=<value optimized out>) > at libavcodec/mpegvideo.c:2356 > #1 0x0814a385 in encode_thread (c=0xa511020, arg=0xa5114a4) > at libavcodec/mpegvideo_enc.c:2060 > #2 0x080dbbda in avcodec_default_execute (c=0xa511020, > func=0x8149fd0 <encode_thread>, arg=0xa5114a4, ret=0x0, count=1, size=4) > at libavcodec/utils.c:411 > #3 0x081340bf in MPV_encode_picture (avctx=0xa511020, buf=0xb7b04008 "", > buf_size=829440, data=0xa559a90) at libavcodec/mpegvideo_enc.c:2923 > #4 0x080dd790 in avcodec_encode_video (avctx=0xa511020, buf=0xb7b04008 "", > buf_size=829440, pict=0xa559a90) at libavcodec/utils.c:527 > #5 0x0804a310 in main () at ffmpeg-test2.cpp:175 > > I tried to rebuild with --disable-optimizations with the hope that it may > then show me the value of qscale but it would not build.
One file needs -O1 because of register allocation failing, you should be able to compile it manually, yes it's annoying. Sorry for that. You can add also --enable-debug=gdb3 PS: please do not top-post on this mailing list. Thanks for your understanding. -- Baptiste COUDURIER GnuPG Key Id: 0x5C1ABAAA Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA FFmpeg maintainer http://www.ffmpeg.org _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
