Page 1 of 1

Should I be able to export mpegs rather than mjpeg?

Posted: Sun Jun 01, 2008 11:23 pm
by FuriousGeorge
I'm a little confused by zoneminders export feature. It exports a bunch of jpegs, but I'm not sure if that is the correct behavior.

I see in the settings where I specify a path to ffmpeg, so I'm assuming the point is to export mpegs rather than each frame in the form of a jpeg.

I don't see any errors in my logs.

Is it possible to export mpegs or is mjpeg my only option?

Posted: Mon Jun 02, 2008 5:36 am
by cordel
ZM does jpeg natively. If you create a video for an event you can export that as well but you have to create the video before you export.

What I normaly do is create a filter for any archived events to create a video, that way the events I am interested in are marked archived and there for the purgewhenfull filter will not delete them, and the video is created automaticaly and ready in a couple minutes after I archived the event. Then you can export any combination that you want.

All video in ZM is stored as jpeg snapshots. Mpeg does not have the ability to store the detail that jpeg can.You can find plenty of information on both standards on wikipedia if your curious. It would also be sinceless to have both forms available as it just takes up more space to retain both for every event.

Posted: Mon Jun 02, 2008 8:22 am
by FuriousGeorge
That makes sense.

As I understand it, you've set up a filter to automatically create a video when you archive an event. You can then export that video, and the event will be protected from the Purge filter.

If I got it wrong, let me know.