2

raspivid has these options to cycle between capture and pause:

-s, --signal    : Cycle between capture and pause on Signal
-k, --keypress  : Cycle between capture and pause on ENTER

Suppose I use the -k option. After pressing Enter a number of times, I lose count. So how do I tell whether raspivid is now capturing or paused? I could monitor the file size of the output file, but that feels a bit dirty, especially if I also use the -sg option to segment the recordings.

Kal
  • 123
  • 4
  • 1
    I haven't used this option before and I don't have a Pi next to me right this second. The docs say that adding the verbose option, -v, displays a prompt for user input during keypress mode (-k). I don't know what'll be in the prompt. Could you test it? – goobering Jul 14 '16 at 16:38
  • @goobering The -v option indeed adds status update messages to the console output. Very useful. Thanks. – Kal Jul 15 '16 at 01:59

1 Answers1

1

Per the comments below the question, when raspivid is started using both the keypress option (-k) and the verbose option (-v), the user is provided with an on-screen prompt which allows the user to distinguish between capturing/not capturing modes.

goobering
  • 10,730
  • 4
  • 39
  • 64