Quantcast DVD2SVCD: Importing Avisynth Scripts to DVD2SVCD - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Video Encoding and Conversion

Reply
 
LinkBack Thread Tools
  #1  
04-24-2003, 02:35 PM
powie powie is offline
Free Member
 
Join Date: Feb 2003
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
i was wondering if someone could tell me how to import an avisynth scripts into dvd2svcd so it appears on the drop down menu in frameserve tab. i understand it envolves editing the dvd2svcd.ini

i tried doing this but kept coming up with errors in the script when trying to preview. If some kind sole would show me how to do this i would be most grateful.

this is the avisynth script im using

Code:
LoadPlugin("C:\encoding\MPEG2Dec.dll")
LoadPlugin("C:\encoding\Convolution3D.dll")
LoadPlugin("C:\encoding\GripFit_preview.dll")
LoadPlugin("C:\encoding\LegalClip.dll")
LoadPlugin("C:\encoding\STMedianFilter.dll")
LoadPlugin("C:\encoding\UnFilter.dll")

Mpeg2Source("C:\Documents and Settings\powie\My Documents\lotr fotr\lotr.d2v")
LegalClip()
GripCrop(480, 576)
GripSize(resizer="BicubicResize")
STMedianFilter(10, 50, 0, 0, 10, 50)
unfilter(50,50)
TemporalSmoother(radius=1, strength=2)
mergechroma(blur(1.58)) 
mergeluma(blur(0.3)) 
Convolution3D(preset="movieLQ")
GripBorders()
LegalClip()
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  
04-24-2003, 08:00 PM
cw_uk cw_uk is offline
Free Member
 
Join Date: Apr 2003
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Code:
[AVISYNTH_kvcd latest]
0=LoadPlugin(!MPEG2Dec.dll)
1=LoadPlugin(!Convolution3D.dll)
2=LoadPlugin(!GripFit_preview.dll)
3=LoadPlugin(!LegalClip.dll)
4=LoadPlugin(!STMedianFilter.dll)
5=LoadPlugin(!UnFilter.dll)
6=GripCrop(480,576)
7=GripSize(resizer="BicubicResize")
8=STMedianFilter(10, 50, 0, 0, 10, 50)
9=unfilter(50,50)
10=TemporalSmoother(radius=1, strength=2)
11=mergechroma(blur(1.58))
12=mergeluma(blur(0.3))
13=Convolution3D(preset="movieLQ")
14=GripBorders()
15=LegalClip()
dont forget to load the dll files by clicking on the parameters button before trying to run it
Reply With Quote
  #3  
04-24-2003, 08:54 PM
powie powie is offline
Free Member
 
Join Date: Feb 2003
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
thanks a lot cw_uk (i know we worked through this in irc but it was you that sorted it)

the final script it produced after dvd2avi was ,after changing to 6=legalclip ()

Code:
LoadPlugin("C:\PROGRA~1\DVD2SVCD\MPEG2Dec\mpeg2dec.dll")
mpeg2source("C:\PROGRA~1\DVD2SVCD\Movie\DVD2AV~1.D2V")
LoadPlugin("C:\encoding\MPEG2Dec.dll")
LoadPlugin("C:\encoding\Convolution3D.dll")
LoadPlugin("C:\encoding\GripFit_preview.dll")
LoadPlugin("C:\encoding\LegalClip.dll")
LoadPlugin("C:\encoding\STMedianFilter.dll")
LoadPlugin("C:\encoding\UnFilter.dll")
Legalclip()
GripCrop(480,576)
GripSize(resizer="BicubicResize")
STMedianFilter(10, 50, 0, 0, 10, 50)
unfilter(50,50)
TemporalSmoother(radius=1, strength=2)
mergechroma(blur(1.58))
mergeluma(blur(0.3))
Convolution3D(preset="movieLQ")
 GripBorders()
 Legalclip()
running @ mo will post results ,and thanks again

