TMPGEnc VBR. Accurate file size prediction.
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, 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.
3. SelectRangeEvery() is a function of mpeg2dec.dll.
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 filesCDRMPEG2DEC.dll")
Mpeg2Source("D:Trains_Plainsmovie.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.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 2 of 2
Thread
-
It is impossible to make anything foolproof because fools are so ingenious.
-
Sorry if this is silly...
# Paste your script in here.
#Thank You & Have a great Day! :)
reman
Similar Threads
-
TMPGEnc Maximum File Size for Authoring?
By cym in forum Authoring (DVD)Replies: 3Last Post: 26th May 2010, 01:55 -
mpg file size smaller than expected, TMPGEnc 2.5 VBR 2-pass mode
By chipsndukes in forum Video ConversionReplies: 1Last Post: 22nd Dec 2008, 20:48 -
File Size Limit With TMPGEnc Plus 2.5 or MPEG-2?
By RABinMS in forum Video ConversionReplies: 5Last Post: 10th Feb 2008, 14:30 -
Updated TMPGEnc
By avz10 in forum ComputerReplies: 4Last Post: 24th Jun 2007, 13:20 -
CBR vs VBR with same file size.
By PuzZLeR in forum Video ConversionReplies: 13Last Post: 18th Jun 2007, 01:47