How to losslessly compress a sequence of slowly-changing images into a video?

216 Views Asked by At

I have a sequence of jpeg images captured like a timelapse, with the same dimension and changing slowly in order. I want to compress the size of the whole sequence while still able to recover each individual image with their raw pixel information unchanged.

I googled and found that a possible solution is to compress it into a video, which exploits the strong temporal correlation (inter-frame redundancy) between consecutive frames, as suggested here. I tried ffmpeg libx264 but none of the option combinations seem to preserve frame quality and compress total size at the same time (-crf 0 keeps the quality but the size of the video is even larger than the input sequence).

So my questions is,

  • What is the correct way to losslessly compress a sequence of slowly-changing images?

I can accept using softwares other than ffmpeg (as long as it is on windows or linux), doing color space conversion on raw images (if necessary). It is OK if a the compression is done without converting to videos. Thank you.

0

There are 0 best solutions below