Hello, On Sat, 8 Feb 2003, Laurent Pinchart wrote: > I've been asked today by my boss to see if I can find a way to get software > MJPEG encoding for PAL-size (768x576) RGB images at a double real-time rate > (50fps). > > 1) I have absolutely no idea if 50fps is very high or quite reasonable, and I > can't find many benchmarks of libjpeg and other open-source jpeg libraries, > so I'd like to know if one of you have more experience with MJPEG encoding > performance and could share his/her experience with me. Well, the fastest realtime encoder that I know of exists in mplayer, see libvo/jpeg_enc.c and libvo/vo_zr.c in the mplayer source tree, it uses routines from libavcodec (ffmpeg.sf.net) and takes YV12 or YUV422 data and produces (possibly interlaced) jpeg images (for RGB, a colorpspace conversion is needed). On my Athlon XP 1800+ it can encode at >25fps (because I am able to view fullscreen DVD's without framedrop in mplayer using the zoran output driver)
You can also try the mjpeg encoder in libavcodec itself (not sure of the capabilities), it should be pretty fast. Greetings, Rik. -- Nothing is ever a total loss; it can always serve as a bad example. ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users