For starters you will have to get rid of ToK.
I know, I know, I used to love it too but it is very much outdated and the developper hasn't been around for quite some time.
That error message is a ToK's exclusive and we've never found out what triggered it...
I also understand why you're using ToK: it is still mentioned in some of the guides of our forum...
This is something that we'll have to workout in the future: guides are somewhat outdated too

.
Nevertheless you can use CQMatic/CalcuMatic instead of ToK.
With CalcuMatic you get the necessary figures to input in CQMatic so that it can do the prediction and eventually the final encoding.
So hurry up to the CQMatic section

.
Read
carefully the usage instructions.
By carefully I really mean carefully, otherwise CQMatic will run ok on your 1st attempt but it won't work well on the fouthcoming attempts.
Feel free to ask for help if you see that you found a dead-end with CQMatic/CalcuMatic.
BTW I couldn't help noticing that you're dealing with AVI sources.
Be carefull as we only support some kind of AVI talking here in the forum.
If you read the forum disclaimer carefully you'll know what I mean

.
Cheers