>> the CVS version of MJPEG tools. Where should the 'yuvfps' utility fall >> in the YUV filter chain ? >> >> yuvfps -> yuvmedian -> yuvdenoise -> yuvscaler >> >> or >> >> yuvmedian -> yuvdenoise -> yuvscaler -> yuvfps > >I would use: ... -> yuvfps -> yuvdenoise -> yuvscaler -> ... > >You usually do not need yuvmedianfilter any more. >yuvdenoise checks the differnence between the frames, so you should have >the needed frame rate before you change the frame rate. The scaler can >come at laste because it introduces no noise.
Er, shouldn't yuvfps come after yuvdenoise? In the "increasing framerate" case, yuvfps is simply duplicating frames. If yuvdenoise uses interframe differences in its filtering --- i.e. frame-to-frame changes are part of its noise model --- then duplication of frames will make noise look like signal. Conversely, in the "reducing framerate" case, yuvfps drops frames; I imagine this might enhance the noisiness to yuvdenoise. For the filters/tools which operate on each frame independently, the position of yuvfps should have no effect. However, if yuvfps is dropping frames, putting it earlier in the chain will result in less wasted cycles. Conversely, if yuvfps is duplicating frames, putting it later in the chain will reduce the rush of our universe towards heat death. Furthermore, if yuvfps is simply duplicating/dropping whole *frames*, it will probably give questionable results for interlaced streams. (I've never tried it myself, though.) Definitely, any deinterlacing (e.g. via yuvdenoise) should come before yuvfps. In general, it is always best to do noise removal first --- any good denoising algorithm is going to be tuned to a particular noise source, and the more processing you do between the source and the denoising, the more the noise gets mixed up with your actual signal.... -matt m. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users