I left out one key line in the script. After reading the YUV4MPEG2
header the skip1 function needs to use 'cat' to pass the rest of the
data thru:
------------------
#!/bin/sh
JPEG2YUV="jpeg2yuv -v 0 -n 30 -I p -f 29.97 -l 60"
skip1()
{
read junk
cat
return 0
}
($JPEG2YUV -j photo0.jpeg; \
$JPEG2YUV -j photo1.jpeg | skip1; \
...
$JPEG2YUV -j photoN.jpeg | skip1) | \
mpeg2enc -f 8 -b 6000 -n n -o sequence.m2v
mplex -v 0 -f 8 -o video%d.mpg sequence.m2v audio1.m2a
--------------------
I did this same type of thing when I had an hour long capture but
various sections required different 'yuvdenoise' and 'y4mshift'
options. I used a 'smil2yuv -c N | yuvdenoise | y4mshift' pipeline
in place of the JPEG2YUV line above - the result was a seamless
.m2v file but with each chapter processed uniquely.
Cheers,
Steven Schultz
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users