Wow, that's a really old build. You might want to try something current.
Also, you should probably not use "shoot" to start and stop video recording. The shoot command is for still images, and may get confused in video mode.
Use click "shoot_full" or if that doesn't trigger reliably,
press "shoot_full"
sleep 200
release "shoot_full"