|
-
June 16th, 2011, 04:20 AM
#1
Real-time compression of image data
Hello,
I ran into the problem that the jpeg compression by means of JPEGLIB lasts too long, so that a real-time compression is not possible.
My task is to capture video frame via an USB camera, compress the incoming frames on the fly and pass the compressed image frame further to the upper layers of my application.
I tried to do so with the openSource library "JpegLib". However, if the frame dimension is 756x480 pixels ( about 1 MByte raw data) and the capture speed is 30 fps ( means each 33 ms a new frame arrives), then the compression duration should be below 30ms. The compression duration with default compression setttings and quality factor 100 is about 40 ms.
This means that the latency will grow with time or even some data will be lost.
Do you know how to increase the compression speed in the JpegLib? May be tuning some parameters? If it is not possible with JpegLib, then could you please suggest me a faster library?
Thank you for responses in advance.
best regards
vanselm
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|