On Sun, Dec 29, 2002 at 04:01:01AM -0800, James Klicman wrote: > Hi Brian,
Hi James, > Is there another process in your pipeline that could be causing the > slowdown? $ lav2yuv test.avi | /usr/src/mjpeg_play/mpeg2enc/mpeg2enc -f 3 -4 4 -2 4 -q12 -b 4500 -V 300 -I 1 -o test.m2v ++ WARN: [lav2yuv] unspecified sample-aspect-ratio --- taking a guess... INFO: [mpeg2enc] Selecting generic MPEG2 output profile INFO: [mpeg2enc] Assuming norm NTSC INFO: [mpeg2enc] Encoding MPEG-2 video to test.m2v INFO: [mpeg2enc] Horizontal size: 720 pel INFO: [mpeg2enc] Vertical size: 480 pel INFO: [mpeg2enc] Aspect ratio code: 2 = 4:3 display INFO: [mpeg2enc] Frame rate code: 4 = 30000.0/1001.0 (NTSC VIDEO) INFO: [mpeg2enc] Bitrate: 4500 KBit/s INFO: [mpeg2enc] Quality factor: 12 (Quantisation = 17) (1=best, 31=worst) INFO: [mpeg2enc] Field order for input: top-field-first INFO: [mpeg2enc] Sequence unlimited length INFO: [mpeg2enc] Search radius: 16 INFO: [mpeg2enc] GOP SIZE RANGE 9 TO 15 INFO: [mpeg2enc] Setting colour/gamma parameters to "NTSC" INFO: [mpeg2enc] Progressive format frames = 0 INFO: [mpeg2enc] Buffering 39 frames INFO: [mpeg2enc] SETTING 3DNOW and EXTENDED MMX for QUANTIZER! INFO: [mpeg2enc] SETTING EXTENDED MMX for MOTION! INFO: [mpeg2enc] SETTING MMX for TRANSFORM! INFO: [mpeg2enc] SETTING EXTENDED MMX for PREDICTION! INFO: [mpeg2enc] GOP LENGTH = 15 INFO: [mpeg2enc] Frame start 0 I 0 0 INFO: [mpeg2enc] GOP TC: 00:00:00-00 INFO: [mpeg2enc] Frame end 0 308.98 308.98 16.0 16.00 INFO: [mpeg2enc] Frame start 1 P 3 3 INFO: [mpeg2enc] Frame end 1 57.55 366.53 16.0 32.00 INFO: [mpeg2enc] Frame start 2 B 1 1 As you can see, this is a full-size (no decimation) frame. > In my personal experience, the raw MPEG encoding speed of an Athlon > 700Mhz is around 30fps for VCD resolution with default encoder settings. I am doing 720x480, but I wouldn't that that would account for a 15x slowdown. > There are some benchmarks at http://klicman.org/altivec/ if your > interested in more numbers. Cool. I don't know (and don't think) my mpeg2enc is built with i686, but rather i586. I will autogen.sh my source pool here again and see what configure figures out and also see what flags are being passed to the compiler. b. -- Brian J. Murrell
msg00149/pgp00000.pgp
Description: PGP signature