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.000000 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/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to