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.
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
timeout 5s tinycap -d 5 test.wav