How to stop recording with tinycap in android?

4.5k Views Asked by At

We're using tinycap to do some script automatically in our android phone device.

But how to give argument to stop it?

Like tinycap -d 5 test.wav(5s)

Thanks.

2

There are 2 best solutions below

0
On

timeout 5s tinycap -d 5 test.wav

1
On

Depends which version you're using. On 22 Jan 2016, virajkarandikar has submitted this patch, which introduces a timeout switch, e.g for 5 seconds:

tinycap test.wav -t 5

Lazy workaround if not implemented and can't rebuild:

tinycap test.wav &
sleep 5
pkill -TERM tinycap