digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   Guide to convert DVD to KVCD (http://www.digitalfaq.com/archives/encode/2654-guide-convert-dvd.html)

kev23m 02-28-2004 05:33 PM

Filter
 
GripFit_YV12.dll

This is the filter i am missing , dead link. The one i have is gripfit_preview.dll

Till then let me chk on cq matic.

bigggt 02-28-2004 05:46 PM

Just did a search on google and found this,

http://wald.heim.at/redwood/511999/

ANd even if you can,t get it you can do this

Quote:

Mpeg2Source("Your_D2V_Source_Here")
#
undot()
Limiter()
asharp(1, 4)
GripCrop(Your_GripCrop_Parameters_Here)
GripSize(resizer="BicubicResize)

STMedianFilter(3, 3, 1, 1 )
MergeChroma(blur(1.5))
MergeLuma(blur(0.1))
#
#

## Linear Motion Adaptive Filtering ##
#
# ( Portions from AviSynth's manual )
# This will apply variable temporalsoften
# and variable blur.
# Both filters are active at all times, and work inversely proportional to the
# activity, measured from current frame to next frame.

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) ")

#
#
#

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

#
#
## Functions ###

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

#
####
and replace it with this using moviestacker

Quote:

Mpeg2Source("Your_D2V_Source_Here")
#
undot()
Limiter()
asharp(1, 4)
BicubicResize(512, 352, 1/3, 1/3, 11, 0, 698, 480)
STMedianFilter(3, 3, 1, 1 )
MergeChroma(blur(1.5))
MergeLuma(blur(0.1))
#
#

## Linear Motion Adaptive Filtering ##
#
# ( Portions from AviSynth's manual )
# This will apply variable temporalsoften
# and variable blur.
# Both filters are active at all times, and work inversely proportional to the
# activity, measured from current frame to next frame.

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(8, 64, 8, 64)
#LetterBox( Your_Values_Here ) # Depends on situation. Use MovieStacker!
Limiter()

#
#
## Functions ###

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

#
####
That is what moviestacker is usewd for until it is updated :D

kev23m 02-28-2004 05:49 PM

Link
 
Its got a link to avisynth site , same as you gave me b4 , checked that already.

And where can i get Cq Matiq.

Dialhot 02-28-2004 05:56 PM

Or you can use this mirror done by Incredible :

http://www.incredible.de.tf/Downloads/GripFit_YV12.rar

bigggt 02-28-2004 05:59 PM

The link i gave gives me the download of the .dll :wink:

near the bottom

kev23m 02-28-2004 06:01 PM

Thanks
 
Thanks , The link worked.
File name was grip.dll renamed it as it was in the script.

Allright i have everything now.
The script you guys gave me, all the filters and avisynth 2.53.

Now for prediction should i try with tok, cos don't know cq matic and can't locate anything on it.

Right now i need to do the file prediction, for that also i think i will have to edit the script right or cq matiq does it automatically.

bigggt 02-28-2004 06:04 PM

there is a whole scetion on it here

http://www.kvcd.net/forum/viewtopic.php?t=5145

I still have luck with TOK but most people use cq matic and you don't need to do anything with the script

kev23m 02-28-2004 06:13 PM

Check Pls
 
K before i go ahead here is the final script, let me know if any mistakes in here.

## DLL Section ##
#
LoadPlugin("C:\Filters25\MPEG2Dec3.dll")
LoadPlugin("C:\Filters25\GripFit_YV12.dll")
LoadPlugin("C:\Filters25\STMedianFilter.dll")
LoadPlugin("C:\Filters25\asharp.dll")
LoadPlugin("C:\Filters25\unfilter.dll")
LoadPlugin("C:\Filters25\undot.dll")
#
####
## Main section and static filters ###
#
Mpeg2Source("D:\Encoded\Namak Halal\nh.d2v")
#
undot()
Limiter()
asharp(1, 4)
BilinearResize(448, 446, 0, 1, 720, 478)
GripSize(resizer="BicubicResize")
STMedianFilter(3, 3, 1, 1 )
MergeChroma(blur(1.5))
MergeLuma(blur(0.1))
#
#

## Linear Motion Adaptive Filtering ##
#
# ( Portions from AviSynth's manual )
# This will apply variable temporalsoften
# and variable blur.
# Both filters are active at all times, and work inversely proportional to the
# activity, measured from current frame to next frame.

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) ")

