> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Matto Marjanovic > Sent: woensdag 21 juli 2004 0:45 > To: [EMAIL PROTECTED] > Subject: Re: [Mjpeg-users] Mpeg2enc quality? > > > >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.
Apparently my version does not recognize the -R option. Where can I download the latest version (preferably for Windows). Another question: is there a way to directly convert a BMP file to YUV4MPEG instead of first converting that BMP to JPEG and then using jpeg2yuv? > > 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 I scaled the images with an external program to 720x576, so no need for y4mscaler. Regards, Marc Gregoire ------------------------------------------------------- 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