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?
Asked
Active
Viewed 1,983 times
1 Answers
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