#
#
#

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

#
#
## Functions ###

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

#
####

Dialhot 02-28-2004 06:25 PM

Re: Check Pls
 
Quote:

Originally Posted by kev23m
LoadPlugin("C:\Filters25\MPEG2Dec3.dll")
LoadPlugin("C:\Filters25\GripFit_YV12.dll")
LoadPlugin("C:\Filters25\STMedianFilter.dll")
LoadPlugin("C:\Filters25\asharp.dll")
LoadPlugin("C:\Filters25\unfilter.dll")
LoadPlugin("C:\Filters25\undot.dll")

Put all the plugins in the "plugins" directory of avisynth 2.5 and remove all these lines.

Quote:

BilinearResize(448, 446, 0, 1, 720, 478)
GripSize(resizer="BicubicResize")
GripBorders()
It seems that you wan to use gripfit ? So don't replace the gripcrop line that was just above by your bilinear line ! It's a nonsense. You have to choose either Gripcrop/Gripsize/GripBorders or Bilinear/Addborders.
But you can't mix them all.

kev23m 02-28-2004 06:41 PM

Pls
 
Ok here is the edited script

Again getting resolution error like b4.

Dialhot 02-28-2004 06:56 PM

Re: Pls
 
Quote:

Originally Posted by kev23m
Ok here is the edited script

Again getting resolution error like b4.

You removed the script before I comment it ! But I had the time to see it. Your problem is in the gripcrop line.

The correct syntax for gricrop in your case is just :
Code:

GripCrop(WIDTH,HEIGHT)
Where width and height are the dimensions of your TARGET (not the source).

Note: if you use Gripfit you don't need to use Moviestacker at all ! Gripfit compute all the parameters itself in the gripcrop line.

kev23m 02-28-2004 06:59 PM

Hi
 
I had removed it cos i tried to feed it to tok and mulitple windows of tmpg started opening and hanging.

Here is the script now


## DLL Section ##
#
#
####
## Main section and static filters ###
#
Mpeg2Source("D:\Encoded\Namak Halal\nh.d2v")
#
undot()
Limiter()
asharp(1, 4)
GripCrop(352,480)
MergeChroma(blur(1.58))
UnFilter(25, 25)
STMedianFilter(10, 50, 8, 10, 10, 50)
MergeLuma(blur(0.2))
#
#

## Linear Motion Adaptive Filtering ##
#
# ( Portions from AviSynth's manual )
# This will apply variable temporalsoften
# and variable blur.
# Both filters are active at all times, and work inversely proportional to the
# activity, measured from current frame to next frame.

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) ")

#
#
#


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

#
#
## Functions ###

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

#
####

Getting an error of vsub23.dll missing in tmpgenc folder.
When ifeed to Tmpg again it sets resolution to 7**x56.
Can you contact me on Im , msn oe yahoo, its 6 am here in India and i am struggling with the script since 24 hours.
Sorry for the trouble,but just totally new to this.

Dialhot 02-28-2004 07:20 PM

Re: Hi
 
Quote:

Originally Posted by kev23m
I had removed it cos i tried to feed it to tok and mulitple windows of tmpg started opening and hanging.

Don't use Tok untill the script does not work correctly in media player.
Quote:

UnFilter(25, 25)
STMedianFilter(10, 50, 8, 10, 10, 50)
:?: :?:
Why did you modified the MA script ?
You add filters that #1 are useless, #2 are harmfull for the quality, #3 don't work with avs2.5 :!:

Quote:

Getting an error of vsub23.dll missing in tmpgenc folder.
???
This dll is for subtitles and I don't see any line concerning subtitles in your script.

Quote:

