Page 1 of 1

FFmpeg get buffer x seconds

Posted: Mon Sep 10, 2018 1:55 pm
by postigex
Hello good afternoon I need help developing a bit of code that will allow me, using a capture card, to record events to a folder. What I intend is to connect the capture card to an external camera and have a script that puts in memory the last 30 seconds of the video, continuously. After that, when I run another script, it saves those 30 seconds on the disk in a folder. Is there any way I can do this with ffmpeg?