Quantcast Avisynth: Script for High Quality VCDs? - digitalFAQ.com Forums [Archives]
  #1  
12-24-2008, 04:51 AM
shanestar07 shanestar07 is offline
Free Member
 
Join Date: Jan 2007
Location: Birmingham (UK)
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to shanestar07 Send a message via Yahoo to shanestar07
hey phil,

I was just wondering what script you use for creating High quailty KvCDs?
could you maybe post the full script here and whered u get the DDLs?

at the moment im only usin the very basic scripts and it would be nice to go into better ones
__________________
The only evil is Ignorance
The only power is Knowledge
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-24-2008, 10:09 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
My script did not change since a long time:

Code:
DGDecode_Mpeg2Source("PATH\NAME.d2v",cpu=4,idct=7)
ColorMatrix(d2v="PATH\NAME.d2v")

#TDeint(tryweave=true)

LanczosResize(...)

LimitedSharpenFaster()
LRemoveDust_YV12(17,2)

#MergeLuma(Blur(0.2))
#MergeChroma(Blur(1))

#ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ).TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1)  ")

Addborders(...)
The TDeint line if when I use interlaced sources.
If I can't have a correct result with that, I first uncomment MergeLuma and MergeChroma. If thsi is nto enought, I uncomment the scripclip line (using then something similar to "motion adaptative script" presented in optimal scripts).

As usual all my plugins are here:
http://www.kvcd.net/downloads/Avisynth_All_Plugins.rar
Reply With Quote
  #3  
12-24-2008, 11:23 AM
shanestar07 shanestar07 is offline
Free Member
 
Join Date: Jan 2007
Location: Birmingham (UK)
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to shanestar07 Send a message via Yahoo to shanestar07
Hi phil

thanks for the reply mate

the LanczosResize(...) could you give me an example on how that line would work (eg. LanczosResize(702x576)

regards
__________________
The only evil is Ignorance
The only power is Knowledge
Reply With Quote
  #4  
12-24-2008, 07:29 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Use PARanoia to find it: http://www.kvcd.net/forum/viewforum.php?f=93
Reply With Quote
  #5  
12-25-2008, 08:26 AM
shanestar07 shanestar07 is offline
Free Member
 
Join Date: Jan 2007
Location: Birmingham (UK)
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to shanestar07 Send a message via Yahoo to shanestar07
Ah done that mate , thanks as always


Heres the script i done phil

dgdecode_mpeg2source("C:\Documents and Settings\shane\Desktop\tom\tom.d2v",cpu=4,idct=7)
ColorMatrix(d2v="C:\Documents and Settings\shane\Desktop\tom\tom.d2v")

TDeint(tryweave=true)

BicubicResize(480,432,1./3.,1./3.,0,0,720,576)

LimitedSharpenFaster()
LRemoveDust_YV12(17,2)

MergeLuma(Blur(0.2))
MergeChroma(Blur(1))

#ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ).TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1) ")

Addborders(0,72,0,72)


if i remove the scriptclip line - i get a error saying that "unfilter" isnt a command (and i did d/l that plugins folder and replaced it wid my old one) - any ideas?

merry christmas phil and a happy new yr
__________________
The only evil is Ignorance
The only power is Knowledge
Reply With Quote
  #6  
12-25-2008, 04:43 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
What version of avisynth are you using ?
I used to have a problem due to number of files in the plugin folders. That may explain why unfilter is not found.
You shoudl upgrade avisynth to 2.57 at least, or try to remove some files in the plugin directory.
Reply With Quote
  #7  
12-25-2008, 05:55 PM
shanestar07 shanestar07 is offline
Free Member
 
Join Date: Jan 2007
Location: Birmingham (UK)
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to shanestar07 Send a message via Yahoo to shanestar07
Hi phil,

Done that - its worked just updated to 2.5.8 and i didnt have to delete any plugins - the only problem im having now is - i keep gettin errors in TMPGenc saying "Illegal floating decimal point calculation order" during converting - usually the same patten between 22-24%...

and i encoded 10 plus perfect kvcds today alone and now im suddenly getting them :banghead:

i thought maybe its the vob files are broken/damaged so i re ripped them and still the same!

i managed to dig this particular page up: http://www.kvcd.net/forum/viewtopic.php?t=13227
but i thought that "DirectShow" shouldnt be checked, infact only avisynth plugin to my knowledge, but anyhow ,tryed it and nothing....

any suggestions?
__________________
The only evil is Ignorance
The only power is Knowledge
Reply With Quote
  #8  
12-25-2008, 06:08 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Unfortunately there is no way to eradicate this issue. It may by avoided changing a little the CQ value.

Did you ever try to encode in MPEG2 (doing KSVCD) ? If yes, then just forget VCD and encode using HCenc instead of tmpgenc.
Reply With Quote
  #9  
12-25-2008, 06:17 PM
shanestar07 shanestar07 is offline
Free Member
 
Join Date: Jan 2007
Location: Birmingham (UK)
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to shanestar07 Send a message via Yahoo to shanestar07
i see , to be honest ive never tried that or KDVD to that point - is it the same procedures as kvcd? but MPEG2? - i have got HCenc but never really used it - i will do some research on that tho


update on that error msg - since my last post i simply reloaded the encoder and raised the CQ value to 100 (as im only doing 25 min cartoons) - in 480x576 - even then they only come out as 350mb - which the quality is outstanding.

but now its reached 50% so good so far,
__________________
The only evil is Ignorance
The only power is Knowledge
Reply With Quote
  #10  
12-25-2008, 07:25 PM
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 shanestar07
i see , to be honest ive never tried that or KDVD to that point - is it the same procedures as kvcd? but MPEG2? - i have got HCenc but never really used it - i will do some research on that tho
I wrote KSVCD, not KDVD. The target is still a CD, but encoded in MPEG2 and muxed as SVCD. Try it and see if your standalone can play it.

Not need to go to 100, 90 is the max visual quality. Above it's just more file size.
Reply With Quote
  #11  
08-15-2009, 10:41 PM
tengo6dedos tengo6dedos is offline
Free Member
 
Join Date: Mar 2008
Location: Tierra del Fuego, Chile
Posts: 121
Thanks: 0
Thanked 0 Times in 0 Posts
hello, is not necesary to add interlaced true when interlaced?
Code:
colormatrix(d2v="ruta\nombre.d2v",interlaced=true)
?



saluts
Reply With Quote
  #12  
08-16-2009, 12:20 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Not needed with d2v in my opinion, as the file contains the informations for each frame, either progressive or interlaced.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: Quality problems on a high motion film? adiinbar Avisynth Scripting 8 08-02-2004 02:05 PM
best quality codecs for Audio VCDs ? vdk_au Audio Conversion 1 03-11-2004 04:37 AM
Big quality improvements in VCDs when using KVCD? Cloud101 Video Encoding and Conversion 2 12-01-2003 01:54 PM
Avisynth: Is the blur luma/chroma in the MA script needed with high CQs? audi2honda Avisynth Scripting 1 08-27-2003 03:40 AM
Avisynth: Best quality script for 352x240 Bad quality movies!? gq Avisynth Scripting 4 05-29-2003 05:43 AM

Thread Tools



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