Replay buffer with webcam

Tim Müller tim at centricular.com
Thu Aug 1 13:50:53 UTC 2019


On Thu, 2019-08-01 at 02:06 -0500, xav12358 wrote:

Hi,

> In fact I want to record the last few second and then to be able to
> stop the buffering and get a video a the n last second of my webcam. 

This example does something similar to what you want, if I understand
you correctly:

https://people.freedesktop.org/~tpm/code/test-backlog-recording-h264.c

Just replace videotestsrc with your camera source, e.g. v4l2src.

Cheers
 Tim
-- 
Tim Müller, Centricular Ltd - http://www.centricular.com



More information about the gstreamer-devel mailing list