Page 1 of 1

Record mpeg vs images?

Posted: Mon Jul 25, 2016 1:58 pm
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

Re: Record mpeg vs images?

Posted: Mon Jul 25, 2016 3:22 pm
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?

Re: Record mpeg vs images?

Posted: Mon Jul 25, 2016 6:00 pm
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!

Re: Record mpeg vs images?

Posted: Mon Jul 25, 2016 7:17 pm
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??

Re: Record mpeg vs images?

Posted: Tue Jul 26, 2016 5:30 pm
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 :)

Re: Record mpeg vs images?

Posted: Wed Jul 27, 2016 12:50 am
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.

Re: Record mpeg vs images?

Posted: Wed Jul 27, 2016 9:34 am
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?

Re: Record mpeg vs images?

Posted: Wed Jul 27, 2016 10:02 am
by SteveGilvarry
https://github.com/ZoneMinder/ZoneMinde ... deostorage
Hit irc at least a couple in there that have or are running it.