>> Does anybody have scripts/tools they use to do this?  It is possible,
 >> right?
 ...
 >      Off the top of my head ("finger memory") you'll want the latest
 >      y4mscaler (0.6.1), a recent (preferably cvs) mpeg2dec (decoder) and
 ...
 >      I'd recommend scaling down from 480x480 to 352x480 rather than up
 >      to 704x480.
 >
 >      It goes something like this:
 >
 >mpeg2dec -s -o pgmpipe input.mpg | pgmtoy4m -i t -a 15:11 | \
 >   y4mscaler -S option=sinc:8 -O sar=20:11 -O size=352x480 | \
 >   mpegenc -f 8 -E -8 -K tmpgenc -4 2 -2 1 -o output.m2v
 >
 >      I think I got it right - SVCDs have a SAR of 15:11 but the 1/2 DVD
 >      size would have a SAR of 20:11.   Matt? ;)

Yes, and the new "-O preset=CVD" will take care of all of that, i.e.:

    y4mscaler -S option=sinc:8 -O preset=CVD


-matt m.


ps:  mpeg2dec doesn't dump directly to a YUV4MPEG2 stream?

     That is unfortunate --- the chroma subsampling in pgmtoy4m is a simple
     linear kernel, and who knows what kind of chroma supersampling is used
     in mpeg2dec.  (And, this process adds an unnecessary roundtrip step of
     Y'CrCb -> R'G'B'-> Y'CrCb.)


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to