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?

Thanks.

Bo

_________________________________________________________________
All the action. All the drama. Get NCAA hoops coverage at MSN Sports by ESPN. http://msn.espn.go.com/index.html?partnersite=espn




-------------------------------------------------------
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

Reply via email to