On Mon, 20 Sep 2004, Derek Fountain wrote: > I'm using a tuned version of the 3 pass lav2avi.sh script which basically > does: The MPlayer/mencoder developers have deprecated (and highly discourage the use of) the 3 pass method and recommend the use of the 2 pass method. The lav2avi.sh script hasn't been updated/rewritten.
> lav2wav ... & > lav2yuv ... | mencoder ... > lav2yuv ... | mencoder ...vpass=1... > lav2yuv ... | mencoder ...vpass=2... > > I wanted to put a denoise step in there. The options seem to be, > 1) stick a denoise on each lav2yuv step and do the denoise 3 times That'd work but the first pass is primarily audio encoding and frame counting so it's not necessary to put a denoising (or any other video filtering) step in the first pass. > 2) stick a denoise on the last lav2yuv step and hope it doesn't screw the 2 > video passes too much That also would work fine and would be a lot faster than denoising 3 times. > 3) make a separate (and enormous) yuv file That's what I've done at times when I'm going to be making multiple encodings (varying the video bitrate, etc). > 4) denoise and put the resultant yuv through yuv2lav to get back to a sensible > file I can put into mencoder 3 times. > (4) seems the most reasonable idea. Is that right, or did I miss something > more obvious? It sounds like (4) is a variation of (3) - creating a denoised yuv file that gets put thru mencoder multiple times. 5) Skip the multi-pass method completely and just do it in one pass. I've never found the improvement between the 1 and 2 pass methods to be visibly impressive. Just calculate a bitrate based on the desired size and elapsed time and use that value for the 'vbitrate'. 6) Use the hqdn3d denoising filter in mencoder. I don't think it's as effective as yuvdenoise but it might well be "good enough" for your needs. Good Luck! Cheers, Steven Schultz ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users