On 2003.02.24 13:00 Bernhard Praschinger wrote:
Hallo
> I have two questions: > 1) I am trying to convert a couple of PAL MPEG VCD sequences to NTSC > VCD, and I would like to use the 'yuvfps' utility, which is included in > 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.
OK, you have suggested that I use 'yuvfps' to adjust the frame rate to the desired rate, then use 'yuvdenoise' to filter the sequence.
Doesn't 'yuvdenoise' filter the noise, with motion compensation, between adjacent frames only. So, it shouldn't care about the Frame rate. Correct?
If you stuff frames, the 'yuvdenoiser' will not detect any noise between duplicated frames. So, the filtering will only occur when the stream changes from a duplicate (stuffed frame) and a new (different) frame. While, the stuffed frames that are not at the frame boundary will propagate the image noise. I may be wrong, did I miss anything?
My concern is by performing the 'yuvfps' step before the 'yuvdenoise', you will only increase the CPU loading without any signal processing gain. I would like to perform the noise filtering (yuvdenoise) before the frame rate adjustment (yuvfps). Will this degrade my signal? Comments?
> 2) Should I use the "yuvycsnoise" filter? No, because it only help you if you have NTSC noise. If you have a PAL source it won't help.
OK
BTW: I hope you change the frame rate to 24FPS or 24000/1001 FPS.
Actually, I was using 30000:1001 for NTSC VCD. My DVD player likes it better then 24000/1001 FPS which causes it to occasionally freeze the video sequence.
BTW2: Start with converting only a few minutes. It could be that something is not working as you thought ;)
I am using the following sequence, and it appears to work. I just want to make sure this is O.K.
yuvdenoise -r 16 \
| yuvscaler -O SIZE_352x240 -v 1 -n n -M BICUBIC \
| yuvfps -v 2 -r 30000:1001 \
| mpeg2enc -v 1 -f 1 -r 16 -s -4 1 -2 1 --video-norm n --aspect 2 -o srv_video_fifo_1
------------------------------------------------------- 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