digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   DVD2SVCD: Importing avisynth scripts to dvd2svcd (http://www.digitalfaq.com/archives/encode/3363-dvd2svcd-importing-avisynth.html)

powie 04-24-2003 02:35 PM

importing avisynth scripts to dvd2svcd
 
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()


cw_uk 04-24-2003 08:00 PM

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

powie 04-24-2003 08:54 PM

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


jorel 04-24-2003 11:50 PM

hi friends :wink:
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,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! :wink:

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

:wink:

powie 04-25-2003 10:45 AM

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

jorel 04-25-2003 11:23 AM

hi powie :wink:

"but for some reason couldnt get it to work."
what? 8O
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?
:wink:

cw_uk 04-25-2003 05:06 PM

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

jorel 04-25-2003 11:38 PM

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?
:wink:


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

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