tried that too, and still records short times paand pauses long times.
You need to debug your script in a methodical way. Break it down to the simplest case (e.g. press and release full shoot once). Figure out what actually happens: Does it start recording or not... If it doesn't, experiment until you find a way to get it to reliably start recording. Once you have that sorted out, add the next part (sleep some time and press and release shoot again to stop recording)
There may be a bug somewhere, but in order to figure that out you will have to clearly characterize what is actually happening.
Some general suggestions:
- press shoot_half before shoot_full. The camera make get confused if shoot_full appears on it's own. Some time between the two may also be helpful.
- release in the opposite order
- allow some time between press and release
- in general, make your button sequences as close as you can to what an actual human would do.
- allow enough time for the camera to finish "processing" before trying to shoot the next video.