Quantcast KVCD Scripts Outputting at 820mb+? Too Big! - digitalFAQ.com Forums [Archives]
  #1  
11-21-2003, 03:46 PM
Stevis2002 Stevis2002 is offline
Free Member
 
Join Date: Nov 2003
Posts: 48
Thanks: 0
Thanked 0 Times in 0 Posts
Hi all, I have been coding my divx/avi files for ages using the razorblade guide, tok, avisynth 2.52 and the usual stuff which is needed, but with this 1 file/film it keeps getting errmmm.....too big for it's boots say? I set it all up so it will fit to an 800mb disc, but when i set tok off to work it's magic, it makes me a file which is 880mb.
So, ok, it wants to be bigger, so i set it to fit a 74 min disc. Now it finishes up 820mb.. Any ideas why? Here is the script i use below. I always use the same script, but i just do a bit of cutting 'n' pasting where needed. Thanks in advance all Steve

BTW....the only difference in this film to the others i have done is that it is 29.97 fps ntsc, as opposed to 23.97?


#================================================= =====#
# -= AviSynth script by MovieStacker v2.0.0 (beta3) =- #
#================================================= =====#


## DLL Section ##
#
LoadPlugin("C:\Filters\MPEG2Dec3.dll")
LoadPlugin("C:\Filters\GripFit_YV12.dll")
LoadPlugin("C:\Filters\STMedianFilter.dll")
LoadPlugin("C:\Filters\asharp.dll")
LoadPlugin("C:\Filters\undot.dll")
#
####

## Defined Variables and Constants ##
#
MaxTreshold = 1.50
scd_trigger = 30 # Scene change trigger value.
nf = 0 # Current frame.
#
####

## Main section and static filters ###
#
AviSource("C:\Documents and Settings\Mandie S\My Documents\Movies\zzzzzzzzz.avi")
#
undot()
Limiter()
asharp(2, 4)
GripCrop(352, 240, overscan=2, source_anamorphic=false)
GripSize(resizer="BicubicResize")
STMedianFilter(8, 32, 0, 0 )
MergeChroma(blur(MaxTreshold))
MergeLuma(blur(0.2))
#
#

## Dynamic Linear Adaptive Filtering and Scene Change Detection ##
#
# ( Portions from AviSynth's manual ) - This will apply temporalsoften to
# very static scenes, and apply variable blur on moving scenes.
# We also assign a variable - and this is why a line break is inserted:

ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf > 2.5 ? asharp( -(fmin((nf/30), 1)), 0 ) : \
TemporalSoften(2,7,7,3,2) ")

#
# Scene change detection ( kwag ) - If a scene change is detected, we
# blur heavily. This affects the scene before and the one after the
# scene change, thus providing a softer transition for the encoder instead
# of a sharp "spike".
# If it's not a scene change, then we just blur dynamically, depending on
# the action.

ScriptClip("nf > scd_trigger ? asharp( -2,0) : asharp(0,0) ")

#
#
#

GripBorders()
#LetterBox( Your_Values_Here ) # Depends on situation. Use MovieStacker!
Limiter()

#
#
## Functions ###

function fmin(float f1, float f2) {
return (f1<f2) ? f1 : f2
}

#
####

I am a newbie at hard coding and it means hardly nothing to me. Please take this into consideration when replying.
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  
11-21-2003, 03:59 PM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
1. Change your script to the current Vers. of MA Script! To be found in the "Optimal Scrits" section.

2. What are your prediction settings in TOK?

3. I didn't understand: You want to encode a 29.976 still at 29.976 or at 23.976?

4. And if your source is 29.976 ... is it a blockbuster or what? What type of movie - a capture? A Dvix?


Inc.
Reply With Quote
  #3  
11-21-2003, 04:26 PM
Stevis2002 Stevis2002 is offline
Free Member
 
Join Date: Nov 2003
Posts: 48
Thanks: 0
Thanked 0 Times in 0 Posts
Prediction settings...I take ita you mean the disc size it is aimed at fiiting? I have tried at 1x80min, and then 1x74min when the 80 min was too big....Both were outputting at 820mb+. I am just about to change the script, i don't understand though why it has worked on all the films up to now.
As for the encoding, The original avi file (xvid) was 29.97 NTSC fps, and i was trying to code it as the same. I tried changing one from NTSC to PAL before and the sound went all slow......the women had mens voices etc

As well as this little problem.....how can i get rid of the borders on the left and right of the pic when the film is playing? Thanks again, Steve
Reply With Quote
  #4  
11-22-2003, 03:50 AM
Deva Deva is offline
Free Member
 
Join Date: Sep 2003
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
To remove the borders from the left and right of your pic all you need to do is change this line:

GripCrop(352, 240, overscan=2, source_anamorphic=false)
to this:
GripCrop(352, 240, source_anamorphic=false)

or use overscan=1 which will give u thinner borders.

Deva{code9-sharer}
Reply With Quote
  #5  
11-22-2003, 05:04 AM
Stevis2002 Stevis2002 is offline
Free Member
 
Join Date: Nov 2003
Posts: 48
Thanks: 0
Thanked 0 Times in 0 Posts
Ok, thanks for that
Reply With Quote
  #6  
11-22-2003, 05:33 AM
Abond Abond is offline
Free Member
 
Join Date: Mar 2003
Posts: 243
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Stevis,
You put 800 MB and the tok give you 880 MB
When it is 74 min (740 MB -> 60 MB less) tok give you 820 MB (60 MB less)
Then the easiest solution is if you put 720 MB as a target. I don't remember if tok have a custom disk size option
Reply With Quote
  #7  
11-22-2003, 10:40 AM
Stevis2002 Stevis2002 is offline
Free Member
 