btw heres the final dvd2svcdini
Code:
[AVISYNTH_kvcd latest]
0=LoadPlugin(!MPEG2Dec.dll)
1=LoadPlugin(!Convolution3D.dll)
2=LoadPlugin(!GripFit_preview.dll)
3=LoadPlugin(!LegalClip.dll)
4=LoadPlugin(!STMedianFilter.dll)
5=LoadPlugin(!UnFilter.dll)
6=Legalclip()
7=GripCrop(480,576)
8=GripSize(resizer="BicubicResize")
9=STMedianFilter(10, 50, 0, 0, 10, 50)
10=unfilter(50,50)
11=TemporalSmoother(radius=1, strength=2)
12=mergechroma(blur(1.58))
13=mergeluma(blur(0.3))
14=Convolution3D(preset="movieLQ")
15=GripBorders()
16=Legalclip()
Reply With Quote
  #4  
04-24-2003, 11:50 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
hi friends
i'm trying to help...see this script for dvd2svcd
from Kwag's recomendations like in the link:
http://www.kvcd.net/forum/viewtopic....45c1df402d0ead

result...

[AVISYNTH_STMedian from Kwag]
0=LoadPlugin(!MPEG2Dec2.dll)
1=LoadPlugin(!Legalclip.dll)
2=Legalclip()
3=BicubicResize(464,464, 0, 0.6, 0, 0, 720, 480)
4=LoadPlugin(!STMedianFilter.dll)
5=STMedianFilter(10, 50, 0, 0, 10, 50)
6=LoadPlugin(!Unfilter.dll)
7=Unfilter(^Horizontal,^Vertical)
8=temporalsmoother(1,2)
9=LoadPlugin(!MergeChroma.dll)
10=mergechroma(blur(1.5)
11=LoadPlugin(!MergeLuma.dll)
12=mergeluma(blur(0.3))
13=AddBorders(8,8,8,
14=Legalclip()
!MPEG2Dec2.dll=C:\...\MPEG2Dec\Mpeg2dec.dll
!Legalclip.dll=C:\...\Dlls\Legalclip.dll
!STMedianFilter.dll=C:\...\Dlls\STMedianFilter.dll
!Unfilter.dll=C:\...\Dlls\UnFilter.dll
^Horizontal=50
^Vertical=50
!MergeChroma.dll=C:\....\Dlls\MergeChroma.dll
!MergeLuma.dll=C:\...\Dlls\MergeLuma.dll

see details:
^Horizontal=50
^Vertical=50
....here you can adjust the values in the frameserver tab!

and: ...
!MergeChroma.dll=C:\...\Dlls\MergeChroma.dll
...
this lines is to call the filters!
if you don't do this,it don't work!

Reply With Quote
  #5  
04-25-2003, 10:45 AM
powie powie is offline
Free Member
 
Join Date: Feb 2003
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
thanks for the reply jorel.

i tried your script, input all the paths etc.., but for some reason couldnt get it to work.

ive finally settled on an answer

Code:
0=LoadPlugin(!MPEG2Dec.dll)
1=LoadPlugin(!GripFit_preview.dll)
2=LoadPlugin(!LegalClip.dll)
3=LoadPlugin(!STMedianFilter.dll)
4=LoadPlugin(!UnFilter.dll)
5=Legalclip()
6=GripCrop(^Horizontal,^Vertical)
7=GripSize(resizer="BicubicResize")
8=STMedianFilter(10, 50, 0, 0, 10, 50)
9=unfilter(50,50)
10=TemporalSmoother(radius=1, strength=2)
11=mergechroma(blur(1.58))
12=mergeluma(blur(0.3))
13=GripBorders()
14=Legalclip()
!MPEG2Dec.dll=C:\encoding\MPEG2Dec.dll
!GripFit_preview.dll=C:\encoding\GripFit_preview.dll
!LegalClip.dll=C:\encoding\LegalClip.dll
!STMedianFilter.dll=C:\encoding\STMedianFilter.dll
!UnFilter.dll=C:\encoding\UnFilter.dll
^Horizontal=480
^Vertical=576
i used your ^horizontal ^vertical part so i can change resolutions as ^targetheight seems to give errors.

thanks for all your help, ive managed to get a good output on a few tests ive tried , and its always nice to just input a dvd and get a result in the morning
Reply With Quote
  #6  
04-25-2003, 11:23 AM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
hi powie

"but for some reason couldnt get it to work."
what?
i use this script for times.
do you change the paths to your folders filters and progs?

ps:
you can change the name to "what you want"....like this:
...
7=Unfilter(^cat,^dog)
...
^cat=50
^dog=50

and change the values in:
"Avisynth command" in "frameserver" tab.
use the arrows(with scroll)..!


you can put adjusts to everything in the script!

5=STMedianFilter(^a, ^b, ^c, ^d, ^e,^f)
^a= <---enter the values in the frameserver tab
^b= <---...
^c= ...
^d=
^e=
^f=

got?
Reply With Quote
  #7  
04-25-2003, 05:06 PM
cw_uk cw_uk is offline
Free Member
 
Join Date: Apr 2003
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
theres a reason you didnt need this..
Code:
!MPEG2Dec2.dll=C:\...\MPEG2Dec\Mpeg2dec.dll 
!Legalclip.dll=C:\...\Dlls\Legalclip.dll 
!STMedianFilter.dll=C:\...\Dlls\STMedianFilter.dll 
!Unfilter.dll=C:\...\Dlls\UnFilter.dll 
^Horizontal=50 
^Vertical=50 
!MergeChroma.dll=C:\....\Dlls\MergeChroma.dll 
!MergeLuma.dll=C:\...\Dlls\MergeLuma.dll
dvd2svcd sets those once u press the parameters buttons and saves it in the dvd2svcd.ini
Reply With Quote
  #8  
04-25-2003, 11:38 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by cw_uk
theres a reason you didnt need this..
Code:
!MPEG2Dec2.dll=C:\...\MPEG2Dec\Mpeg2dec.dll 
!Legalclip.dll=C:\...\Dlls\Legalclip.dll 
!STMedianFilter.dll=C:\...\Dlls\STMedianFilter.dll 
!Unfilter.dll=C:\...\Dlls\UnFilter.dll 
^Horizontal=50 
^Vertical=50 
!MergeChroma.dll=C:\....\Dlls\MergeChroma.dll 
!MergeLuma.dll=C:\...\Dlls\MergeLuma.dll
dvd2svcd sets those once u press the parameters buttons and saves it in the dvd2svcd.ini
"theres a reason you didnt need this.."
why don't?

the "..." in the script is for ilustration cos i don't know
in what folder or where are your program location...
then you can change the addresses ...see?

i think that you don't understand me:

when you use like this in the script:

you can change the name to "what you want"....like this:
...
7=Unfilter(^cat,^dog)
...
^cat=50
^dog=50

and change the values in:
"Avisynth command" in "frameserver" tab.
use the arrows(with scroll)..!

you can do it for all filters in the script,
change the VALUES and the ORDER of the filters TOO
in the frameserver tab!

right?
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
DVD2SVCD: Confirmation of scripts AdamJ Video Encoding and Conversion 1 10-09-2004 05:40 PM
DVD2SVCD: Latest optimal scripts for DVD2SVCD Dialhot Video Encoding and Conversion 0 07-10-2004 07:45 AM
Dvd2svcd: Do we still use dialhot's scripts for version 1.2.2 password Video Encoding and Conversion 2 06-03-2004 02:14 AM
¿ Se pueden meter scripts con el DVD2SVCD ? Max Power Convertir y Codificar Video (Español) 4 11-06-2003 05:13 PM
DVD2SVCD: New scripts for d2s ? jorel Video Encoding and Conversion 9 08-16-2003 02:53 PM




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