>I tried to use jpeg2yuv tools to convert sequence of JPEG files to MJPEG >(motion JPEG) avi movie. All works fine but I have had a quality loss >because of recompression of JPEG images. ... >Could somebody write me how to make MJPEG AVI from a list of JPEG files >without image recompression ? Does mjpeg library API alow to solve this >problem using C language?
You can't. JPEG graphics files and MJPEG movie streams use different colorspaces. The only way to properly convert one to the other is decompress and recode each pixel. (Yes, there are ways to take the compressed frame from the JPEG and stick it into an MJPEG wrapper --- but the black levels and contrast will be off as well as the color. JPEG 'black' and 'white' pixel values are technically illegal in the MJPEG encoding, as well. I consider that a worse loss of quality.) -matt m. ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users