---------- Forwarded Message ----------
Subject: Malloc failed, Was: Re: [Mjpeg-users] MPEG2 encoding performance Date: Mon, 24 Nov 2003 08:32:35 +0100 From: Michael Hanke <[EMAIL PROTECTED]> To: "Steven M. Schultz" <[EMAIL PROTECTED]> On Tuesday 18 November 2003 23.59, you wrote: > Hi - > > > > What $prefix did you install SDL into? This, I think, is the > > > beginning of the errors you're seeing. > > > > /usr/local > > That's fine, but aclocal/auto* are looking in the system's > /usr/share/aclocal for the sdl.m4 file and that is why > aclocal/automake is complaining that it can't find it. > > Couple things that can be tried are: put a symlink in the system's > aclocal directory for sdl.m4 and point it at the one in /usr/local, > the other thing is to copy the file into the system's aclocal directory. > > That may not be the only problem though and it may be necessary > to install newer versions of automake and autoconf. Hi, Thanks a lot for all of your help. I had to upgrade libtool and autoconf. Then the build went smoothly. But when I tried yuvdenoise, I got an memory allocation error. Below I include the output. The y4mscaler part of the pipe can be omitted in order to reproduce the problem. I included it because it contains all informations about the video stream: [EMAIL PROTECTED]:/usr/local/xcdroast/MJPEG > lav2yuv final01.eli |yuvdenoise | y4mscaler -I active=692x564+8+4 -S option=cubicCR -O preset=svcd | yuvplay INFO: [yuvdenoise] ======================================================== INFO: [yuvdenoise] Y4M2 Motion-Compensating-YCrCb-Denoiser INFO: [yuvdenoise] ======================================================== INFO: [yuvdenoise] Version: MjpegTools 1.6.2 ++ WARN: [lav2yuv] unspecified sample-aspect-ratio --- taking a guess... **ERROR: [yuvdenoise] malloc failed INFO: [y4mscaler] Input Stream Header: INFO: [y4mscaler] <<< frame size: 704x576 pixels (608256 bytes) INFO: [y4mscaler] <<< frame rate: 25/1 fps (~25.000000) INFO: [y4mscaler] <<< interlace: top-field-first INFO: [y4mscaler] <<< sample aspect ratio: 59:54 INFO: [y4mscaler] SVCD output format requested in PAL/SECAM norm. INFO: [y4mscaler] Source matte region defaulting to full source frame. INFO: [y4mscaler] Target interlacing defaulting to match source. INFO: [y4mscaler] Target active region defaulting to full target frame. INFO: [y4mscaler] Deriving ratios from active regions and SARs... INFO: [y4mscaler] ...using scaling ratios which pad target. INFO: [y4mscaler] ...using scaling ratios which are simple. ++ WARN: [y4mscaler] Target active region clipped by projection of source. ++ WARN: [y4mscaler] Target active region y1 (6) is not multiple of 4... ++ WARN: [y4mscaler] ...shifted down by 2. ++ WARN: [y4mscaler] Target active region y2 (570) is not multiple of 4... ++ WARN: [y4mscaler] ...shifted up by 2. INFO: [y4mscaler] === SOURCE parameters: ================= INFO: [y4mscaler] < stream: INFO: [y4mscaler] < 704x576, SAR 59:54, top-field-first INFO: [y4mscaler] < chroma subsampling: 420_JPEG INFO: [y4mscaler] < chroma ss ratios: x 1:2 y 1:2 INFO: [y4mscaler] < active region: INFO: [y4mscaler] < 690.333333x559.000000 at 9.000000,7.000000 INFO: [y4mscaler] < matte region: INFO: [y4mscaler] < 704x576 at 0,0 (bg Y'CbCr: 16,128,128) INFO: [y4mscaler] === SCALING parameters: ================ INFO: [y4mscaler] | Scaler: Matto's Generic Scaler INFO: [y4mscaler] === TARGET parameters: ================= INFO: [y4mscaler] > stream: INFO: [y4mscaler] > 480x576, SAR 59:36, top-field-first INFO: [y4mscaler] < chroma subsampling: 420_MPEG2 INFO: [y4mscaler] < chroma ss ratios: x 1:2 y 1:2 INFO: [y4mscaler] > active region: INFO: [y4mscaler] > 460x560 at 10,8 (bg Y'CbCr: 16,128,128) INFO: [y4mscaler] > X ratio: 2/3 INFO: [y4mscaler] > Y ratio: 1/1 INFO: [y4mscaler] Output Stream Header: INFO: [y4mscaler] >>> frame size: 480x576 pixels (414720 bytes) INFO: [y4mscaler] >>> frame rate: 25/1 fps (~25.000000) INFO: [y4mscaler] >>> interlace: top-field-first INFO: [y4mscaler] >>> sample aspect ratio: 59:36 INFO: [y4mscaler] Frame number 0 INFO: [y4mscaler] End of stream at frame 0. INFO: [yuvplay] Played 0000 frames (0:00:00.00) [EMAIL PROTECTED]:/usr/local/xcdroast/MJPEG > Some days before, ther was a discussion of an similar bug (?) in mpeg2enc. How has it been resolved? Yours, Michael ------------------------------------------------------- -- +---------------------------------------------------------------+ | Michael Hanke Royal Institute of Technology | | NADA | | S-10044 Stockholm | | Sweden | +---------------------------------------------------------------+ | Visiting address: Lindstedtsvaegen 3 | | Phone: + (46) (8) 790 6278 | | Fax: + (46) (8) 790 0930 | | Email: [EMAIL PROTECTED] | | [EMAIL PROTECTED]| +---------------------------------------------------------------+ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users