When ifeed to Tmpg again it sets resolution to 7**x56.
Can you contact me on Im , msn oe yahoo, its 6 am here in India and i am struggling with the script since 24 hours.
I can't and I won't ! Do you imagine how many people are struggling ? I also have a life beside the forum. KVCD can wait, that's not a matter of life. Go to sleep a little and you will find the solution yourself tomorrow.

Quote:

Sorry for the trouble,but just totally new to this.
You see : you lived without KVCD till know, you can live one more day :-)

kev23m 02-28-2004 07:34 PM

Hi
 
Yep can certainly stay another day without kvcd.

Gonna just try and get the script done.

I removed the 2 filters u mentioned.

Tried playing in media player.

Plays error in line 8 no function named "mpeg2source".

Here is the script.

## DLL Section ##
#
#
####
## Main section and static filters ###
#

Mpeg2Source("D:\Encoded\Namak Halal\nh.d2v")

#
undot()
Limiter()
asharp(1, 4)
GripCrop(352,480)
MergeChroma(blur(1.58))
MergeLuma(blur(0.2))
#
#

## Linear Motion Adaptive Filtering ##
#
# ( Portions from AviSynth's manual )
# This will apply variable temporalsoften
# and variable blur.
# Both filters are active at all times, and work inversely proportional to the
# activity, measured from current frame to next frame.

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) ")

#
#
#


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

#
#
## Functions ###

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

#
####

kwag 02-28-2004 07:38 PM

@kev23m,

What version of DVD2AVI did you use :?:
Try 1.77.3 :idea:

-kwag

Dialhot 02-28-2004 07:41 PM

Re: Hi
 
Quote:

Originally Posted by kev23m
Plays error in line 8 no function named "mpeg2source".

Where did you moved the dll files ? I told you to put them in the plugin directory of avisynth 2.5. Can you give me the name of the directory where you put them ?

kev23m 02-28-2004 07:47 PM

Hi
 
Got the movie playing now, the dll file was for Avisynth 2.

Now the movie plays, but a error is coming ,There is no function called unfilter line2 plus keeps asking the subs dll even though they aint in the script.

Here is the script now.

## DLL Section ##
#
#
####
## Main section and static filters ###
#

Mpeg2Source("D:\Encoded\Namak Halal\nh.d2v")

#
undot()
Limiter()
asharp(1, 4)
GripCrop(352,480)
MergeChroma(blur(1.58))
MergeLuma(blur(0.2))
#
#

## Linear Motion Adaptive Filtering ##
#
# ( Portions from AviSynth's manual )
# This will apply variable temporalsoften
# and variable blur.
# Both filters are active at all times, and work inversely proportional to the
# activity, measured from current frame to next frame.

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) ")

#
#
#


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

#
#
## Functions ###

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

#
####

Dvd2avi i am using 1.76

Dialhot 02-28-2004 07:57 PM

Re: Hi
 
Quote:

Originally Posted by kev23m
no unfilter line2

You are missing the "unfilter.dll" plugin; DL it and put it into the plugin directory, with all others.

Quote:

plus the subs dll even though they aint in the script
The problem is that this DLL is for avs2.0 normally ! You shiuldn't need it !
Look at this thread :
http://www.kvcd.net/forum/viewtopic....ghlight=vsub23

And if you still want the dll (I don't have it on my PC and averything works well), look at there :
http://www.kvcd.net/forum/viewtopic....ghlight=vsub23

Note: you are so tired that your questions are harder and harder to understand. So please, go to sleep a little :-)

kev23m 02-28-2004 08:10 PM

Thanks
 
Thanks a lot ,

The script is working fine in the media player now, gonna try and use tok for now.
CQ Matiq, shall read on it and try for another time.

Once Again

Thank You.

kev23m 02-28-2004 08:20 PM

tok prob
 
The video plays properly in the PLayer but when i loaded the script in tok and the mp2 file .
Tmpg starts and gives an error

The resolution of the windows is illegal
The window size needs to be set between 8x8 and 4088x4088
The width and height of the video need to be muliple of 8.

The width and height in the script is 352,480.


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

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