PDA

View Full Version : Incorrect framenumber count


Movieslut
21st December 2001, 10:56
I've made an avs using fitcd for frameserving to cce. I'm using a 3 pass encoding where during the 1st run the correct number of frames is reported; 88793. Now, during the 2nd and 3rd pass framecount suddenly changed to 266793.
Anyone has seen this before? This is my script:

LoadPlugin("C:\WINDOWS\SYSTEM\MPEG2DEC.dll")
AviSource("D:\Mickey's Magical Christmas - Snowed In At The House Of Mouse\esd-mmc.avi")
BicubicResize(448,542,0,0.6,2,0,508,384)
#TemporalSmoother(3,5)
AddBorders(16,17,16,17)
AssumeFPS(25.000)
#Trim(0,88793).FadeOut(150)

Btw, if I unremark TemporalSmoother Avisynth reports that this is an unknown function....how do I get that one to work?

Any help is very welcome :rolleyes:

Kedirekin
21st December 2001, 13:48
I think this must not have occurred to you (and I believe you have a typo).

3*88793 = 266379

The first pass is a pre-pass to create the vaf file. After that, the 3-pass encoding pass starts, and it will show 3 times the number of frames in the movie (4-pass will show 4 times, 5-pass 5 times, an so on).

Kedirekin
21st December 2001, 13:51
Oh, and AFAIK the TS filter only works with YUV input. AviSource is RGB. Put a ConvertToYUY2() call immediately before the TS call. Beware, this will slow things down a tad (of course, TS will slow it down even more).

Movieslut
21st December 2001, 15:30
K, tnx for the info