digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   KVCD: File Size Prediction with FitCD? (http://www.digitalfaq.com/archives/encode/1855-kvcd-file-size.html)

Jellygoose 12-16-2002 11:16 AM

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--------------------------###

kwag 12-16-2002 12:22 PM

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

muaddib 12-17-2002 01:54 AM

Re: File Size Prediction w/ FitCD...
 
Quote:

Originally Posted by Jellygoose
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...

If it's using the 100/1sec clips, then you could "trim" at the end of the process.
Try adding this line at the end of your script: Trim(0, SL*100)

Jellygoose 12-17-2002 10:07 AM

thanks guys... both worked, but i think muadibbs solution is the easier way... :D


All times are GMT -5. The time now is 08:18 PM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.