<div dir="ltr">Hello,<div><br></div><div>I would like to implement a pre-motion event capturing in an IP camera.</div><div><br></div><div>For this purpose I need the stream to be always collected in a circular buffer and then when a motion is detected the stream data should be saved into an mp4 file and it should contain the video of the last 10 seconds before the event and the next 10 seconds after the event.</div><div><br></div><div>Please let me know what is the best approach to implement this functionality.</div><div><br></div><div>Thanks,</div><div><div class="gmail_signature"><div dir="ltr"><div dir="ltr"><div style="font-size:small">Nir Haroosh<br></div><div style="font-size:small"><br></div><div style="font-size:small"><br></div></div></div></div>
</div></div>