Quantcast KVCD: File Size Prediction with FitCD? - digitalFAQ.com Forums [Archives]
  #1  
12-16-2002, 11:16 AM
Jellygoose Jellygoose is offline
Free Member
 
Join Date: Jun 2002
Location: Germany
Posts: 1,288
Thanks: 0
Thanked 0 Times in 0 Posts
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--------------------------###
__________________
j3llyG0053
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
12-16-2002, 12:22 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #3  
12-17-2002, 01:54 AM
muaddib muaddib is offline
Free Member
 
Join Date: Jun 2002
Location: São Paulo - Brasil
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts
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)
Reply With Quote
  #4  
12-17-2002, 10:07 AM
Jellygoose Jellygoose is offline
Free Member
 
Join Date: Jun 2002
Location: Germany
Posts: 1,288
Thanks: 0
Thanked 0 Times in 0 Posts
thanks guys... both worked, but i think muadibbs solution is the easier way...
__________________
j3llyG0053
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
KVCD: Wrong sample size in file prediction? Big_Peb Video Encoding and Conversion 11 05-24-2003 03:09 PM
FitCD File Size Prediction Paul0889 Avisynth Scripting 2 12-21-2002 01:03 AM
KVCD: Problem With File size prediction twobit326 Video Encoding and Conversion 10 12-02-2002 10:17 PM
KVCD: NoMoSmooth() and file size prediction? Daagar Video Encoding and Conversion 5 11-17-2002 04:55 PM
FitCD version modified to include file size prediction! kwag Video Encoding and Conversion 0 10-09-2002 09:51 AM

Thread Tools



 
All times are GMT -5. The time now is 04:04 AM  —  vBulletin © Jelsoft Enterprises Ltd