Join Date: Nov 2003
Posts: 48
Thanks: 0
Thanked 0 Times in 0 Posts
No mate, It doesn't have a custom disc size...Just gives you those options...doen't give you any smaller options, but thanks anyway
Reply With Quote
  #8  
11-23-2003, 08:18 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
For sure Tok has a custom size setting ! Look at carrefully in the windows !
Reply With Quote
  #9  
11-23-2003, 09:12 AM
Stevis2002 Stevis2002 is offline
Free Member
 
Join Date: Nov 2003
Posts: 48
Thanks: 0
Thanked 0 Times in 0 Posts
Yeah, it does have a free spacing section underneath where it gives you the options for disc size, but it doesn't keep to that. I did a run of it, and put the max file size to 700mb, and it came out at 520mb! As you can imagine, the output file was terrible to say the least! Thanks for reply though. Do any of you guys know of an equivalent to tok and friends? I've trried acp, but that's just pathetic. The sound was terrible and i had 1 file of 780mb, and another of 6mb. Any help will be much appreciated.
Reply With Quote
  #10  
11-23-2003, 09:19 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Stevis2002
Yeah, it does have a free spacing section underneath where it gives you the options for disc size, but it doesn't keep to that. I did a run of it, and put the max file size to 700mb, and it came out at 520mb!
This is because Tok is very unefficient in file size predicting, not because it doesn't take in account the 700MB you indicated.

Put 250MB and you will obtain a 200 MB video, not 520. So it does take in account what you set.

There is no tool as efficient as CQMATIC (that fails also sometimes). But CQMAtic treats only video, you have to do all other parts (audio, muxing) by hand.
Reply With Quote
  #11  
11-23-2003, 04:30 PM
Stevis2002 Stevis2002 is offline
Free Member
 
Join Date: Nov 2003
Posts: 48
Thanks: 0
Thanked 0 Times in 0 Posts
Ok, cheers for that Phil. I got fed up with it all in the end, and i've just finished doing it using just tmpgeng.....923mb, but never mind.....Just cut it in 2, plays fine now, just crap sound....and pic aint that smart either
Ta for your help all.
Reply With Quote
  #12  
11-23-2003, 06:21 PM
Zyphon Zyphon is offline
Free Member
 
Join Date: Oct 2003
Location: London, England (UK)
Posts: 1,035
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Stevis2002 i had the exact same problem when i used Razorblades guide.

It is a nice graphical guide and is for DivX to KVCD conversion but unfortunately he has given the Optimal script for MA which is meant for a DVD source.

I had the same prob when i first started making KVCD and using ToK and my DivX movies ended way over 800Mb usually 820-850Mb.

Thanx to many of the guys here including Dialhot quickly pointed me to the error being me using the MA script in that guide instead of his DivX Optimal script.

You need to go >>>HERE<<< for Dialhot's excellent DivX Scripts.

I did PM Razorblade about this some time ago about his error and he replied that he would update his webpage as i said it does mislead and confuse newbies.

PS: When using Dialhot's Ver 3 script and ToK ive never had a problem with predictions they usually end up near 800Meg mark.
__________________
Regards.

Michael.
Reply With Quote
  #13  
11-24-2003, 07:14 AM
Stevis2002 Stevis2002 is offline
Free Member
 
Join Date: Nov 2003
Posts: 48
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks for that mate. I've copied the script, and i was just wondering.....It hasn't got the load plugin lines at the top...do u still need them?? Thanks...Also, where do i get those plugins from please? Thanks in advance, Steve
Reply With Quote
  #14  
11-24-2003, 07:44 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
If you have avs2.5, just put all your plugins in the "plugins" directory of avisynth and you won't need "loadplugin" lines anymore.
Reply With Quote
  #15  
11-24-2003, 09:20 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
You can find all the plugins at www.avisynth.org/warpenterprises . Some filters have been updated but the links are more than likely to be found at the forums at Doom9.org.
Reply With Quote
  #16  
11-24-2003, 02:12 PM
Stevis2002 Stevis2002 is offline
Free Member
 
Join Date: Nov 2003
Posts: 48
Thanks: 0
Thanked 0 Times in 0 Posts
Ok, thanks dialhot, thanks boulder....Just used the new script as instructed, and for some unknown reason, it took 5hrs ish (pretty normal), and it didn't output the mpg, well it did but then i dont know where it's gone. Did search of drive for it, but not there. Also, it stopped at the last bit,(where bbmpeg multiplexes it). Any ideas? Thanks again, Useless 1
Reply With Quote
  #17  
11-24-2003, 03:17 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
You don't even find the m1v or m2v file ?
Open tmpgenc, you will see the destination path still indicated in the bottom of the screen.
Reply With Quote
  #18  
11-25-2003, 06:45 AM
Stevis2002 Stevis2002 is offline
Free Member
 
Join Date: Nov 2003
Posts: 48
Thanks: 0
Thanked 0 Times in 0 Posts
Cheers for that Phil, Destination path was still there, but no file at the end of it! Think i should just stick to razors guide
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
KVCD: Scripts - How to do and when to insert? kathleenbilly Video Encoding and Conversion 4 10-15-2005 04:58 PM
KVCD: What are best Scripts? JoJoFunyan Video Encoding and Conversion 15 08-09-2004 05:28 AM
KVCD: Which Scripts should be used? lostboy Video Encoding and Conversion 2 12-07-2003 07:22 AM
KVCD: what do i do with the scripts? chimpus Video Encoding and Conversion 3 08-20-2003 08:39 AM
KVCD: problem with the borders that fitCd is outputting? edmund Video Encoding and Conversion 0 10-25-2002 06:04 PM

Thread Tools



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