FFmpeg get buffer x seconds

Examples and samples for those who develop software with FFmpeg.
Post Reply
postigex
Posts: 1
Joined: Mon Sep 10, 2018 1:52 pm

FFmpeg get buffer x seconds

Post by postigex » Mon Sep 10, 2018 1:55 pm

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?

Post Reply