3

I know how to use the -h option, I just don't see any commands to start video capture with file incrementation unless I press the video capture button.

What is the command line to start video capture guvcview using filename incrementation.

The option -n, --video=FILENAME Video File name (capture from start) will start video capture, however, the filename is overwritten unless the gui capture button is used.

mchid
  • 44,904
  • 8
  • 102
  • 162

1 Answers1

4

In order to run guvcview capture from command line you need to send a SIGUSR1 signal to the running application. First start it:

guvcview --no_display -n capture_file.avi

Then from a second shell window type the following:

killall -s USR1 guvcview

This will start a video capture and save the file in the current directory. You need to combine these 2 lines into a shell script if you want to run it automatically. Information from guvcview output:

GUVCVIEW Signals:
SIGUSR1: Video stop/start capture
SIGUSR2: Image capture
SIGINT (ctrl+c): Exit
cioby23
  • 2,535