[Ffmpeg-devel] Lowres option problem

Roberta Weber beta_n
Fri Sep 22 03:15:41 CEST 2006


I used lowres = 3 in my code and this option causes segmentation fault in the first GetNextFrame:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1225635616 (LWP 10649)]
0xb78e9f10 in ff_put_cavs_qpel16_mc00_mmx2 () from /usr/local/lib/libavcodec.so.51
(gdb) bt
#0  0xb78e9f10 in ff_put_cavs_qpel16_mc00_mmx2 () from /usr/local/lib/libavcodec.so.51
#1  0xb77a841e in MPV_decode_defaults () from /usr/local/lib/libavcodec.so.51
#2  0xb77b33bc in MPV_decode_mb () from /usr/local/lib/libavcodec.so.51
#3  0xb786850e in mpeg1_encode_picture_header () from /usr/local/lib/libavcodec.so.51
#4  0xb786abc0 in mpeg1_encode_picture_header () from /usr/local/lib/libavcodec.so.51
#5  0xb779f2ce in avcodec_decode_video () from /usr/local/lib/libavcodec.so.51
#6  0x08048c16 in GetNextFrame (pFormatCtx=0x80552d0, pCodecCtx=0x8056420, videoStream=0, pFrame=0x8056f40) at mpeg.cc:45
#7  0x080492c8 in main (argc=2, argv=0xbfb1fc34) at mpeg.cc:212

When I try lowres =1, the code works well. Someone could please tell me what is wrong?


 Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular. Registre seu aparelho agora!

More information about the ffmpeg-devel mailing list