KVCD: File Size Prediction with FitCD?
Hi all...
When I put the file size prediction into the FitCD Script, using the modified version, the source range thing doesn't work... In TMPGEnc, it still wants to encode the full movie, and not only 100 seconds... It uses the 100 1 second clips, but after that still continues to encode black screen... here's my script : LoadPlugin("C:\Programme\DVD2SVCD\MPEG2Dec\MPEG2DE C.dll") AviSource("E:\von Stefan\Snatch ger.avi") BilinearResize(448,414,9,0,622,360) TemporalSmoother(2,1) AddBorders(16,81,16,81) #Trim(0,147597).FadeOut(150) ConvertToRGB24 # For TMPGEnc or VFAPI #ResampleAudio(44100) # CCE 2.5 'crashfix' for Athlons #== If you want this 'fix' permanently, edit the INI-file: #== Under [AVSscript] set CCEcrashfix=1 ###--------------------- Start Of File Size Prediction ----------------------### IL = Framecount / 100 # interval length in frames SL = round(Framerate) # sample length in frames SelectRangeEvery(IL,SL) ## MPEG size = ((Total frames/Framerate)/100) * (MPEG sample file size * .95) ## ###------------------------End File Size Prediction--------------------------### |
Maybe FitCD is bombing out trying to read the frames from your .avi file. Try to manually put in the number of frames of your movie. Take the play time in minutes and multiply it by 60 and multiply again by your frame rate to get total of frames. Then manually change your script to read:
IL = Put_Your_Calculated_Frames_From_Above_Here / 100 # interval length in frames SL = round( Put_Your_AVI_Frame_Rate_Here ) # sample length in frames SelectRangeEvery(IL,SL) -kwag |
Re: File Size Prediction w/ FitCD...
Quote:
Try adding this line at the end of your script: Trim(0, SL*100) |
thanks guys... both worked, but i think muadibbs solution is the easier way... :D
|
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.