I'm having the same issue as this recent thread:

splitting an MJPEG to a series of JPEGs
http://sourceforge.net/mailarchive/message.php?msg_id=13190010

I have a Canon camera with MJPEG AVIs and when I ran the command:

$ mkdir pics; lavtrans +n -o pics/t%05d.jpg -f i mvi_1434.avi

I get jpegs images that I cannot view (with display, gqview, firefox, gimp, etc). Apparently because there is no huffman table or it is empty?

Christopher mentioned:
So the approach I end up using is to first translate the MJPEG to a YUV stream, transform these to PNMs, then transform the PNMs to JPEGs:

bash% lav2yuv +n MVI_1704.AVI | y4mtoppm | pnmsplit - image%d.pnm

This is cludgy (but thanks Chris!) but is there a quick way to get these pnm's 
into jpg format again that are actually viewable?  An good way to bath process 
this on the CLI besides a for loop and ppntojpeg?

Thanks - Brian



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to