Compress 10 to 20 highly redundant images using a compression library?

I am going to generate images once a minute or so from a low resolution camera. I would like to take 10 to 20 images and compress them for transmission over a channel with limited bandwidth. I looked at using x264, but it feels like a kill.

Given that my images are 320x240, with a high level of redundancy between frames, what would be the best way?

Encoding does not have to be particularly fast, the more it finds a balance between difficulties when deploying on an embedded device and reducing the overall file size.

I will have full control over the viewing software, so using a modified version of some compression scheme will be fine.

I will use freeRTOS

+3
source share
4 answers

Is there a libavcodec port for this device? I think it has a built-in h.264 encoder. I don't think h.264 is crowded.

Define limited bandwidth. If you have enough bandwidth to transmit 1 bit per pixel (it will be 160 bytes per second at a frequency of 1 frame / min), you do not need to go beyond jpeg. If you have even less, then temporary compression is guaranteed (some kind of MPEG).

0
source

- JPEG. M-JPEG. , . , .

+1

x264 overkill? , - , , H.264, JPEG.

0

H.264 , , , . (, , ) ffmpeg, , ffmpeg 150 . .

, , IJG . ( , .

JPEG. , JPEG .

Before you perform porting, you should simply check if redundancy really helps to reduce the transmission speed.

0
source

Source: https://habr.com/ru/post/1771606/


All Articles