HI everyone I think I must be doing something silly: every time I try to pipe the output of either png2yuv or ppmtoy4m into mpeg2enc, mpeg2enc complains:
ERROR: [mpeg2enc] Could not read YUV4MPEG header: bad stream or frame header! Command lines: png2yuv -f 25 -I b -n 1 -L 1 -j foo.png | \ mpeg2enc -f 8 -o output.mpg silence.m2a pngtopnm foo.png | ppmtoy4m -n 1 -F 25:1 -I b -A 59:54 -L | \ mpeg2enc -f 8 -o output.mpg silence.m2a The size of foo.png is 720x576. As far as I can tell this *should* work, but it doesn't seem to. I'm using an mjpegtools CVS snapshot from 1 Feb 2005. The problem appears to be in the output from png2yuv and ppmtoy4m since both programs appear to be reporting successful completion. There are numerous references out there which indicate the above should work. Any ideas as to what I'm doing wrong? Regards jonathan ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users