My cameras have a manual focus mode, which works in video recordings too. There's a way to switch to manual focus mode in Lua that probably won't work on a camera without manual focus as an option, but it's worth a try. See what this code does on your camera:
post_levent_for_npt("PressSw1AndMF") --toggles manual focus mode
sleep(500)