digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   KVCD: Need help with avs script (http://www.digitalfaq.com/archives/encode/2832-kvcd-avs-script.html)

diablov90street 03-01-2003 04:28 PM

need help with avs script
 
Im a newb to all of this, but i followed the DivX to KVCD guide, the problem im having trouble is loading the avs script in tmpgenc.
I used this one:

LoadPlugin("C:\Avi Stuff\AviSynth2\plugins\MPEG2DEC.dll")
LoadPlugin("C:\Avi Stuff\AviSynth2\plugins\LegalClip.dll")
LoadPlugin("C:\Avi Stuff\AviSynth2\plugins\Sampler.dll")
LoadPlugin("C:\Avi Stuff\AviSynth2\plugins\DustV5.dll")
LoadPlugin("C:\Avi Stuff\AviSynth2\plugins\TemporalCleanerOld.dll")
LoadPlugin("C:\Avi Stuff\AviSynth2\plugins\GripFit_Preview.dll")
avisource("C:\Avi Stuff\Noname.avi")
#ConvertToYUY2()
LegalClip()
GripCrop(528, 480, overscan=2)
GripSize()
SpaceDust()
#TemporalCleaner()
LegalClip()
#Sampler(length=24)

When i try to load it into TMPGEnc it says:

Unrecognized exception!
(C:\Avi Stuff\Movie.avs, line 7)

If you know what im doing wrong please help me.

~~~~~~~~~~~
Diablov90Street

jorel 03-01-2003 04:42 PM

Re: need help with avs script
 
Quote:

Originally Posted by diablov90street
Im a newb to all of this, but i followed the DivX to KVCD guide, the problem im having trouble is loading the avs script in tmpgenc.
I used this one:

LoadPlugin("C:\Avi Stuff\AviSynth2\plugins\MPEG2DEC.dll")
LoadPlugin("C:\Avi Stuff\AviSynth2\plugins\LegalClip.dll")
LoadPlugin("C:\Avi Stuff\AviSynth2\plugins\Sampler.dll")
LoadPlugin("C:\Avi Stuff\AviSynth2\plugins\DustV5.dll")
LoadPlugin("C:\Avi Stuff\AviSynth2\plugins\TemporalCleanerOld.dll")
LoadPlugin("C:\Avi Stuff\AviSynth2\plugins\GripFit_Preview.dll")
avisource("C:\Avi Stuff\Noname.avi")
#ConvertToYUY2()
LegalClip()
GripCrop(528, 480, overscan=2)
GripSize()
SpaceDust()
#TemporalCleaner()
LegalClip()
#Sampler(length=24)

When i try to load it into TMPGEnc it says:

Unrecognized exception!
(C:\Avi Stuff\Movie.avs, line 7)

If you know what im doing wrong please help me.

~~~~~~~~~~~
Diablov90Street

hi diablov90street,
welcome in forum! :)

see if the source of your .avi is right:
it's in the "C:\Avi Stuff" and
labeled as "????.avs" ?

see the script:
avisource("C:\Avi Stuff\Noname.avi")

and TMPGEnc want to open:
C:\Avi Stuff\Movie.avs

:wink:

:idea:
correct the name of your .avs,
it will work!
:wink:

diablov90street 03-01-2003 04:56 PM

hey, this is what i did, i renamed the avs file from Movie.avs to Noname.avs, like my avi file(Noname.avi), but it still doenst work???

~~~~~~~~
Diablov90Street

CheronAph 03-02-2003 02:08 AM

It doesn´t matter how you name your .avs file, as long as the avisource points to the right file!
Example my .avs file is named KVCD.avs and it looks like this,
LoadPlugin("E:\KVCD Converting\Filters\Mpeg2dec.dll")
LoadPlugin("E:\KVCD Converting\Filters\GripFit_Preview.dll")
LoadPlugin("E:\KVCD Converting\Filters\LegalClip.dll")
LoadPlugin("E:\KVCD Converting\Filters\Sampler.dll")
LoadPlugin("E:\KVCD Converting\Filters\convolution3d")
LoadPlugin("E:\KVCD Converting\Filters\DustV5.dll")
LoadPlugin("E:\KVCD Converting\Filters\TemporalCleaner.dll")
LoadPlugin("E:\KVCD Converting\Filters\DctFilter_YUY2.dll")

avisource("E:\-=[ CACHE ]=-\Reign_of_Fire_(2002).XviD.DMT.ShareReactor.avi")
ConvertToYUY2()
LegalClip()

GripCrop(width=704, height=576, overscan=2)
GripSize(resizer="lanczosresize")

mergechroma(blur(1.58))
mergeluma(blur(0.2))
SpaceDust()
TemporalCleaner()
Convolution3d(preset="movieHQ")
DctFilter(1,1,1,1,1,1,0.5,0)

