HAllo > I am interested in lavtools to convert AVI files in mjpeg format into JPEG > files. After I download the mjpegtools-1.6.2, I found there is a minor bug: > > The function int check_YUV420_input(lav_file_t *lav_fd) in lav_io.c, local > variable > double len = 0; > should be declared as > int len = 0; > > Also, I am a bit disappointed because it seems lavtrans.c only dump 00dc > chunk as JPEG image. In my AVI file created from a Canon digital camera, > although the 00dc chunk is in JPEG image format, the dumped JPEG image can > not be viewed by any JPEG viewer. I check the 00dc chunk and it seems to be > the first Quantization Table (DQT) uses precision 0 and read 64 bytes data, > the 2nd table uses precision 1 and read 128 bytes data, but the total size > of DQT section is only 132, so the JPEG decoder don't think this is a valid > JPEG file. Anyone can help me with this problem? Please read that thread: http://sourceforge.net/mailarchive/forum.php?thread_id=3795216&forum_id=3248
As a workaround you can create ppm images and with convert that images afterwards into jpeg: > lav2yuv -f 1 stream.avi | y4mtoppm -L >file.pnm auf hoffentlich bald, Berni the Chaos of Woodquarter Email: [EMAIL PROTECTED] www: http://www.lysator.liu.se/~gz/bernhard ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users