Andrew Robinson wrote: > > I'm trying to create an mpeg movie from a sequence of jpegs shot with my > digital camera. Using section 4 of the Mjpeg How-To as a guide, I first > tried this command: > > convert *.jpg -geometry 180x120 ppm:- | ppmtoy4m | mpeg2enc -o result.m1v > > I got this result: > > INFO: [ppmtoy4m] Command-line Parameters: [...] > INFO: [mpeg2enc] Frame end 0 I quant=3.83 total act= 236.5 > Segmentation fault It would be interrresting to see which programm is failing.
> If I prod mpeg2enc for verbosity like this: > > mpeg2enc -v -o result.m1v > > I get this result: > > INFO: [ppmtoy4m] Command-line Parameters: > INFO: [ppmtoy4m] framerate: 30000:1001 > INFO: [ppmtoy4m] pixel aspect ratio: 1:1 > INFO: [ppmtoy4m] interlace: none/progressive > INFO: [ppmtoy4m] starting frame: 0 > INFO: [ppmtoy4m] # of frames: all, until input exhausted > INFO: [ppmtoy4m] chroma subsampling: 4:2:0, JPEG/MPEG-1, > interstitial siting > **ERROR: [mpeg2enc] Could not read YUV4MPEG2 header: bad header magic! > > At this point I don't know if the problem is software related, data > related, or user related. (A former colleague liked to say, "We've found > the problem. It's between the keyboard and the chair.") If I stop after > the ppmtoy4m command, yuvplay will successfully display the resulting file. So you did something like: convert *.jpg -geometry 180x120 ppm:- | ppmtoy4m >/dev/null If you only have a few frames make a yuv file, and start than mpeg2enc in a second step: convert *.jpg -geometry 180x120 ppm:- | ppmtoy4m >file.yuv cat file.yuv | mpeg2enc -o test.m1v So you should see which programm is failing. 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: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users