On Thu, 26 May 2005, Steven M. Schultz wrote:
> For what it is worth I get the segfault too - seems to happen just > as the encoder is creating the first frame in the first GOP. Core was generated by `mpeg2enc -I 2 -D 10 -E -10 -R 1 -q 8 -f 8 -4 2 -2 1 -K kvcd -o coalb.m2v'. Program terminated with signal 11, Segmentation fault. warning: current_sos: Can't read pathname for load map: Input/output error Reading symbols from /usr/local/lib/libmpeg2encpp-1.7.so.0...done. Loaded symbols for /usr/local/lib/libmpeg2encpp-1.7.so.0 Reading symbols from /usr/local/lib/libmjpegutils-1.7.so.0...done. Loaded symbols for /usr/local/lib/libmjpegutils-1.7.so.0 Reading symbols from /usr/lib/libstdc++.so.5...done. Loaded symbols for /usr/lib/libstdc++.so.5 Reading symbols from /lib/tls/libm.so.6...done. Loaded symbols for /lib/tls/libm.so.6 Reading symbols from /lib/libgcc_s.so.1...done. Loaded symbols for /lib/libgcc_s.so.1 Reading symbols from /lib/tls/libpthread.so.0...done. Loaded symbols for /lib/tls/libpthread.so.0 Reading symbols from /lib/tls/libc.so.6...done. Loaded symbols for /lib/tls/libc.so.6 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 #0 0x400580e6 in pred (src=0x0, sfield=1, dst=0x8185c60, dfield=0, lx=1408, w=16, h=8, x=0, y=0, dx=0, dy=0, addflag=false) at predict.cc:93 93 ppred_comp( src[cc]+(sfield?lx>>1:0),dst[cc]+(dfield?lx>>1:0), (gdb) where #0 0x400580e6 in pred (src=0x0, sfield=1, dst=0x8185c60, dfield=0, lx=1408, w=16, h=8, x=0, y=0, dx=0, dy=0, addflag=false) at predict.cc:93 #1 0x40058a72 in MacroBlock::Predict (this=0x411c6008) at encodertypes.h:72 #2 0x4004cf32 in MacroBlock::Encode (this=0x411c6008) at macroblock.cc:32 #3 0x40054ac0 in Picture::EncodeMacroBlocks (this=0x85a27b0) at stl_iterator.h:605 #4 0x4005a2ed in SeqEncoder::EncodePicture (this=0x804f508, picture=0x85a27b0) at seqencoder.cc:326 #5 0x4005a3e2 in SeqEncoder::Pass1EncodeFrame (this=0x804f508) at seqencoder.cc:499 #6 0x4005a79b in SeqEncoder::EncodeStream (this=0x804f508) at seqencoder.cc:427 #7 0x0804b17f in main (argc=0, argv=0x0) at mpeg2enc.cc:1035 NULL pointer dereference from the looks of things - the 'src=0x0' would indicate a buffer pointer isn't set or something. Cheers, Steven Schultz ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users