raspberrypi/userland — pull request #124 by ethanol100 (2013-11-25 14:20:14+00:00)
Title: Split files when using a waitMethod like keypress or signal

An I-frame is requested each time the encoder is suspended. And the program is asked to segment the stream on reactivation. This enables to cut each video sequence to a new file.

Usage: raspivid -k -sp -o seq%d.h264