QUOTE
Originally posted by enkid
This sounds suspiciously like the problem I've been having...after reading this post I made some tests using some Native American solo flute music. Encoding the same track twice using the same preset yielded two wildly different encode speeds (.37x v.s. 3.99x)with apparantly identical output files.
Actually, what was described earlier was related to documented behavior of the --alt-presets, in that certain situations result in extra time being required for encoding (extra rounds through the quantization loops are performed to keep noise lower than normal). This is perfectly normal and should result in similar speed (and slowdowns) on every encode.
QUOTE
It appears Lame isn't consistantly being allocated cpu time.
From this and the earlier comment about such a drastic speed difference, I'd have to say this must be a problem specific to your system. There should be no LAME specific problem which is causing this. I've never experienced this problem, and I don't know anyone else who has. Perhaps you have something running in the background which is randomly using a large amount of cpu usage.
If you continue to have this problem perhaps you can give us more information on your system and what exactly you are encoding, maybe you can even provide a sample.