GripBorders()
LegalClip()
#Sampler(length=24)

jorel 03-02-2003 02:26 AM

@ CheronAph and diablov90street ,

CheronAph wrote:
"It doesn´t matter how you name your .avs file, as long as the avisource points to the right file!"

yes, of course...

but i was wrote:
"see if the source of your .avi is right:
it's in the "C:\Avi Stuff" and
labeled as "????.avs" ? "

read again my first post here! :roll:
:wink:

thanks.

CheronAph 03-02-2003 02:47 AM

Oh, sorry :oops:

jorel 03-02-2003 02:55 AM

Quote:

Originally Posted by CheronAph
Oh, sorry :oops:

no problems friend. :wink:

hey, your avatar remember me the film " it "of Stephen King.

so scare.....change to a blonde! :lol:

diablov90street 03-02-2003 10:37 AM

Hey, sorry about the misunderstanding, but i checked the source and it was right, i talked to black prince and asked him if it matters that the avi file that i had was captured from my camera. And he said that it does matter. When i load it up in Virtual Dub it says:

Warning: Type 1 DV file detected. Type 1 DV files have video and audio combined into one stream, and virtualdub currently cannot extract the audio. Only the video stream will be available.

Then i captured it as a Type-2 DV file, and it worked fine, only when i put it in the script and loaded the script in TMPGEnc, it gave me this:

LegalClip: Source must YUY2
(C:\Avi Stuff\Default.avs, line 9)

And i used this script:

LoadPlugin("C:\Avi Stuff\Filters\MPEG2DEC\MPEG2DEC.dll")
LoadPlugin("C:\Avi Stuff\Filters\LegalClip\LegalClip.dll")
LoadPlugin("C:\Avi Stuff\Filters\Sampler\Sampler.dll")
LoadPlugin("C:\Avi Stuff\Filters\DustV5\DustV5.dll")
LoadPlugin("C:\Avi Stuff\Filters\Temporal Cleaner\TemporalCleanerOld.dll")
LoadPlugin("C:\Avi Stuff\Filters\GripFit\GripFit_Preview.dll")
avisource("C:\pdwork\Default.avi")
#ConvertToYUY2()
LegalClip()
GripCrop(528, 480, overscan=2)
GripSize()
SpaceDust()
#TemporalCleaner()
LegalClip()
#Sampler(length=24)

~~~~~~~~~~~~~~
Diablov90Street

jorel 03-02-2003 10:52 AM

:wink:
one more "goal" for black prince!

diablov90street, as i see in your new script,with a help of black prince,
you change the source of your .avi :
was:
avisource("C:\Avi Stuff\Noname.avi")

and now is:
avisource("C:\pdwork\Default.avi")

......
it's all working now?

diablov90street 03-02-2003 04:18 PM

Nope, it just says:

LegalClip: Source must YUY2
(C:\Avi Stuff\Default.avs, line 9)

~~~~~~~~~
Diablov90Street

kwag 03-02-2003 04:21 PM

Change the line #ConvertToYUY2() to read:
ConvertToYUY2()

That is, remove the '#'

-kwag

diablov90street 03-02-2003 10:09 PM

ok, i removed #, from it and when i load it up it just gives me a green screen???

~~~~~~~~~~
Diablov90Street

kwag 03-02-2003 10:13 PM

Quote:

Originally Posted by diablov90street
ok, i removed #, from it and when i load it up it just gives me a green screen???

~~~~~~~~~~
Diablov90Street

Is the green screen in your standalone DVD player, or on your computer monitor?

diablov90street 03-02-2003 10:26 PM

It's on my computer screen and when i load it up in TMPGEnc.

~~~~~~~
Diablov90Street

kwag 03-02-2003 10:42 PM

The the problem is definitely a DV CODEC problem. Have you tried opening regular .d2vs and avi files :?:

jorel 03-02-2003 11:19 PM

Quote:

Originally Posted by kwag
The the problem is definitely a DV CODEC problem. Have you tried opening regular .d2vs and avi files :?:

"bingo" :wink:

diablov90street 03-06-2003 05:38 PM

Yeah, ive tried it and it works great, but do you know how to Convert DV to KVCD, possibly widescreen.

~~~~~~~
Diablov90Street

alfredini 03-06-2003 06:12 PM

Quote:

Originally Posted by diablov90street
ok, i removed #, from it and when i load it up it just gives me a green screen???
Quote:

Originally Posted by kwag
The the problem is definitely a DV CODEC problem. Have you tried opening regular .d2vs and avi files :?:


I have the same problem with the green screen. The movie (avi) works fine with all software players. But if i use avisynth u can only see a green screen. I have tried the script without any filters too. Noway. The only thing that works is: DirectShowSource("Source")


All times are GMT -5. The time now is 01:09 AM  —  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.