0

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.

ArK
  • 20,698
  • 67
  • 109
  • 136
Vick753
  • 13
  • 2
  • 9
  • 1
    Could you please let me know how did you start recording? I don't know what tinymix config I should use. Every time I call tinycap /storage/emulated/0/out.wav I get start errorCaptured 0 frames message. – Fahime Ghasemi Aug 03 '22 at 13:29

2 Answers2

0

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
rclyde
  • 56
  • 7
0

timeout 5s tinycap -d 5 test.wav

volari
  • 1