>here is the line I am using > >cat *.ppm | ppmtoy4m -F 18000:1000 -L | y4mscaler -I sar=1:1 -O size=720x576 >-O chromass=420_MPEG2 -O sar=PAL | yuvdenoise -b 20,20,680,536 -r 16 -t 2 -c >80 -F -L 160 | mpeg2enc -r 16 -I 0 -B 96 -g 6 -G 15 -a 1 -H -4 2 -2 1 -F 2 -f >8 -M 2 -p -o test_pulldown.mpeg > >Or either using yuvfps ? >Any suggestion welcome
Well, no suggestions for your framerate stuff, but for the rest... In general, unless you have a very specific need, don't specify options which override input-stream parameters. The "-I sar=1:1" to y4mscaler is unnecessary --- the correct SAR will be read from the stream which ppmtoy4m creates. (And if that SAR is incorrect, change it by the '-A' option to ppmtoy4m --- i.e., -fix- the source, instead of -overriding- the source.) Same goes for mpeg2enc's "-a 1", "-F 2", and "-I 0". For y4mscaler, you could use "y4mscaler -I norm=PAL -O preset=DVD", and the 'norm=PAL' is only necessary because of the weird framerate. (If it were 25fps, y4mscaler would decide that it's PAL.) If you want to use the 704x576 framesize, (until I make a preset option for it) you could do "y4mscaler -I norm=PAL -O preset=DVD -O size=704x576" The "-O size=" will override the size set by the preset; actual bounds/cropping/etc calculations aren't performed until all of the arguments are processed (and later arguments overwrite earlier ones). -matt m. ------------------------------------------------------- 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