Maybe you're using the script that I created a while ago. I didn't update that script for a long time because AntP created a better script. Download the script again
here. This script works fine.
If you're still having problems, please post some examples of movies you're having trouble with.