VideoHelp Forum
+ Reply to Thread
Results 1 to 2 of 2
Thread
  1. 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.
    It is impossible to make anything foolproof because fools are so ingenious.
    Quote Quote  
  2. Member
    Join Date
    Nov 2001
    Location
    Florida USA
    Search Comp PM
    Sorry if this is silly...

    # Paste your script in here.
    Does my script go from below this point to the lone

    #
    Thank You & Have a great Day! :)
    reman
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!