TMPGEnc VBR. Accurate file size prediction. Updated 3 OCT 2002. Most people encode a sample of a movie to ascertain visual quality and to estimate final file size. The problem is where to take this sample from, taking only one sample does not give a good overall view of the movie and does not give reliable size prediction. Simple explanation of the script: The script takes a x second sample, every x seconds of the movie, then splices them together. Brief, how to: (a) Use DVD2AVI to generate your d2v file. (b) Open the d2v file in FitCD, check and adjust settings if necessary, then save in FitCD to get your basic script. (c) Edit, copy and past your script and mine,(See note 1.) save as whatever.avs. (d) Open the avs file in TMPGEnc. (e) Check and view the source range in TMPGEnc, hit the default button, move to end frame, adjust the slider to an even minute mark, then set end frame. (f) Set TMPGEnc to encode - System (video only). (g) Encode test file. (h) Divide, encoded test file size by source range time, then multiply by full movie time. (i) Use a data rate calculator to establish audio only file size. (j) Add calculated video and audio files sizes together for full movie file size. (See note 2.) Notes: 1. Anything after a # is ignored by the program. 2. On an average, the final full movie file size is 5% smaller then estimated. Any comments, questions or suggestions are welcomed. Please feel free to test, modify and post your results. # Start of Script # # Paste your script in here. LoadPlugin("D:\Program files\CDR\MPEG2DEC.dll") Mpeg2Source("D:\Trains_Plains\movie.d2v") Crop(11,0,704,576) TemporalSmoother(2,2) BicubicResize(320,224,0.333,0.333,0,0,704,576) AddBorders(16,32,16,32) FadeOut(75) # PT = 20 # theoretically a higher number=greater accuracy. FR = round(Framerate) # frames per second. IL = (Framecount / FR) /PT # interval length. SL = 17 # sample length in frames. SelectRangeEvery(IL,SL) # # End of script.