Replay buffer with webcam

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Replay buffer with webcam

xav12358
Hello,

I try to find solution for few weeks to record the n last seconds from a
camera.
I found that article :
Buffering
<https://gstreamer.freedesktop.org/documentation/application-development/advanced/buffering.html?gi-language=c>  

Does that Buffering fonctionnality in gstreamer can do what I expect?

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.

Can someone help me with that?

 




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Replay buffer with webcam

Tim Müller
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

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel