On Mon, 10 May 2004, Dan Scholnik wrote:

> You might even try running y4mspatialfilter before and after y4mdenoise
> in case the latter introduces any high-frequency artifacts.

        Ok - this I have done.  On the particular video being used (capture
        from a VHS tape) using a 2nd y4mspatialfilter after y4mdenoise
        saved about 3% on the average bitrate.  

        The numbers (Average/Peak, I framesize in bytes, P framesize in bytes,
        no B frames were generated).

Raw (no filters):     5283/9014 52978 19797
y4mdenoise only:      4030/9067 48424 14523

y4mspatialfilter+
   y4mdenoise:        3344/9136 45951 11633

y4mspatialfilter+
   y4mdenoise+
   y4mspat:           3224/9128 45510 11129

        The pipeline ends up looking rather large (some might say "ugly" ;))
        but a dual G5 system didn't seem to mind ;)

smil2yuv -i 2 -a $N.wav -i 2 $N.smil | \
     y4mshift -n 0 -b 8,0,704,474 | \
     y4mspatialfilter -L 5,0.75,4,0.75 -C 3,0.5,3,0.5 | \
     y4mdenoise -t 4 | \
     y4mspatialfilter -L 5,0.75,4,0.75 -C 3,0.5,3,0.5 | \
     y4mscaler -v 0 -O size=704x480 -O sar=src -O chromass=420_MPEG2 | \
     bfr -b 20m -T 70 | \
     mpeg2enc -b 8000 -K kvcd -q 4 -2 1 -D 10 -M 2 -E -10 -c -f 8 -o $N.m2v

     (the y4mshift is used to black out the VCR junk at the bottom of the
     screen - yes, y4mscaler could have done the same thing but the script
     was a cut&paste job from odds&ends laying about).

     I'm in the process now of encoding a couple really poor tapes (EP mode
     VHS) and so far y4mdenoise assisted by y4mspatialfilter is doing a 
     splendid looking job.   

     Cheers,
     Steven Schultz



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to