scottlamb / moonfire-nvr

Moonfire NVR, a security camera network video recorder
Other
1.22k stars 137 forks source link

Exporting footage as a single mp4 file #127

Closed piedoom closed 3 years ago

piedoom commented 3 years ago

I looked through this bit of the schema.md. The link labeled "below" seems broken, I think maybe it should link here?

That file mentioned exporting, so I am wondering if Moonfire has a way to export footage to a single file - and if not - if that is something within the scope of this project. Thanks!

edit: I see that setting max duration to infinite basically does this, so closing.

(Omitted N/A fields)

scottlamb commented 3 years ago

I'll fix the anchor link; thanks for pointing it out.

edit: I see that setting max duration to infinite basically does this, so closing.

Yeah, with that option the UI will let you make a single .mp4 file that is arbitrarily long. It has to be a contiguous stream of recording—no disconnects. And it has to be the same camera. Those are UI limitations; within the code, mp4::FileBuilder will let you splice together your whole database.