I was doing some testing of both the older version (1.6.1.90) and the
newer version of mpeg2enc (1.6.1.92). First off, the .92 was somewhat
faster to begin with. However, in both cases, after multiple tests and
trying different things, I can't get the SMP modes to be fast at all. In
fact, they're slower than the non-SMP modes.

When encoding with the -M 0 with .92, I get around 19fps. When I use -M
2 or -M 3, I get around 14fps. The CPU utilization sits at about 60 to
70% across both CPUs, but hits 99.9% when using just one.

I installed 'buffer', set it up with a 32MB buffer and put it in the
stream, and it didn't make any difference at all. It would be nice to
use mpeg2enc on two CPUs to it's full speed, which would net me faster
than real-time, but thus far I haven't been able to.

Has anyone found a way around this, or is it time to look at the source
and see what's up?

And for reference, it's a dual Athlon MP 2100+, which is below the
'2600' that the Howto references as fast.

The actual command line is:
mpeg2enc -v 0 -I 0 -f 8 -b 9800 -F 1 -n n -p -a 3 -o test.m2v -S 9999 -M
3 -4 2 -2 1 -r 32 -q 5 -Q 3.0 -K kvcd

Of course the -M 3 changes to 2 and 0 in testing. I also tested it with
and without the buffer program in the list. Another notable thing, is
that with the newest version .92, -M3 causes three 33% usage processes
to exist (leaving an entire CPU idle), while M2 causes two 60% processes
to exist. With .90, -Mx causes 2 50-70% processes and the rest never do
anything.




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to