With play_nice_sleep set to 0, Comskip processes a file in about 10 minutes but uses 80% to 90% of CPU. Set to any non-zero integer, CPU use drops to about 5% and processing takes about an hour.Something in between would be nice.

Somehow, you fixed it anyway. I missed a few, but just updated to 059. As you suggest, I ran it first with the default config file. It took about 8 minutes and used 90% to 95% of the CPU.I then put in my play_nice code and it took about 45 minutes and used almost no CPU.But setting play_nice_sleep = 0 now takes about 15 minutes with CPU usage between 45% and 50%.PERFECT. Many thanks again for your amazing efforts on this.Michael