3
1
I am trying to compress many (up to 2,500) small (300x200 px) grayscale images so the file size is as small as possible. Currently, my bit depth is 4 (16 shades of gray). Image source is surveillance camera at a remote location, and we need to send images over a very slow satellite connection. I am using ImageMagick to convert images to 4 bit depth uncompressed grayscale TIFs. The uncompressed size of each image is around 41 KB. I am able to compress 1,500 of these images to 3MB with 7zip, which is about a 95% reduction. I have also played around with settings on zpaq, but still cannot get any smaller than 3MB. I know this seems small, but again the satellite connection is at kbps speeds and we pay by the minute for airtime.
Because this is a surveillance camera, the images do not change much between pictures, so I have also tried ffmpeg to convert them to a H.264 video, but file size is even larger (I believe this is because H.264 does not support grayscale, so RGB is still present).
Are there any better settings for zpaq that might give better results, or any other ideas?
Thanks in advance
What command did you try with ffmpeg? – Gyan – 2018-01-11T04:48:10.563
ffmpeg -i img%04d.tif -vf fps=30 -c:v libx264 -pix_fmt yuv420p out.mp4
– bdoyle159 – 2018-01-11T14:35:07.923