Re: [Mjpeg-users] mpeg2enc: memory protect error :(
Hello > > My stuff: > > - Celeron 600; 128 MB RAM; HDD: 40GB,7200rpm,w/2048KiB Cache,UDMA(66) > > - Linux 2.4.20/Debian 3.0 Woody > > - mjpegtoos 1.6.1 (without jpeg-mmx, libmovtar and quictime4linux) > Did you compile the 1.6.1 yourselve or did you install a rpm package ? I compiled myself from tarball archive. > > (...) > > $ jpeg2yuv -f 25 -b 1 -I p -L 1 -j zd%d.jpg | mpeg2enc -f 4 -o video.m2v > What does happen if you replace mpeg2enc with yuvplay ? There is no yuvplay, I builded it without SDL. :( If it is necessary I can rebuild it... > >(...) > >INFO: [jpeg2yuv] Processing non-interlaced/interleaved zd21.jpg, size 35885l. > >INFO: [mpeg2enc] Frame end 0 293.42 293.42 19.9 19.95 > >INFO: [mpeg2enc] Frame start 1 P 3 3 > > Naruszenie ochrony pami?ci > > - > > > > Last thing means in english something like "memory protect error". > > And it always fails in the same point for every yuv-->mpg conversion > > with mpeg2enc. > That might be also a problem with NASM or GCC, which version do you use > ? nasm: 0.98.28cvs-1 gcc: 2.95.4-7 and 3.0.4-7 (native debian 3.0 packages) I will try to upgrade nasm and then we will see... but to build mjpegtools (without jpeg-mmx) nasm is not required, is it? So, has it any infulence how mpeg2enc works? > > ps. I do not subscribe mjpeg-users mailing list... should I subscribe to > > get an answer? How to subscribe? > It might happen that If you don't metion it that one ot the mjpeg-users > only answeres to the mailinglist, and not to you too. So you could miss > a answer. Sorry it was stupid question. I took mailing list address from man, and I did not know about any website with it. Now I have just subscribed and it is ok. ps. thank you for the answer. -- Uzdrawiam Pawel Suwinski --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
[Mjpeg-users] [it was] mpeg2enc: memory protect error :(, [now] :)
On 7 Aug 2003 16:59:17 Bernhard Praschinger <[EMAIL PROTECTED]> said: > > That might be also a problem with NASM or GCC, which version do you use > > ? > > nasm: 0.98.28cvs-1 > gcc: 2.95.4-7 and 3.0.4-7 > (native debian 3.0 packages) > > I will try to upgrade nasm and then we will see... but to build > mjpegtools (without jpeg-mmx) nasm is not required, is it? So, has it > any infulence how mpeg2enc works? I have upgraded nasm to last version (0.98.36) and builded mjpegtool again, (previous time I did it without any nasm instaled in the system) and now everything is working. Mpeg2enc encodes yuv streams, and there are no errors when jpeg-mmx is builded. Thank you for help. -- Uzdrawiam Pawel Suwinski --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users
[Mjpeg-users] mpeg2enc: memory protect error :(
Hello I try to make VCD/SVCD from photos and camera's movies, but when it comes to mpeg2enc it always fails with something like "memory protect error". Why? Is my CPU to slow? Do I need special flags to every concrete situation? Or maybe mpeg2enc is broken? My stuff: - Celeron 600; 128 MB RAM; HDD: 40GB,7200rpm,w/2048KiB Cache,UDMA(66) - Linux 2.4.20/Debian 3.0 Woody - mjpegtoos 1.6.1 (without jpeg-mmx, libmovtar and quictime4linux) Simple example I tried: jpeg --> SVCD -- $ identify *jpg zd10.jpg JPEG 480x576 DirectClass 8-bit 57444b 0.0u 0:01 (...) $ jpeg2yuv -f 25 -b 1 -I p -L 1 -j zd%d.jpg | mpeg2enc -f 4 -o video.m2v INFO: [jpeg2yuv] Parsing & checking input files. INFO: [jpeg2yuv] Image dimensions are 480x576 INFO: [jpeg2yuv] Movie frame rate is: 25.00 frames/second INFO: [jpeg2yuv] Non-interlaced/progressive frames. INFO: [jpeg2yuv] Frame size: 480 x 576 INFO: [jpeg2yuv] Now generating YUV4MPEG stream. INFO: [jpeg2yuv] Processing non-interlaced/interleaved zd1.jpg, size 80213l. INFO: [mpeg2enc] SVCD standard settings selected INFO: [mpeg2enc] Selecting SVCD output profile INFO: [mpeg2enc] Assuming norm PAL ++ WARN: [mpeg2enc] No aspect ratio specifed and no guess possible: assuming 4:3 display aspect! ++ WARN: [mpeg2enc] Generating dummy SVCD scan-data offsets to be filled in by "vcdimager" ++ WARN: [mpeg2enc] If you're not using vcdimager you may wish to turn this off using -d INFO: [mpeg2enc] Encoding MPEG-2 video to video.m2v INFO: [mpeg2enc] Horizontal size: 480 pel INFO: [mpeg2enc] Vertical size: 576 pel INFO: [mpeg2enc] Aspect ratio code: 2 = 4:3 display INFO: [mpeg2enc] Frame rate code: 3 = 25.0 (PAL/SECAM VIDEO / converted FILM) INFO: [mpeg2enc] Bitrate: 2500 KBit/s INFO: [mpeg2enc] Quality factor: 8 (1=best, 31=worst) INFO: [mpeg2enc] Field order for input: none/progressive INFO: [mpeg2enc] New Sequence every 700 Mbytes INFO: [mpeg2enc] Assuming non-video stream of 230 Kbps INFO: [mpeg2enc] Search radius: 16 INFO: [mpeg2enc] GOP SIZE RANGE 9 TO 15 INFO: [mpeg2enc] Setting colour/gamma parameters to "PAL B/G" INFO: [mpeg2enc] Progressive format frames = 0 INFO: [mpeg2enc] Buffering 39 frames INFO: [jpeg2yuv] Processing non-interlaced/interleaved zd2.jpg, size 78283l. (...) INFO: [jpeg2yuv] Processing non-interlaced/interleaved zd16.jpg, size 72228l. INFO: [mpeg2enc] GOP LENGTH = 15 INFO: [mpeg2enc] Frame start 0 I 0 0 INFO: [jpeg2yuv] Processing non-interlaced/interleaved zd17.jpg, size 60548l. (...) INFO: [jpeg2yuv] Processing non-interlaced/interleaved zd21.jpg, size 35885l. INFO: [mpeg2enc] Frame end 0 293.42 293.42 19.9 19.95 INFO: [mpeg2enc] Frame start 1 P 3 3 Naruszenie ochrony pamięci - Last thing means in english something like "memory protect error". And it always fails in the same point for every yuv-->mpg conversion with mpeg2enc. And another little problem... building jpeg-mmx fails with: - [EMAIL PROTECTED] jpeg-mmx-0.1.4]$ make nasm -f elf -o fdct_mmx.o fdct_mmx.s fdct_mmx.s:394: error: operation size not specified make: *** [fdct_mmx.o] Error 1 ??? I will be very grateful for any help. ps. I do not subscribe mjpeg-users mailing list... should I subscribe to get an answer? How to subscribe? -- Uzdrawiam Paweł Suwiński --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01 ___ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users