>jpeg2yuv -n 1 -f 25 -I p -j original_photo_file.jpg | \
> y4mscaler -I sar=1:1 -O sar=PAL -O size=720x576 -O chromass=420_MPEG2 -S
> option=sinc:6 | \
> mpeg2enc -q 4 -f 8 -I 0 -4 1 -2 1 -D 10 -h -o output.m2v
>
> Note: if you get the sample aspect frame size correct then you
> do not need to give "-a 2" or "-n p". Having to give those
> options really means the input stream isn't 100% correct
> and you're overriding mpeg2enc's protests/warnings.
(Another 1.3 cents to add to the pot:
o Older versions of jpeg2yuv did not convert the "graphics Y'CbCr"
colorspace to the "video Y'CbCr" colorspace. Make sure yours
has the (apparently undocumented in manpage) "-R" option, and
make sure that it is active.
o Assuming that jpeg2yuv is producing a stream with PAL framerate
(i.e. 25 fps), the y4mscaler line can just be:
y4mscaler -I sar=1:1 -O preset=dvd -S option=sinc:6
)
-matt m.
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users