Hi Cristian, djpeg and ppmtoy4m can be used as an alternative for jpeg2yuv:
djpeg 20070225_2710.JPG | ppmtoy4m -r -n 200 -F 25:1 | y4mscaler -I sar=1:1 -O preset=DVD -O infer=PRESERVE_X -O infer=EXACT | mpeg2enc -f 8 -o photo2.m2v Gert [EMAIL PROTECTED] wrote: > Hello Gert, > > thank You for the fast answer, that might really be my problem, most of my > fotos come from a 3.4megapixel-camera which produces JPEGS arround 1MB > depending on the contets of the picture probably the pictures which drop out > are just too big. > Does mjpegtools contain a tool to resize JPEGs to a smaller number of pixels > before they are handed to jpeg2yuv, or wich other linux-commandline-tool is > capable of doing this job in a batchconversion ? > > beye > > chriwi > > > > >> Op Ma, 12 maart, 2007 10:16 am schreef [EMAIL PROTECTED]: >> >> >>> jpeg2yuv -v0 -f25 -n1 -Ip -j<jpeg>.jpg | yuvscaler -v0 -OSIZE_720x576 2> >>> /dev/null | >>> mpeg2enc -v0 -a2 -np --cbr -b10000 -D8 -f3 -o <jpeg>.mvi >>> >>> from mjpeg-tools >>> >>> It works fine only for about one out of 5 pictures I got an errormessage >>> like: jpegdata ended unexpectedly and the mpeg2-File contains only the >>> upper portiohn of the picture the rest is gray, all the JPEGSs can be >>> shown with several different viewers under Windows and Linux without any >>> problems. Why mjpegtools does not process these JPEGs properly? Or if they >>> really are corrupt, why can the viewers show them correctly? Is there any >>> tool to fir such JPEG-files that they will be accepted by mjpegtools? >>> >>> >>> >> Is the file size of those pictures bigger then 1310720 bytes? >> The size of the picture you can use for jpeg2yuv is max 1310720 bytes: >> http://www.mail-archive.com/mjpeg-users@lists.sourceforge.net/msg06780.html >> >> Gert >> >> >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share your >> opinions on IT & business topics through brief surveys-and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> Mjpeg-users mailing list >> Mjpeg-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/mjpeg-users >> > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Mjpeg-users mailing list > Mjpeg-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mjpeg-users > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users