On Fri, 7 May 2004, Canek [ISO-8859-1] Pel�ez Vald�s wrote:
> I'm recording at 352x480/29.97 fps, Quicktime mov using XawTV's
> streamer. I convert the video to YUV4MPEG using transcode, and then I
> use this to generate the MPEG:
It may be possible to save a bit of processing during the above
stage. If you have libquicktime then mjpegtools may be able to
read the Quicktime mov files directly.
> | yuvdenoise -F | \
> mpeg2enc -f 9 -n n -F 4 -a 2 -I 0 -q 4 -4 1 -2 1 -H -o movie.m2v
The quality difference between '-4 1' and '-4 2' is extremely small
but the processing time is much larger. You can speed up the
encoding by almost a factor of 2 by using '-4 2'.
> has jagged draw lines, and the colors (which in cartoons generally must
> be uniform) has a kind of "texture" that I don't like.
>
> I want the following, and I'm not sure if this is possible with mpeg2enc:
>
> 1. Antialias (or something similar) for the draw lines in cartoons.
> 2. Uniform colors; again, just in cartoons.
> This is possible with mpeg2enc or some of the yuv* tools?
You may be able to achieve partial #2 by using the 'yuvmedianfilter'
program on the chroma only. Something like "yuvmedianfilter -t 0"
(which disables the luma processing) may improve the colored areas.
Perhaps some experimentation with the '-T' (chroma threshold) will
also be of benefit.
Another tool that is effective at reducing noise is the
'y4mspatialfilter' (only in the CVS version of mjpegtools). For
VHS material (which is very bandwidth limited compared to DVD,
laserdiscs, DV camcorders) the command "y4mspatialfilter -L 5,0.75,4,0.75"
is very effective at removing high frequency "noise" that could not
possibly be video data from a VHS source.
Yet another program that's in the CVS version of mjpegtools is another
denoising program - 'y4mdenoise'. The tests I have done with VHS
data showed the program to be very effective _AND_ also producing a
more "solid"/"uniform" image. One of these days I'll summarize my
results and post them. You may want to experiment with 'y4mdenoise'
and see if it does some of what you're asking for.
Cheers,
Steven Schultz
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users