Record mpeg vs images?

Forum for questions and support relating to the 1.29.x releases only.
Locked
eld101
Posts: 13
Joined: Tue Jul 19, 2016 11:22 am

Record mpeg vs images?

Post by eld101 »

I am currently recording a few RTSP streams (via ffmpeg), and I noticed that ZM stores separate images for each frame vs an actual mpeg. Is there any way to change this? Filling up space FAST with high resolution....

Thank you in advance!
Eric
eld101
Posts: 13
Joined: Tue Jul 19, 2016 11:22 am

Re: Record mpeg vs images?

Post by eld101 »

After a few hours of streaming, I have pulled in 13 GB on my NIC, but stored 171GB.... I assume this is due to the loss of compression of the mpeg stream?
mikb
Posts: 678
Joined: Mon Mar 25, 2013 12:34 pm

Re: Record mpeg vs images?

Post by mikb »

Quite likely. You are effectively comparing MPEG (with intra-frame compression) with MJPEG (with NO intra-frame compression). Things get bigger!

Also 13GB on the NIC = 13GB of "RTSP" data, which could be even better compressed than your example MPEG, so an even bigger discrepancy in size!
eld101
Posts: 13
Joined: Tue Jul 19, 2016 11:22 am

Re: Record mpeg vs images?

Post by eld101 »

Ive thought about some type of batch job that follows and converts the images to a mpeg, but that would likely break a while lot internally to ZM.... Has anyone come up with some type of workaround??
mikb
Posts: 678
Joined: Mon Mar 25, 2013 12:34 pm

Re: Record mpeg vs images?

Post by mikb »

ZM can already convert the .JPGS to a movie, check out the "Filters" options, one of which is "convert to movie".

Of course, if you do this for EVERY event you will find that you a) eat a lot of processor time, and b) eat even more disk space as you'll have the JPGs *and* a movie as well :)
SteveGilvarry
Posts: 494
Joined: Sun Jun 29, 2014 1:12 pm
Location: Melbourne, AU

Re: Record mpeg vs images?

Post by SteveGilvarry »

We have an experimental branch around h264 storage, that saves h264 cameras direct to disk, and can encode other cameras into h264 for storage.
Production Zoneminder 1.37.x (Living dangerously)
Random Selection of Cameras (Dahua and Hikvision)
eld101
Posts: 13
Joined: Tue Jul 19, 2016 11:22 am

Re: Record mpeg vs images?

Post by eld101 »

SteveGilvarry wrote:We have an experimental branch around h264 storage, that saves h264 cameras direct to disk, and can encode other cameras into h264 for storage.
I am very interested about this..... Where can I get some more information on it?
SteveGilvarry
Posts: 494
Joined: Sun Jun 29, 2014 1:12 pm
Location: Melbourne, AU

Re: Record mpeg vs images?

Post by SteveGilvarry »

https://github.com/ZoneMinder/ZoneMinde ... deostorage
Hit irc at least a couple in there that have or are running it.
Production Zoneminder 1.37.x (Living dangerously)
Random Selection of Cameras (Dahua and Hikvision)
Locked