0

Suppose I run v4l2-ctl --stream-mmap=3 --stream-to=/dev/null, how to stop recording without pressing Ctrl+C for interrupt, from another shell console for example?

Delgan
  • 18,571
  • 11
  • 90
  • 141

1 Answers1

3

Unless they have added a better functionality, you will have to simply signal the process from outside.

Either v4l2-ctl ... & V4L2_CTL_PID=$! and kill -TERM $V4L2_CTL_PID

or maybe simply killall v4l2-ctl.

Raúl Salinas-Monteagudo
  • 3,412
  • 1
  • 24
  • 22